diff options
author | Werner Koch <[email protected]> | 2017-10-24 08:56:13 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2017-10-24 08:56:13 +0000 |
commit | 560d85ecff4246133d185dc29395f07c918b5556 (patch) | |
tree | 201b6e5aa04ac01334da628cf298fc30b65c1c96 /dirmngr/ks-engine-http.c | |
parent | gpg: Remove unused flags from keyedit.c. (diff) | |
download | gnupg-560d85ecff4246133d185dc29395f07c918b5556.tar.gz gnupg-560d85ecff4246133d185dc29395f07c918b5556.zip |
gpg: Improve the "secret key available" notice in keyedit.c
* g10/keyedit.c (KEYEDIT_NEED_SUBSK): New.
(cmds): Add this flag to keytocard, bkuptocard, expire, and passwd.
(keyedit_menu): Check whether only subkeys are available and take care
of that in the command check and in the HELP listing. Also print a
different notice if only subkeys are available.
--
Print "Secret key is available" and the bailing out in all commands
which require the _primary_ secret key was surprising. Now we print
another notice and adjust the checks.
GnuPG-bug-id: 3463
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'dirmngr/ks-engine-http.c')
0 files changed, 0 insertions, 0 deletions