aboutsummaryrefslogtreecommitdiffstats
path: root/g10/keydb.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2023-03-01 15:49:40 +0000
committerWerner Koch <[email protected]>2023-03-01 15:49:40 +0000
commit1aaadede76ccd17a6636b26ec75954d6b709f3fa (patch)
tree09e2ff22ea78c942348e674f5f031b39579c9206 /g10/keydb.h
parentgpgconf: Print some standard envvars with -X (diff)
downloadgnupg-1aaadede76ccd17a6636b26ec75954d6b709f3fa.tar.gz
gnupg-1aaadede76ccd17a6636b26ec75954d6b709f3fa.zip
agent: Show "no secret key" instead of "card removed".
* agent/findkey.c (agent_key_from_file): Check the error of read_key_file again. * agent/pkdecrypt.c (agent_pkdecrypt): Restore error if no card was found. Also remove useless condition. -- The first patch fixes a likely merge error. The second is about the actual return code: If we have no smardcard but simply try to decrypt with the current smartcard we should return the originla error code. GnuPG-bug-id: 5170 Fixes-commit: eda3c688fc2e85c7cd63029cb9caf06552d203b4
Diffstat (limited to 'g10/keydb.h')
0 files changed, 0 insertions, 0 deletions