mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
gpg: New option --quick-set-expire.
* g10/gpg.c (aQuickSetExpire): New. (opts): New option --quick-set-expire. (main): Implement option. * g10/keyedit.c (menu_expire): Add args FORCE_MAINKEY and NEWEXPIRATION. Change semantics of the return value. Change caller. (keyedit_quick_set_expire): New. -- This patch partly solves GnuPG-bug-id: 2701
This commit is contained in:
parent
fae4d06b0c
commit
41b3d0975d
5 changed files with 148 additions and 26 deletions
|
@ -632,6 +632,12 @@ supplied passphrase is used for the new key and the agent does not ask
|
|||
for it. To create a key without any protection @code{--passphrase ''}
|
||||
may be used.
|
||||
|
||||
@item --quick-set-expire @code{fpr} @code{expire}
|
||||
@opindex quick-set-expire
|
||||
Directly set the expiration time of the primary key to @code{expire}.
|
||||
To remove the expiration time @code{0} can be used.
|
||||
|
||||
|
||||
@item --quick-addkey @code{fpr} [@code{algo} [@code{usage} [@code{expire}]]]
|
||||
@opindex quick-addkey
|
||||
Directly add a subkey to the key identified by the fingerprint
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue