* keydb.h, getkey.c (key_byname): Flag to enable or disable including
authorDavid Shaw <dshaw@jabberwocky.com>
Thu, 26 Dec 2002 22:22:50 +0000 (22:22 +0000)
committerDavid Shaw <dshaw@jabberwocky.com>
Thu, 26 Dec 2002 22:22:50 +0000 (22:22 +0000)
commitf3f1015f6a82482dd6075343d41f4aca1e795e48
treec67b1a5f42380195a65378b229867eadce93d278
parent7282f79c2e7f0c3e176fea17e750bd80c256c923
* keydb.h, getkey.c (key_byname): Flag to enable or disable including
disabled keys.  Keys specified via keyid (i.e. 0x...) are always included.

* getkey.c (get_pubkey_byname, get_seckey_byname2, get_seckey_bynames),
keyedit.c (keyedit_menu, menu_addrevoker): Include disabled keys in these
functions.

* pkclist.c (build_pk_list): Do not include disabled keys for -r or the
key prompt.  Do include disabled keys for the default key and
--encrypt-to.

* trustdb.h, trustdb.c (is_disabled): New skipfnc for skipping disabled
keys.

* gpgv.c (is_disabled): Stub.

* keygen.c (keygen_add_key_expire): Properly handle updating a key
expiration to a no-expiration value.

* keyedit.c (enable_disable_key): Comment.

* import.c (import_one): When in interactive mode and --verbose, don't
repeat some key information twice.
g10/ChangeLog
g10/getkey.c
g10/gpgv.c
g10/import.c
g10/keydb.h
g10/keyedit.c
g10/keygen.c
g10/pkclist.c
g10/trustdb.c
g10/trustdb.h