1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-08 23:37:47 +02:00
gnupg/g10
NIIBE Yutaka e32c575e0f gpgv: Tweak default options for extra security.
* g10/gpgv.c (main): Set opt.no_sig _cache, so that it doesn't depend on
cached status.  Similarly, set opt.flags.require_cross_cert for backsig
validation for subkey signature.

--

It is common that an organization distributes binary keyrings with
signature cache (Tag 12, Trust Packet) and people use gpgv to validate
signature with such keyrings.  In such a use case, it is possible that
the key validation itself is skipped.

For the purpose of gpgv validation of signatures, we should not depend
on signature cache in keyrings (if any), but we should validate the key
by its self signature for primary key, and back signature for subkey.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
2016-07-09 10:20:02 +09: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: Add experimental support for an issuer fpr. 2016-06-20 23:59:18 +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: Remove all assert.h and s/assert/log_assert/. 2016-04-29 11:05:24 +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 gpg: Add export options "export-pka" and "export-dane". 2016-07-07 17:35:20 +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: New options --recipient-file and --hidden-recipient-file. 2016-07-06 15:35:19 +02:00
gpg-w32info.rc w32: Add manifest to gpg. 2015-02-04 09:15:34 +01:00
gpg.c gpg: New options --recipient-file and --hidden-recipient-file. 2016-07-06 15:35:19 +02:00
gpg.h gpg: Store the Tofu meta handle for databases in CTRL. 2016-05-21 12:26:44 +02:00
gpg.w32-manifest.in w32: Add manifest to gpg. 2015-02-04 09:15:34 +01:00
gpgcompose.c doc: Consistently use 'keyserver'. 2016-06-14 09:06:44 +02:00
gpgsql.c gpg: Avoid name spaces clash with future sqlite versions. 2016-05-21 20:06:59 +02:00
gpgsql.h gpg: Avoid name spaces clash with future sqlite versions. 2016-05-21 20:06:59 +02:00
gpgv.c gpgv: Tweak default options for extra security. 2016-07-09 10:20:02 +09: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: New options --recipient-file and --hidden-recipient-file. 2016-07-06 15:35:19 +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: New options --recipient-file and --hidden-recipient-file. 2016-07-06 15:35:19 +02:00
keyedit.c w32: Fix build. 2016-06-30 15:28:42 +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: Use --keyid-format=none by default. 2016-06-06 17:03:47 +02:00
keylist.c gpg: Add export options "export-pka" and "export-dane". 2016-07-07 17:35:20 +02:00
keyring.c gpg: Remove all assert.h and s/assert/log_assert/. 2016-04-29 11:05:24 +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: New options --recipient-file and --hidden-recipient-file. 2016-07-06 15:35:19 +02:00
mainproc.c g10: Fix memory leak. 2016-06-30 15:31:37 +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: Add export options "export-pka" and "export-dane". 2016-07-07 17:35:20 +02:00
options.skel gpg: Rework gpg-conf.skel 2016-01-22 10:54:10 +01:00
packet.h gpg: Allow to cache the mbox in a user id struct. 2016-07-01 16:27:43 +02:00
parse-packet.c g10: Fix --list-packets. 2016-06-28 15:56:48 +09:00
passphrase.c gpg: Remove all assert.h and s/assert/log_assert/. 2016-04-29 11:05:24 +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 gpg: New options --recipient-file and --hidden-recipient-file. 2016-07-06 15:35:19 +02:00
pkglue.c gpg: Remove all assert.h and s/assert/log_assert/. 2016-04-29 11:05:24 +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: Remove all assert.h and s/assert/log_assert/. 2016-04-29 11:05:24 +02:00
progress.c gpg: Keep current and total of PROGESS status lines small enough. 2016-05-27 11:29: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 g10: Fix signature checking. 2016-05-11 19:27:03 +09:00
sign.c g10: Fix memory leak. 2016-06-30 18:50:16 +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 another race condition for trustdb access. 2016-06-15 08:49:50 +09: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 options --recipient-file and --hidden-recipient-file. 2016-07-06 15:35:19 +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 gpg: Avoid endless loop in a tofu error case. 2016-06-14 12:04:01 +02:00
tofu.h gpg: Store the Tofu meta handle for databases in CTRL. 2016-05-21 12:26:44 +02:00
trust.c gpg: Pass CTRL object down to the trust functions 2016-05-21 11:41:49 +02:00
trustdb.c g10: Fix memory leak. 2016-07-01 12:48:57 +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