diff --git a/CHANGELOG.md b/CHANGELOG.md index 2770c7b..23999e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [2.2.1-dev.1](https://github.com/ReVanced/revanced-library/compare/v2.2.0...v2.2.1-dev.1) (2024-03-09) + + +### Bug Fixes + +* Do not specify a provider to automatically select an available one ([249372c](https://github.com/ReVanced/revanced-library/commit/249372c31f7e7975fc9eacb5361bd07dbc5dfb92)) + # [2.2.0](https://github.com/ReVanced/revanced-library/compare/v2.1.0...v2.2.0) (2024-03-09) diff --git a/gradle.properties b/gradle.properties index 2e6be91..79352c1 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ org.gradle.parallel = true org.gradle.caching = true kotlin.code.style = official -version = 2.2.0 +version = 2.2.1-dev.1 diff --git a/src/main/kotlin/app/revanced/library/ApkSigner.kt b/src/main/kotlin/app/revanced/library/ApkSigner.kt index dce445e..7faea77 100644 --- a/src/main/kotlin/app/revanced/library/ApkSigner.kt +++ b/src/main/kotlin/app/revanced/library/ApkSigner.kt @@ -49,7 +49,7 @@ object ApkSigner { logger.fine("Creating certificate for $commonName") // Generate a new key pair. - val keyPair = KeyPairGenerator.getInstance("RSA", BouncyCastleProvider.PROVIDER_NAME).apply { + val keyPair = KeyPairGenerator.getInstance("RSA").apply { initialize(4096) }.generateKeyPair()