mirror of
https://github.com/ReVanced/revanced-library.git
synced 2026-01-10 05:16:18 +00:00
fix: Do not specify a provider to automatically select an available one
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user