1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-21 14:47:03 +01:00
Werner Koch 37e3c89725
gpg: Fix printing of pubkey algo in --verbose signature verify.
* g10/sig-check.c (check_signature2): Replace arg PK by R_PK and
change the semantics.  Also clear the other R_ args on function entry,
use gpg_error() and change retturn type to gpg_error_t.
* g10/mainproc.c (do_check_sig): Add arg R_PK.
(list_node): Pass NULL for new arg.
(check_sig_and_print): Rework to make use of the returned PK.
--

The output

gpg: textmode signature, digest algorithm SHA256, key algorithm rsa2048

showed the pubkey algo of the primary key which was surprising.
Changed to print the algo of the subkey used for verification.

Signed-off-by: Werner Koch <wk@gnupg.org>
2016-09-01 16:39:41 +02:00
..
2016-07-13 13:31:12 +02:00
2016-06-30 18:50:16 +02:00
2016-02-14 14:46:30 +01:00
2014-10-31 14:21:34 +01:00
2007-07-04 19:49:40 +00:00
2016-08-03 16:55:33 +02:00
2014-11-13 12:01:42 +01:00
2015-02-04 09:15:34 +01:00
2015-02-04 09:15:34 +01:00
2016-08-03 16:54:01 +02:00
2016-08-25 09:37:56 +02:00
2016-08-18 16:15:49 +02:00
2016-06-30 18:50:16 +02:00
2016-08-03 16:55:33 +02:00
2016-08-25 09:37:56 +02:00
2016-07-01 14:16:18 +02:00
2016-08-25 09:37:56 +02:00
2016-01-22 10:54:10 +01:00
2016-09-01 13:29:56 +02:00
2016-07-13 13:31:12 +02:00
2016-08-11 21:32:55 +02:00
2016-06-30 11:45:13 +02:00
2008-12-12 08:54:50 +00:00
2016-08-18 10:08:34 +02:00
2016-06-28 18:21:50 +02:00
2016-06-28 18:21:50 +02:00
2016-03-08 14:08:49 +01:00
2016-07-01 09:47:48 +02:00
2016-08-10 16:50:29 +02:00
2016-08-25 09:37:56 +02:00
2016-05-03 11:26:06 +02:00
2016-06-30 18:50:16 +02:00
2016-09-01 14:31:55 +02:00
2014-01-29 17:45:05 +01:00