diff options
author | Werner Koch <[email protected]> | 2015-03-19 19:38:25 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2015-04-16 00:03:31 +0000 |
commit | c8c88bdd98e56d08b1965c620173731d3c6ffd03 (patch) | |
tree | e2029b37060c3fb0727145bbbd03e8e1261c62e8 | |
parent | scd: better handling of extended APDU. (diff) | |
download | gnupg-c8c88bdd98e56d08b1965c620173731d3c6ffd03.tar.gz gnupg-c8c88bdd98e56d08b1965c620173731d3c6ffd03.zip |
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 <[email protected]>
(backported from 2.1 commit e7ddaad0fd2c8774a1d3367adfaa68014eaf65de)
-rw-r--r-- | doc/DETAILS | 6 | ||||
-rw-r--r-- | 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 <long_keyid_or_fpr> <username> 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 ); |