mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
gpg: New command --quick-add-adsk
* g10/gpg.c (enum cmd_and_opt_values): Add aQuickAddADSK.
(opts): Add --quick-add-adsk.
(main): Call the actual function.
* g10/keyedit.c (keyedit_quick_addadsk): New.
(menu_addadsk): Add arg adskfpr and change caller.
--
GnuPG-bug-id: 6395
(cherry picked from commit 9f27e448bf
)
This commit is contained in:
parent
eafe175320
commit
45ae027ce4
4 changed files with 89 additions and 1 deletions
|
@ -765,6 +765,15 @@ specifying a value, or using ``-'' results in a key expiring in a
|
|||
reasonable default interval. The values ``never'', ``none'' can be
|
||||
used for no expiration date.
|
||||
|
||||
@item --quick-add-adsk @var{fpr} @var{adskfpr}
|
||||
@opindex quick-add-adsk
|
||||
Directly add an Additional Decryption Subkey to the key identified by
|
||||
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.
|
||||
|
||||
@item --generate-key
|
||||
@opindex generate-key
|
||||
@itemx --gen-key
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue