mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
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 <justus@g10code.com>
This commit is contained in:
parent
429891a704
commit
dd3dde07a9
3 changed files with 22 additions and 17 deletions
|
@ -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},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue