mirror of
git://git.gnupg.org/gnupg.git
synced 2024-10-31 20:08:43 +01:00
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:
parent
cf83ff01fc
commit
e7ddaad0fd
@ -338,9 +338,9 @@ pkd:0:1024:B665B1435F4C2 .... FF26ABB:
|
|||||||
|
|
||||||
** General status codes
|
** General status codes
|
||||||
*** NEWSIG
|
*** NEWSIG
|
||||||
May be issued right before a signature verification starts. This
|
Is issued right before a signature verification starts. This is
|
||||||
is useful to define a context for parsing ERROR status messages.
|
useful to define a context for parsing ERROR status messages. No
|
||||||
No arguments are currently defined.
|
arguments are currently defined.
|
||||||
|
|
||||||
*** GOODSIG <long_keyid_or_fpr> <username>
|
*** GOODSIG <long_keyid_or_fpr> <username>
|
||||||
The signature with the keyid is good. For each signature only one
|
The signature with the keyid is good. For each signature only one
|
||||||
|
@ -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 );
|
astr = openpgp_pk_algo_name ( sig->pubkey_algo );
|
||||||
if (keystrlen () > 8)
|
if (keystrlen () > 8)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user