gnupg/g10
David Shaw 2e821d77f7 * trustdb.h, trustdb.c (is_disabled), gpgv.c (is_disabled): Rename
is_disabled to cache_disabled_value, which now takes a pk and not just the
keyid. This is for speed since there is no need to re-fetch a key when we
already have that key handy.  Cache the result of the check so we don't
need to hit the trustdb more than once.

* getkey.c (skip_disabled): New function to get a pk and call is_disabled
on it. (key_byname): Use it here.

* packet.h, getkey.c (skip_disabled), keylist.c (print_capabilities): New
"pk_is_disabled" macro to retrieve the cached disabled value if available,
and fill it in via cache_disabled_value if not available.

* trustdb.c (get_validity): Cache the disabled value since we have it
handy and it might be useful later.

* parse-packet.c (parse_key): Clear disabled flag when parsing a new key.
Just in case someone forgets to clear the whole key.

* getkey.c (merge_selfsigs_main): Add an "if all else fails" path for
setting a single user ID primary when there are multiple set primaries all
at the same second, or no primaries set and the most recent user IDs are
at the same second, or no signed user IDs at all. This is arbitrary, but
deterministic.

* exec.h, photoid.h: Add copyright message.

* keylist.c (list_keyblock_print): Don't dump attribs for
revoked/expired/etc uids for non-colon key listings.  This is for
consistency with --show-photos.

* main.h, keylist.c (dump_attribs), mainproc.c (check_sig_and_print): Dump
attribs if --attrib-fd is set when verifying signatures.

* g10.c (main): New --gnupg option to disable the various --openpgp,
--pgpX, etc. options.  This is the same as --no-XXXX for those options.

* revoke.c (ask_revocation_reason): Clear old reason if user elects to
repeat question.  This is bug 153.

* keyedit.c (sign_uids): Show keyid of the key making the signature.
2003-05-21 16:42:22 +00:00
..
ChangeLog * trustdb.h, trustdb.c (is_disabled), gpgv.c (is_disabled): Rename 2003-05-21 16:42:22 +00:00
Makefile.am * Makefile.am (AM_CFLAGS): Make use of AM_CFLAGS and AM_LDFLAGS. 2003-04-15 15:46:13 +00:00
OPTIONS See ChangeLog: Mon Jul 31 10:04:47 CEST 2000 Werner Koch 2000-07-31 08:04:16 +00:00
armor.c * packet.h, build-packet.c (build_sig_subpkt), export.c 2003-05-03 04:07:45 +00:00
build-packet.c * packet.h, build-packet.c (build_sig_subpkt), export.c 2003-05-03 04:07:45 +00:00
cipher.c * packet.h, build-packet.c (build_sig_subpkt), export.c 2003-05-03 04:07:45 +00:00
comment.c Update head to match stable 1.0 2002-06-29 13:46:34 +00:00
compress.c * compress.c (init_uncompress): Use a 15 bit window size so that 2003-03-10 09:59:33 +00:00
dearmor.c Update head to match stable 1.0 2002-06-29 13:46:34 +00:00
decrypt.c * Makefile.am (AM_CFLAGS): Make use of AM_CFLAGS and AM_LDFLAGS. 2003-04-15 15:46:13 +00:00
delkey.c * packet.h, trustdb.h, trustdb.c (trust_string): New. Return a string 2002-10-30 03:11:57 +00:00
encode.c * progress.c (handle_progress) 2003-05-21 08:48:26 +00:00
encr-data.c Update head to match stable 1.0 2002-06-29 13:46:34 +00:00
exec.c * build-packet.c (build_sig_subpkt): Comments. 2003-04-30 05:33:52 +00:00
exec.h * trustdb.h, trustdb.c (is_disabled), gpgv.c (is_disabled): Rename 2003-05-21 16:42:22 +00:00
export.c * packet.h, build-packet.c (build_sig_subpkt), export.c 2003-05-03 04:07:45 +00:00
filter.h * import.c (import_revoke_cert): Remove ultimate trust when revoking an 2003-04-23 21:18:39 +00:00
free-packet.c * packet.h, parse-packet.c (setup_user_id), free-packet.c (free_user_id), 2003-01-14 18:13:22 +00:00
g10.c * trustdb.h, trustdb.c (is_disabled), gpgv.c (is_disabled): Rename 2003-05-21 16:42:22 +00:00
getkey.c * trustdb.h, trustdb.c (is_disabled), gpgv.c (is_disabled): Rename 2003-05-21 16:42:22 +00:00
global.h Update head to match stable 1.0 2002-06-29 13:46:34 +00:00
gpgv.c * trustdb.h, trustdb.c (is_disabled), gpgv.c (is_disabled): Rename 2003-05-21 16:42:22 +00:00
helptext.c Update head to match stable 1.0 2002-06-29 13:46:34 +00:00
import.c * packet.h, build-packet.c (build_sig_subpkt), export.c 2003-05-03 04:07:45 +00:00
kbnode.c Update head to match stable 1.0 2002-06-29 13:46:34 +00:00
keydb.c * trustdb.c (validate_keys): Mask the ownertrust when building the list of 2003-03-04 15:24:12 +00:00
keydb.h * packet.h, build-packet.c (build_sig_subpkt), export.c 2003-05-03 04:07:45 +00:00
keyedit.c * trustdb.h, trustdb.c (is_disabled), gpgv.c (is_disabled): Rename 2003-05-21 16:42:22 +00:00
keygen.c * passphrase.c (read_passphrase_from_fd): Do a dummy read if the 2003-04-10 09:56:47 +00:00
keyid.c * packet.h, parse-packet.c (setup_user_id), free-packet.c (free_user_id), 2003-01-14 18:13:22 +00:00
keylist.c * trustdb.h, trustdb.c (is_disabled), gpgv.c (is_disabled): Rename 2003-05-21 16:42:22 +00:00
keyring.c * trustdb.c (validate_keys): Mask the ownertrust when building the list of 2003-03-04 15:24:12 +00:00
keyring.h * keydb.h, getkey.c (classify_user_id, classify_user_id2): Make 'exact' a 2003-02-12 18:43:44 +00:00
keyserver-internal.h * keyserver-internal.h, keyserver.c (print_keyrec, parse_keyrec, 2002-10-14 18:50:28 +00:00
keyserver.c * packet.h, build-packet.c (build_sig_subpkt), export.c 2003-05-03 04:07:45 +00:00
main.h * trustdb.h, trustdb.c (is_disabled), gpgv.c (is_disabled): Rename 2003-05-21 16:42:22 +00:00
mainproc.c * trustdb.h, trustdb.c (is_disabled), gpgv.c (is_disabled): Rename 2003-05-21 16:42:22 +00:00
mdfilter.c Update head to match stable 1.0 2002-06-29 13:46:34 +00:00
misc.c * packet.h, build-packet.c (build_sig_subpkt), export.c 2003-05-03 04:07:45 +00:00
mkdtemp.c * packet.h, build-packet.c (build_attribute_subpkt), exec.c (expand_args), 2002-07-01 16:40:52 +00:00
openfile.c * Makefile.am (AM_CFLAGS): Make use of AM_CFLAGS and AM_LDFLAGS. 2003-04-15 15:46:13 +00:00
options.h * packet.h, build-packet.c (build_sig_subpkt), export.c 2003-05-03 04:07:45 +00:00
options.skel * trustdb.c (validate_keys): Mask the ownertrust when building the list of 2003-03-04 15:24:12 +00:00
packet.h * trustdb.h, trustdb.c (is_disabled), gpgv.c (is_disabled): Rename 2003-05-21 16:42:22 +00:00
parse-packet.c * trustdb.h, trustdb.c (is_disabled), gpgv.c (is_disabled): Rename 2003-05-21 16:42:22 +00:00
passphrase.c * passphrase.c (read_passphrase_from_fd): Do a dummy read if the 2003-04-10 09:56:47 +00:00
photoid.c * g10.c (main): Add --no-textmode. 2003-04-27 20:22:09 +00:00
photoid.h * trustdb.h, trustdb.c (is_disabled), gpgv.c (is_disabled): Rename 2003-05-21 16:42:22 +00:00
pipemode.c Update head to match stable 1.0 2002-06-29 13:46:34 +00:00
pkclist.c * packet.h, build-packet.c (build_sig_subpkt), export.c 2003-05-03 04:07:45 +00:00
plaintext.c * import.c (import_revoke_cert): Remove ultimate trust when revoking an 2003-04-23 21:18:39 +00:00
progress.c * progress.c (handle_progress) 2003-05-21 08:48:26 +00:00
pubkey-enc.c * pubkey-enc.c (get_session_key): With hidden recipients or try a given 2002-11-06 16:58:28 +00: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 * trustdb.h, trustdb.c (is_disabled), gpgv.c (is_disabled): Rename 2003-05-21 16:42:22 +00:00
seckey-cert.c * passphrase.c (read_passphrase_from_fd): Do a dummy read if the 2003-04-10 09:56:47 +00:00
seskey.c Update head to match stable 1.0 2002-06-29 13:46:34 +00:00
sig-check.c * g10.c (add_group): Trim whitespace after a group name so it does not 2003-01-16 19:20:10 +00:00
sign.c * progress.c (handle_progress) 2003-05-21 08:48:26 +00:00
signal.c added RISC OS module loading support 2002-10-31 16:58:47 +00:00
skclist.c Update head to match stable 1.0 2002-06-29 13:46:34 +00:00
status.c * keydb.h: Err on the side of making an unknown signature a SIG rather 2003-03-24 20:05:53 +00:00
status.h 2002-12-22 Timo Schulz <ts@winpt.org> 2002-12-22 20:53:20 +00:00
tdbdump.c Update head to match stable 1.0 2002-06-29 13:46:34 +00:00
tdbio.c * tdbio.c (create_version_record): Only create new trustdbs with 2003-05-01 21:37:08 +00:00
tdbio.h * sign.c (do_sign): Show the hash used when making a signature in verbose 2003-04-26 20:38:16 +00:00
textfilter.c Update head to match stable 1.0 2002-06-29 13:46:34 +00:00
trustdb.c * trustdb.h, trustdb.c (is_disabled), gpgv.c (is_disabled): Rename 2003-05-21 16:42:22 +00:00
trustdb.h * trustdb.h, trustdb.c (is_disabled), gpgv.c (is_disabled): Rename 2003-05-21 16:42:22 +00:00
verify.c * Makefile.am (AM_CFLAGS): Make use of AM_CFLAGS and AM_LDFLAGS. 2003-04-15 15:46:13 +00:00