1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-23 01:22:45 +02:00
gnupg/g10
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
..
armor.c gpg: Fix possible out-of-bounds read in is_armored. 2016-07-05 18:49:06 +02:00
build-packet.c gpg: New option --mimemode. 2016-07-13 13:31:12 +02:00
call-agent.c gpg: Remove C-99ism, re-indent, and simplify one function. 2016-06-11 20:42:28 +02:00
call-agent.h g10: Add openpgp_protected flag to agent secret key export functions 2016-06-11 11:14:00 +02:00
call-dirmngr.c common: Remove homedir arg from start_new_{dirmngr,gpg_agent}. 2016-06-07 13:09:00 +02:00
call-dirmngr.h gpg: Add experimental AKL method "wkd" and option --with-wkd-hash. 2016-04-27 08:34:29 +02:00
card-util.c g10: Fix regression of card-edit/fetch. 2016-06-23 12:12:43 +09:00
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
cipher.c gpg: Remove all assert.h and s/assert/log_assert/. 2016-04-29 11:05:24 +02:00
compress-bz2.c common: Fix iobuf API of filter function for alignment. 2016-01-12 10:32:20 +09:00
compress.c g10: Fix memory leak. 2016-06-30 18:50:16 +02:00
cpr.c gpg: Print a new FAILURE status after most commands. 2015-08-25 15:26:33 +02:00
dearmor.c gpg: Remove all assert.h and s/assert/log_assert/. 2016-04-29 11:05:24 +02:00
decrypt-data.c gpg: Remove all assert.h and s/assert/log_assert/. 2016-04-29 11:05:24 +02:00
decrypt.c gpg: Remove all assert.h and s/assert/log_assert/. 2016-04-29 11:05:24 +02:00
dek.h gpg: Improve API documentation. 2016-02-14 14:46:30 +01:00
delkey.c gpg: Allow unattended deletion of secret keys. 2016-05-10 11:01:42 +02:00
dirmngr-conf.skel dirmngr: Change the Onion keyserver in the conf template. 2015-12-23 20:06:49 +01:00
distsigkey.gpg Add more signing keys. 2014-10-31 14:21:34 +01:00
ecdh.c gpg: Remove all assert.h and s/assert/log_assert/. 2016-04-29 11:05:24 +02:00
encrypt.c gpg: Cleanup of dek_to_passphrase function (part 2). 2016-08-08 20:32:08 +02:00
exec.c gpg: Replace remaining old error code macros by GPG_ERR_. 2015-01-22 12:06:11 +01:00
exec.h Changed to GPLv3. 2007-07-04 19:49:40 +00:00
export.c More cleanup of "allow to". 2016-08-03 16:55:33 +02:00
filter.h gpg: Remove PGP-2 related cruft. 2014-11-13 12:01:42 +01:00
free-packet.c gpg: Allow to cache the mbox in a user id struct. 2016-07-01 16:27:43 +02:00
getkey.c gpg: Make decryption of -R work w/o --try-secret-key or --default-key. 2016-08-29 07:56:03 +02:00
gpg-w32info.rc w32: Add manifest to gpg. 2015-02-04 09:15:34 +01:00
gpg.c g10: Update a key's TOFU policy in a transaction. 2016-08-31 11:47:50 +02:00
gpg.h gpg: Move state local to tofu.c to a private structure. 2016-08-31 10:47:05 +02:00
gpg.w32-manifest.in w32: Add manifest to gpg. 2015-02-04 09:15:34 +01:00
gpgcompose.c Fix spelling and grammar. 2016-08-03 16:54:01 +02:00
gpgsql.c gpg: Avoid name spaces clash with future sqlite versions (2). 2016-08-31 10:14:19 +02:00
gpgsql.h gpg: Avoid name spaces clash with future sqlite versions (2). 2016-08-31 10:14:19 +02:00
gpgv.c gpg: New option --with-tofu-info. 2016-08-25 09:37:56 +02:00
helptext.c Change all quotes in strings and comments to the new GNU standard. 2012-06-05 19:29:22 +02:00
import.c gpg: Add import filter "drop-sig". 2016-08-18 16:15:49 +02:00
kbnode.c g10: Fix build with disabled kbnode cache. 2016-07-01 12:50:29 +02:00
keydb.c g10: Fix keybox-related memory leaks. 2016-06-30 18:50:16 +02:00
keydb.h gpg: Cleanup of dek_to_passphrase function (part 2). 2016-08-08 20:32:08 +02:00
keyedit.c More cleanup of "allow to". 2016-08-03 16:55:33 +02:00
keygen.c gpg: Make sure a user ID packet has always a terminating Nul in memory. 2016-07-01 16:27:43 +02:00
keyid.c gpg: Fix regression in gpgv's printing of the keyid. 2016-08-31 08:48:28 +02:00
keylist.c gpg: New option --with-tofu-info. 2016-08-25 09:37:56 +02:00
keyring.c gpg,gpgsm: Block signals during keyring/keybox update. 2016-08-03 15:31:27 +02:00
keyring.h gpg: Change keydb_search to not return legacy keys. 2015-11-17 14:53:05 +01:00
keyserver-internal.h gpg: Add experimental AKL method "wkd" and option --with-wkd-hash. 2016-04-27 08:34:29 +02:00
keyserver.c g10: Fix memory leak. 2016-07-01 14:16:18 +02:00
main.h gpg: Extend import-option import-export to print PKA or DANE. 2016-07-12 15:13:34 +02:00
mainproc.c gpg: Fix printing of pubkey algo in --verbose signature verify. 2016-09-01 16:39:41 +02:00
Makefile.am gpg: Avoid name spaces clash with future sqlite versions. 2016-05-21 20:06:59 +02:00
mdfilter.c gpg: Remove all assert.h and s/assert/log_assert/. 2016-04-29 11:05:24 +02:00
migrate.c Replace use of opt.homedir by accessor functions. 2016-06-07 10:59:46 +02:00
misc.c gpg: Remove all assert.h and s/assert/log_assert/. 2016-04-29 11:05:24 +02:00
openfile.c gpg: Remove all assert.h and s/assert/log_assert/. 2016-04-29 11:05:24 +02:00
OPTIONS See ChangeLog: Mon Jul 31 10:04:47 CEST 2000 Werner Koch 2000-07-31 08:04:16 +00:00
options.h gpg: New option --with-tofu-info. 2016-08-25 09:37:56 +02:00
options.skel gpg: Rework gpg-conf.skel 2016-01-22 10:54:10 +01:00
packet.h gpg: Fix printing of pubkey algo in --verbose signature verify. 2016-09-01 16:39:41 +02:00
parse-packet.c gpg: Print the signer's UID during verification. 2016-08-10 19:53:53 +02:00
passphrase.c gpg: Cleanup of dek_to_passphrase function (part 2). 2016-08-08 20:32:08 +02:00
photoid.c gpg: Pass CTRL object down to the trust functions 2016-05-21 11:41:49 +02:00
photoid.h gpg: Pass CTRL object down to the trust functions 2016-05-21 11:41:49 +02:00
pkclist.c g10: Add support for TRUST_NEVER. 2016-09-01 13:29:56 +02:00
pkglue.c gpg: Fix false negatives in Ed25519 signature verification. 2016-08-25 16:18:00 +02:00
pkglue.h gpg: Use only OpenPGP public key algo ids and add the EdDSA algo id. 2014-01-30 18:48:37 +01:00
plaintext.c gpg: New option --mimemode. 2016-07-13 13:31:12 +02:00
progress.c gpg: New option --input-size-hint. 2016-08-11 21:32:55 +02:00
pubkey-enc.c gpg: Remove all assert.h and s/assert/log_assert/. 2016-04-29 11:05:24 +02:00
pubring.asc See ChangeLog: Mon Jul 31 10:04:47 CEST 2000 Werner Koch 2000-07-31 08:04:16 +00:00
revoke.c g10: Implement gpg --quick-revuid 2016-06-30 11:45:13 +02:00
rmd160.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
rmd160.h Add missing header file. 2008-12-12 08:54:50 +00:00
seckey-cert.c gpg: Remove all assert.h and s/assert/log_assert/. 2016-04-29 11:05:24 +02:00
server.c gpg: New options --recipient-file and --hidden-recipient-file. 2016-07-06 15:35:19 +02:00
seskey.c gpg: Do not abort on certain invalid packets. 2016-06-02 15:57:59 +02:00
sig-check.c gpg: Fix printing of pubkey algo in --verbose signature verify. 2016-09-01 16:39:41 +02:00
sign.c gpg: New option --sender 2016-08-18 10:08:34 +02:00
skclist.c gpg: Remove all assert.h and s/assert/log_assert/. 2016-04-29 11:05:24 +02:00
t-keydb-get-keyblock.c g10: Fix memory leaks. 2016-06-28 18:21:50 +02:00
t-keydb-get-keyblock.gpg gpg: Correctly handle keyblocks followed by legacy keys. 2015-11-17 14:53:03 +01:00
t-keydb-keyring.kbx g10: Add test for keydb as well as new testing infrastructure. 2015-09-02 15:08:57 +02:00
t-keydb.c g10: Fix memory leaks. 2016-06-28 18:21:50 +02:00
t-rmd160.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
t-stutter-data.asc gpg: Add a new test. 2016-03-08 14:08:49 +01:00
t-stutter.c Fix trivial memory leaks in tests. 2016-07-01 09:47:48 +02:00
tdbdump.c gpg: Remove all assert.h and s/assert/log_assert/. 2016-04-29 11:05:24 +02:00
tdbio.c g10: Fix opening of trust database. 2016-08-10 16:50:29 +02:00
tdbio.h gpg: Replace -1 by GPG_ERR_NOT_FOUND in tdbio.c 2015-06-04 18:08:26 +02:00
test-stubs.c gpg: New option --with-tofu-info. 2016-08-25 09:37:56 +02:00
test.c tests: Silence output of some tests. 2016-05-03 11:26:06 +02:00
textfilter.c common: Fix memory leak. 2016-06-30 18:50:16 +02:00
tofu.c g10: Fix typo. 2016-09-01 14:31:55 +02:00
tofu.h g10: Change tofu_register & tofu_get_validity to process multiple uids. 2016-08-30 16:06:37 +02:00
trust.c gpg: Pass CTRL object down to the trust functions 2016-05-21 11:41:49 +02:00
trustdb.c g10: Change tofu_register & tofu_get_validity to process multiple uids. 2016-08-30 16:06:37 +02:00
trustdb.h gpg: Pass CTRL object down to the trust functions 2016-05-21 11:41:49 +02:00
verify.c gpg: Remove all assert.h and s/assert/log_assert/. 2016-04-29 11:05:24 +02:00
zlib-riscos.h include: Remove this directory. 2014-01-29 17:45:05 +01:00