Skip to content

Commit

Permalink
fix: Do not specify a provider to automatically select an available one
Browse files Browse the repository at this point in the history
  • Loading branch information
oSumAtrIX committed Mar 9, 2024
1 parent e7bed85 commit 249372c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/app/revanced/library/ApkSigner.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 249372c

Please sign in to comment.