Fixed OPEN and SAVE to use the "key_file" if specified. If set and an
commitfad226bde47503b540e4b172fd58b12d234a1e11
authorBen Kibbey <bjk@luxsci.net>
Tue, 18 Nov 2008 02:56:58 +0000 (17 21:56 -0500)
committerBen Kibbey <bjk@luxsci.net>
Tue, 18 Nov 2008 02:56:58 +0000 (17 21:56 -0500)
tree052257abbf1715c441883c8372d04cf048d591cf
parentbe72cbe2d87a1213c6c539ac029a47817aff2608
Fixed OPEN and SAVE to use the "key_file" if specified. If set and an
error occurred while trying to read the file, GPG_ERR_UNUSABLE_SECKEY
will be returned to the client. "key_file" takes precedence over any
pinentry use but specifying a key as a command argument (e.g., SAVE
<key>) will work.
src/commands.c
src/common.h
src/pwmd.c