From e7ddaad0fd2c8774a1d3367adfaa68014eaf65de Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 19 Mar 2015 20:38:25 +0100 Subject: [PATCH] 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 --- doc/DETAILS | 6 +++--- g10/mainproc.c | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/DETAILS b/doc/DETAILS index 4b8249706..61ad7d801 100644 --- a/doc/DETAILS +++ b/doc/DETAILS @@ -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 The signature with the keyid is good. For each signature only one diff --git a/g10/mainproc.c b/g10/mainproc.c index 0ae916852..0f6ba2b32 100644 --- a/g10/mainproc.c +++ b/g10/mainproc.c @@ -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) {