mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
gpg: Emit new status line KEY_CONSIDERED.
* common/status.h (STATUS_KEY_CONSIDERED): New. * g10/getkey.c: Include status.h. (LOOKUP_NOT_SELECTED, LOOKUP_ALL_SUBKEYS_EXPIRED): New. (finish_lookup): Add arg R_FLAGS. Count expired and revoked keys and set flag. Check a requested usage before checking for expiraion or revocation. (print_status_key_considered): New. (lookup): Print new status. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
83a90a916e
commit
ff71521d96
3 changed files with 151 additions and 83 deletions
|
@ -105,6 +105,7 @@ enum
|
|||
STATUS_INV_SGNR,
|
||||
STATUS_NO_RECP,
|
||||
STATUS_NO_SGNR,
|
||||
STATUS_KEY_CONSIDERED,
|
||||
|
||||
STATUS_ALREADY_SIGNED,
|
||||
STATUS_KEYEXPIRED,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue