diff options
author | Werner Koch <wk@gnupg.org> | 2020-12-09 10:59:11 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2020-12-09 10:59:51 +0100 |
commit | c7c88648b71b8ce3a5507946afb91761fc6d931e (patch) | |
tree | 566a2ac095cba8fad2379bee7b2b6ec5e4768989 /tools/gpg-wks-client.c | |
parent | scd:ccid:spr532: Extend abort_cmd for initialization time. (diff) | |
download | gnupg2-c7c88648b71b8ce3a5507946afb91761fc6d931e.tar.xz gnupg2-c7c88648b71b8ce3a5507946afb91761fc6d931e.zip |
wks-client: Improve an error message
* tools/gpg-wks-client.c (read_confirmation_request): Print trust
letter.
--
The trust letter gives a hint on what's wrong with the key.
Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to '')
-rw-r--r-- | tools/gpg-wks-client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gpg-wks-client.c b/tools/gpg-wks-client.c index 9997e853f..b56343232 100644 --- a/tools/gpg-wks-client.c +++ b/tools/gpg-wks-client.c @@ -1561,7 +1561,7 @@ read_confirmation_request (estream_t msg) { err = gpg_error (GPG_ERR_WRONG_SECKEY); log_error ("key used to decrypt the confirmation request" - " was not generated by us\n"); + " was not generated by us (otrust=%c)\n", decinfo.otrust); } else err = process_confirmation_request (plaintext, decinfo.mainfpr); |