Change the default third-party certification expiration to 10y.

- Fixes #225.
This commit is contained in:
Justus Winter 2024-12-03 20:44:50 +01:00
parent 1fcdd57d93
commit f6b4b31976
No known key found for this signature in database
GPG Key ID: 686F55B4AB2B3386

View File

@ -125,7 +125,7 @@ pub const KEY_VALIDITY_IN_YEARS: u64 = 3;
pub const KEY_VALIDITY_DURATION: Duration = pub const KEY_VALIDITY_DURATION: Duration =
Duration::new(SECONDS_IN_YEAR * KEY_VALIDITY_IN_YEARS, 0); Duration::new(SECONDS_IN_YEAR * KEY_VALIDITY_IN_YEARS, 0);
/// The default validity (in years) for third party certifications /// The default validity (in years) for third party certifications
pub const THIRD_PARTY_CERTIFICATION_VALIDITY_IN_YEARS: u64 = 5; pub const THIRD_PARTY_CERTIFICATION_VALIDITY_IN_YEARS: u64 = 10;
/// The default validity period (as Duration) for third party certifications /// The default validity period (as Duration) for third party certifications
pub const THIRD_PARTY_CERTIFICATION_VALIDITY_DURATION: Duration = Duration::new( pub const THIRD_PARTY_CERTIFICATION_VALIDITY_DURATION: Duration = Duration::new(
SECONDS_IN_YEAR * THIRD_PARTY_CERTIFICATION_VALIDITY_IN_YEARS, SECONDS_IN_YEAR * THIRD_PARTY_CERTIFICATION_VALIDITY_IN_YEARS,