Diffusion GnuPG 257661d6ae0c

gpg: New command --show-keys.

Authored by werner on Jun 6 2018, 11:50 AM.

Description

gpg: New command --show-keys.

* g10/gpg.c (aShowKeys): New const.
(opts): New command --show-keys.
(main): Implement command.
* g10/import.c (import_keys_internal): Don't print stats in show-only
mode.
(import_one): Be silent in show-only mode.

Using

--import --import-options show-only

to look at a key is too cumbersome. Provide this shortcut and also
remove some diagnostic cruft in this case.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Committed
wernerJun 6 2018, 11:57 AM
Parents
rGd2e6b3ea1d70: g10: Remove bogus comment.
Branches
Unknown
Tags
Unknown