diff options
author | Werner Koch <wk@gnupg.org> | 2024-06-05 17:04:33 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2024-06-05 17:04:33 +0200 |
commit | 77afc9ee1c75a28083edf6d98888f9b472c3e39d (patch) | |
tree | f1178f2db721cc404602110cf9227deaaa037a98 /doc | |
parent | gpg: Do not show RENC if no key capabilities are found for a key. (diff) | |
download | gnupg2-77afc9ee1c75a28083edf6d98888f9b472c3e39d.tar.xz gnupg2-77afc9ee1c75a28083edf6d98888f9b472c3e39d.zip |
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
Diffstat (limited to 'doc')
-rw-r--r-- | doc/gpg.texi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/gpg.texi b/doc/gpg.texi index af87064e5..203f3339f 100644 --- a/doc/gpg.texi +++ b/doc/gpg.texi @@ -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 |