aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/dirmngr.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2022-04-25 09:18:40 +0000
committerWerner Koch <[email protected]>2022-04-25 09:24:14 +0000
commit0f8623d518d49541c1d54676d400916546ff38f4 (patch)
treebd53bda6b6daf6e7b9239e7babf07a8f8c5e79e7 /dirmngr/dirmngr.c
parentcommon:iobuf: Exclude cases with IOBUF_INPUT_TEMP/IOBUF_OUTPUT_TEMP. (diff)
downloadgnupg-0f8623d518d49541c1d54676d400916546ff38f4.tar.gz
gnupg-0f8623d518d49541c1d54676d400916546ff38f4.zip
gpg: Emit an ERROR status as hint for a bad passphrase.
* g10/mainproc.c (proc_symkey_enc): Issue new error code. (proc_encrypted): Ditto. -- This allows GPGME to return a better error message than "bad session key" to the user. Technically we could get run into these errors also in other cases but this more unlikley. For the command line use we don't do anything to not change the expected output of the command line interface. GnuPG-bug-id: 5943
Diffstat (limited to 'dirmngr/dirmngr.c')
0 files changed, 0 insertions, 0 deletions