mirror of
https://github.com/ReVanced/revanced-library.git
synced 2026-01-12 06:16:18 +00:00
fix: Only load the keystore once per instantiation
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user