mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +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:
parent
a9aa30ed2c
commit
c7c88648b7
@ -1561,7 +1561,7 @@ read_confirmation_request (estream_t msg)
|
|||||||
{
|
{
|
||||||
err = gpg_error (GPG_ERR_WRONG_SECKEY);
|
err = gpg_error (GPG_ERR_WRONG_SECKEY);
|
||||||
log_error ("key used to decrypt the confirmation request"
|
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
|
else
|
||||||
err = process_confirmation_request (plaintext, decinfo.mainfpr);
|
err = process_confirmation_request (plaintext, decinfo.mainfpr);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user