gpg: Print sec/sbb with --import-option import-show or show-only.
authorWerner Koch <wk@gnupg.org>
Thu, 19 Oct 2017 15:12:36 +0000 (17:12 +0200)
committerWerner Koch <wk@gnupg.org>
Thu, 19 Oct 2017 15:12:36 +0000 (17:12 +0200)
commit2c7dccca9b617780a3ea760adf460bb3b77f90f3
tree87aa0ba05a5dc9dbac1c6013d3bd3910f4282041
parent68c8619114fd5f24cb6bfb9e0f25c428a8805323
gpg: Print sec/sbb with --import-option import-show or show-only.

* g10/import.c (import_one): Pass FROM_SK to list_keyblock_direct.
--

Note that this will likely add the suffix '#' top "sec" because the
secret key has not yet (or will not be) imported.  If the secret key
already exists locally another suffix might be printed.  The upshot is
that the suffix has no usefulness.

GnuPG-bug-id: 3431
Signed-off-by: Werner Koch <wk@gnupg.org>
doc/gpg.texi
g10/import.c