1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-09 23:39:51 +02: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 5825daaf11
commit 8613230602
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B
2 changed files with 3 additions and 1 deletions

2
NEWS
View File

@ -1,6 +1,8 @@
Noteworthy changes in version 2.2.42 (unreleased)
-------------------------------------------------
* gpg: Set default expiration date to 3 years. [T2701]
* gpg: Support OCB encryption. [T6263]
* gpg: New command --quick-update-pref. [rGf16c946be7]

View File

@ -54,7 +54,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