summaryrefslogtreecommitdiffstats
path: root/g10
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2023-06-05 15:07:22 +0200
committerWerner Koch <wk@gnupg.org>2023-06-05 15:07:22 +0200
commitbaa88832153d99adbbbb70d6a420784cc1267e84 (patch)
tree36e79d444163e19b81ffc3aa996d40802c1e35ed /g10
parentpo: Update Czech translation (diff)
downloadgnupg2-baa88832153d99adbbbb70d6a420784cc1267e84.tar.xz
gnupg2-baa88832153d99adbbbb70d6a420784cc1267e84.zip
gpg: Set default expiration date to 3 years.
* g10/keygen.c (default_expiration_interval): Change. -- This is a revision of GnuPG-bug-id: 2701
Diffstat (limited to 'g10')
-rw-r--r--g10/keygen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/keygen.c b/g10/keygen.c
index 7f54f7da0..d5099dbb9 100644
--- a/g10/keygen.c
+++ b/g10/keygen.c
@@ -56,7 +56,7 @@
/* When generating keys using the streamlined key generation dialog,
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. */
#define KEYGEN_FLAG_NO_PROTECTION 1