mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +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
This commit is contained in:
parent
8cbcac89fe
commit
77afc9ee1c
6 changed files with 88 additions and 18 deletions
|
@ -779,7 +779,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