gpg: Emit status line NEWSIG before signature verification starts.

* g10/mainproc.c (check_sig_and_print): Emit STATUS_NEWSIG.
--

gpgsm does this for a long time but somehow it never made it into gpg.

Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
Werner Koch 2015-03-19 20:38:25 +01:00
parent cf83ff01fc
commit e7ddaad0fd
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B
2 changed files with 5 additions and 3 deletions

View File

@ -338,9 +338,9 @@ pkd:0:1024:B665B1435F4C2 .... FF26ABB:
** General status codes
*** NEWSIG
May be issued right before a signature verification starts. This
is useful to define a context for parsing ERROR status messages.
No arguments are currently defined.
Is issued right before a signature verification starts. This is
useful to define a context for parsing ERROR status messages. No
arguments are currently defined.
*** GOODSIG <long_keyid_or_fpr> <username>
The signature with the keyid is good. For each signature only one

View File

@ -1670,6 +1670,8 @@ check_sig_and_print (CTX c, kbnode_t node)
}
}
write_status_text (STATUS_NEWSIG, NULL);
astr = openpgp_pk_algo_name ( sig->pubkey_algo );
if (keystrlen () > 8)
{