From 0b51e998cfff747805f27899f94462ce74953b3c Mon Sep 17 00:00:00 2001 From: Graham Date: Sun, 22 Mar 2020 12:53:42 +0000 Subject: [PATCH] Increase VALIDITY_PERIOD to 10 years It was changed to 1 year by accident in a previous commit. Signed-off-by: Graham --- .../src/main/java/dev/openrs2/common/crypto/Pkcs12KeyStore.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/dev/openrs2/common/crypto/Pkcs12KeyStore.kt b/common/src/main/java/dev/openrs2/common/crypto/Pkcs12KeyStore.kt index 973c31c37f..ac7474c4a4 100644 --- a/common/src/main/java/dev/openrs2/common/crypto/Pkcs12KeyStore.kt +++ b/common/src/main/java/dev/openrs2/common/crypto/Pkcs12KeyStore.kt @@ -52,7 +52,7 @@ class Pkcs12KeyStore private constructor(privateKeyEntry: KeyStore.PrivateKeyEnt .build() private val MAX_CLOCK_SKEW = Period.ofDays(1) - private val VALIDITY_PERIOD = Period.ofYears(1) + private val VALIDITY_PERIOD = Period.ofYears(10) private val SHA256_WITH_RSA = AlgorithmIdentifier(PKCSObjectIdentifiers.sha256WithRSAEncryption) private val SHA256 = AlgorithmIdentifier(NISTObjectIdentifiers.id_sha256)