mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +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
This commit is contained in:
parent
d09301a9e1
commit
9f27e448bf
4 changed files with 120 additions and 14 deletions
|
@ -770,6 +770,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