mirror of
https://github.com/ReVanced/revanced-library.git
synced 2026-01-18 00:43:56 +00:00
feat: Increase default expiration date of certificate
This commit is contained in:
@@ -43,7 +43,7 @@ object ApkSigner {
|
|||||||
*/
|
*/
|
||||||
fun newPrivateKeyCertificatePair(
|
fun newPrivateKeyCertificatePair(
|
||||||
commonName: String = "ReVanced",
|
commonName: String = "ReVanced",
|
||||||
validUntil: Date = Date(System.currentTimeMillis() + 356.days.inWholeMilliseconds * 24),
|
validUntil: Date = Date(System.currentTimeMillis() + (365.days * 8).inWholeMilliseconds * 24),
|
||||||
): PrivateKeyCertificatePair {
|
): PrivateKeyCertificatePair {
|
||||||
logger.fine("Creating certificate for $commonName")
|
logger.fine("Creating certificate for $commonName")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user