feat: Increase default expiration date of certificate

This commit is contained in:
oSumAtrIX
2024-03-08 02:30:15 +01:00
parent cc5ee29d14
commit f2bd3f5eee

View File

@@ -43,7 +43,7 @@ object ApkSigner {
*/
fun newPrivateKeyCertificatePair(
commonName: String = "ReVanced",
validUntil: Date = Date(System.currentTimeMillis() + 356.days.inWholeMilliseconds * 24),
validUntil: Date = Date(System.currentTimeMillis() + (365.days * 8).inWholeMilliseconds * 24),
): PrivateKeyCertificatePair {
logger.fine("Creating certificate for $commonName")