aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gpg.texi
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2016-12-13 15:30:47 +0000
committerJustus Winter <[email protected]>2016-12-13 15:35:08 +0000
commitdd3dde07a9a46130ac01d849f8edf0566e44f11f (patch)
tree5a80f57d3c2ba6eb403af9fc492af23c69dd4a89 /doc/gpg.texi
parentgpgscm: Print failed and skipped tests. (diff)
downloadgnupg-dd3dde07a9a46130ac01d849f8edf0566e44f11f.tar.gz
gnupg-dd3dde07a9a46130ac01d849f8edf0566e44f11f.zip
g10: Create expiring keys in quick key generation mode.
* doc/gpg.texi: Document that fact. * g10/keygen.c (quick_generate_keypair): Use a default value. * tests/openpgp/quick-key-manipulation.scm: Test that fact. GnuPG-bug-id: 2701 Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'doc/gpg.texi')
-rw-r--r--doc/gpg.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/gpg.texi b/doc/gpg.texi
index 3f54fe2b0..c7c7db64e 100644
--- a/doc/gpg.texi
+++ b/doc/gpg.texi
@@ -630,6 +630,12 @@ For a description of these optional arguments see the command
``cert'' which can be used to create a certification only primary key;
the default is to a create certification and signing key.
+The @code{expire} argument can be used to specify an expiration date
+for the key. Several formats are supported; commonly the ISO
+YYYY-MM-DD format is used. The values ``never'', ``none'' can be used
+for no expiration date. Not specifying a value, or using ``-''
+results in a key expiring in a reasonable default interval.
+
If this command is used with @option{--batch},
@option{--pinentry-mode} has been set to @code{loopback}, and one of
the passphrase options (@option{--passphrase},