Skip to content

Commit

Permalink
fix: looking for cryptobox files to migrate at wrong location (#2054)
Browse files Browse the repository at this point in the history
  • Loading branch information
typfel authored Sep 13, 2023
1 parent 5117eb8 commit 3b87e90
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
@@ -97,7 +97,7 @@ class ProteusClientProviderImpl(
private suspend fun createProteusClient(): ProteusClient {
return if (kaliumConfigs.encryptProteusStorage) {
val central = coreCryptoCentral(
rootDir = "$rootProteusPath/$KEYSTORE_NAME",
rootDir = rootProteusPath,
databaseKey = SecurityHelperImpl(passphraseStorage).proteusDBSecret(userId).value
)
central.proteusClient()
@@ -109,8 +109,4 @@ class ProteusClientProviderImpl(
)
}
}

private companion object {
const val KEYSTORE_NAME = "keystore"
}
}

0 comments on commit 3b87e90

Please sign in to comment.