Home GnuPG
Diffusion GnuPG db2d75f1ffed

gpg: During secret key import print "sec" instead of "pub".

Description

gpg: During secret key import print "sec" instead of "pub".

* g10/keyedit.c (show_basic_key_info): New arg 'print_sec'.  Remove
useless code for "sub" and "ssb".
* g10/import.c (import_one): Pass FROM_SK to show_basic_key_info.  Do
not print the first  keyinfo in FROM_SK mode.
printing.

(cherry picked from commit f64477db86568bdc28c313bfeb8b95d8edf05a3c)

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

Details

Provenance
wernerAuthored on Mar 15 2019, 7:11 PM
Parents
rG184fbf014ae5: gpg: Simplify an interactive import status line.
Branches
Unknown
Tags
Unknown