From c8c88bdd98e56d08b1965c620173731d3c6ffd03 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 19 Mar 2015 20:38:25 +0100 Subject: 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 (backported from 2.1 commit e7ddaad0fd2c8774a1d3367adfaa68014eaf65de) --- doc/DETAILS | 6 +++--- g10/mainproc.c | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/DETAILS b/doc/DETAILS index 927cc6160..65974dd86 100644 --- a/doc/DETAILS +++ b/doc/DETAILS @@ -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 The signature with the keyid is good. For each signature only diff --git a/g10/mainproc.c b/g10/mainproc.c index 6288030b0..be4c73dac 100644 --- a/g10/mainproc.c +++ b/g10/mainproc.c @@ -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 ); -- cgit v1.2.3