diff --git a/src/main/kotlin/app/revanced/library/ApkSigner.kt b/src/main/kotlin/app/revanced/library/ApkSigner.kt index 91743d4..419fc0c 100644 --- a/src/main/kotlin/app/revanced/library/ApkSigner.kt +++ b/src/main/kotlin/app/revanced/library/ApkSigner.kt @@ -116,8 +116,9 @@ object ApkSigner { logger.fine("Creating keystore") return KeyStore.getInstance("BKS", BouncyCastleProvider.PROVIDER_NAME).apply { + load(null) + entries.forEach { entry -> - load(null) // Add all entries to the keystore. setKeyEntry( entry.alias,