1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

gpg: Set some list options with --show-keys

* g10/gpg.c (main): Set some list options.
--

The new command --show-keys is commonly used to check the content of a
file with keys.  In this case it can be expected that all included
subkeys and uids are of interested, even when they are already expired
or have been revoked.

Signed-off-by: Werner Koch <wk@gnupg.org>
(cherry picked from commit d2bc66f241)
This commit is contained in:
Werner Koch 2018-06-11 08:46:37 +02:00
parent 18274db32b
commit cbb84b3361
No known key found for this signature in database
GPG key ID: E3FDFF218E45B72B
2 changed files with 9 additions and 3 deletions

View file

@ -356,9 +356,11 @@ be used to locate a key. Only public keys are listed.
@item --show-keys
@opindex show-keys
This commands takes OpenPGP keys as input and prints information about
them in the same way the command @option{--list-keys} does for
imported key. No internal state is changed. For automated processing
this command should be combined with the option
them in the same way the command @option{--list-keys} does for locally
stored key. In addition the list options @code{show-unusable-uids},
@code{show-unusable-subkeys}, @code{show-notations} and
@code{show-policy-urls} are also enabled. As usual for automated
processing, this command should be combined with the option
@option{--with-colons}.
@item --fingerprint