1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

gpg: Set default expiration date to 3 years.

* g10/keygen.c (default_expiration_interval): Change.
--

This is a revision of
GnuPG-bug-id: 2701
This commit is contained in:
Werner Koch 2023-06-05 15:07:22 +02:00
parent 2c1d5d5cd3
commit baa8883215
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -56,7 +56,7 @@
/* When generating keys using the streamlined key generation dialog, /* When generating keys using the streamlined key generation dialog,
use this as a default expiration interval. */ use this as a default expiration interval. */
const char *default_expiration_interval = "2y"; const char *default_expiration_interval = "3y";
/* Flag bits used during key generation. */ /* Flag bits used during key generation. */
#define KEYGEN_FLAG_NO_PROTECTION 1 #define KEYGEN_FLAG_NO_PROTECTION 1