fix: Do not specify a provider to automatically select an available one

This commit is contained in:
oSumAtrIX
2024-03-09 09:44:10 +01:00
parent e7bed8565e
commit 249372c31f

View File

@@ -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()