summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2023-05-08 02:18:16 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2023-05-08 02:51:08 +0530
commit4ff0525e951472bc187961a89dc97e79aba8c68e (patch)
tree7a7878d7f5187a06b029738d65d7f87ec417379a
parentdf58f484acffe8f77aa7cf9c38e240c2858a1c54 (diff)
fix: adjust GPGPassphraseCache public API
-rw-r--r--app/src/main/java/app/passwordstore/data/crypto/GPGPassphraseCache.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/app/passwordstore/data/crypto/GPGPassphraseCache.kt b/app/src/main/java/app/passwordstore/data/crypto/GPGPassphraseCache.kt
index d9e66f74..193c363c 100644
--- a/app/src/main/java/app/passwordstore/data/crypto/GPGPassphraseCache.kt
+++ b/app/src/main/java/app/passwordstore/data/crypto/GPGPassphraseCache.kt
@@ -18,7 +18,7 @@ constructor(
private val dispatcherProvider: DispatcherProvider,
) {
- private suspend fun cachePassphrase(
+ suspend fun cachePassphrase(
context: Context,
identifier: GpgIdentifier,
passphrase: String,
@@ -28,7 +28,7 @@ constructor(
}
}
- private suspend fun retrieveCachedPassphrase(
+ suspend fun retrieveCachedPassphrase(
context: Context,
identifier: GpgIdentifier,
): String? {