Home GnuPG
Diffusion GnuPG dc87a3341f28

gpg: New command --show-keys.

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.

(cherry picked from commit 257661d6ae0ca376df758c38fabab2316d10e3a9)

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

Details

Provenance
wernerAuthored on Jun 6 2018, 11:50 AM
Parents
rG7c004dd58f28: po: Fix Swedish and Turkish translations.
Branches
Unknown
Tags
Unknown