1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-21 14:47:03 +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>
(backported from 2.1 commit e7ddaad0fd2c8774a1d3367adfaa68014eaf65de)
This commit is contained in:
Werner Koch 2015-03-19 20:38:25 +01:00 committed by NIIBE Yutaka
parent 05f32c702e
commit c8c88bdd98
2 changed files with 5 additions and 3 deletions

View File

@ -219,9 +219,9 @@ more arguments in future versions.
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

View File

@ -1604,6 +1604,8 @@ check_sig_and_print( CTX c, KBNODE node )
}
write_status_text (STATUS_NEWSIG, NULL);
/* (Indendation below not yet changed to GNU style.) */
astr = openpgp_pk_algo_name ( sig->pubkey_algo );