summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2016-12-05 10:58:39 +0100
committerWerner Koch <wk@gnupg.org>2016-12-05 11:00:11 +0100
commit41b3d0975de65d1654f5e37c626d7c9b7c9a7a4d (patch)
treea097a86bcb7aaa4c149ef429bf1ad597fed61c7d /doc
parenttests: New test for '--enarmor' and '--dearmor'. (diff)
downloadgnupg2-41b3d0975de65d1654f5e37c626d7c9b7c9a7a4d.tar.xz
gnupg2-41b3d0975de65d1654f5e37c626d7c9b7c9a7a4d.zip
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
Diffstat (limited to 'doc')
-rw-r--r--doc/gpg.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/gpg.texi b/doc/gpg.texi
index b01d0a353..9d51dcb8b 100644
--- a/doc/gpg.texi
+++ b/doc/gpg.texi
@@ -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