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>