aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gpg-wks-client.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2020-12-09 09:59:11 +0000
committerWerner Koch <[email protected]>2020-12-09 09:59:51 +0000
commitc7c88648b71b8ce3a5507946afb91761fc6d931e (patch)
tree566a2ac095cba8fad2379bee7b2b6ec5e4768989 /tools/gpg-wks-client.c
parentscd:ccid:spr532: Extend abort_cmd for initialization time. (diff)
downloadgnupg-c7c88648b71b8ce3a5507946afb91761fc6d931e.tar.gz
gnupg-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 <[email protected]>
Diffstat (limited to 'tools/gpg-wks-client.c')
-rw-r--r--tools/gpg-wks-client.c2
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);