mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
gpg: Add magic parameter "default" to --quick-add-adsk.
* g10/getkey.c (has_key_with_fingerprint): New.
* g10/keyedit.c (menu_addadsk): Replace code by new function.
(keyedit_quick_addadsk): Handle magic arg "default".
* g10/keygen.c (append_all_default_adsks): New.
--
GnuPG-bug-id: 6882
(cherry picked from commit 77afc9ee1c
)
This commit is contained in:
parent
45ae027ce4
commit
ecda4b1e16
6 changed files with 117 additions and 17 deletions
|
@ -772,7 +772,9 @@ the fingerprint @var{fpr}. @var{adskfpr} is the fingerprint of
|
|||
another key's encryption subkey. A subkey is commonly used here
|
||||
because by default a primary key has no encryption capability. Use
|
||||
the option @option{--with-subkey-fingerprint} with a list command to
|
||||
display the subkey fingerprints.
|
||||
display the subkey fingerprints. If the string "default" is used for
|
||||
@var{adskfpr} all missing ADSKs configured with
|
||||
@option{--default-new-key-adsk} are added.
|
||||
|
||||
@item --generate-key
|
||||
@opindex generate-key
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue