1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

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>
This commit is contained in:
Werner Koch 2020-12-09 10:59:11 +01:00
parent a9aa30ed2c
commit c7c88648b7
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -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);