diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2024-03-12 12:39:29 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2024-03-12 12:39:29 +0530 |
commit | 0d7d6eae79dc00500e0988d23094ddaa0d407e07 (patch) | |
tree | 62852f69205892c28eba7fdc42a79964328d0bb1 /app/src/main/java | |
parent | 88facd78713e594390e653afb3e78b15edd2deab (diff) |
fix(autofill): populate passphrase cache on successful decryption
Diffstat (limited to 'app/src/main/java')
-rw-r--r-- | app/src/main/java/app/passwordstore/ui/autofill/AutofillDecryptActivity.kt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/src/main/java/app/passwordstore/ui/autofill/AutofillDecryptActivity.kt b/app/src/main/java/app/passwordstore/ui/autofill/AutofillDecryptActivity.kt index e6e14fcf..fdc797ac 100644 --- a/app/src/main/java/app/passwordstore/ui/autofill/AutofillDecryptActivity.kt +++ b/app/src/main/java/app/passwordstore/ui/autofill/AutofillDecryptActivity.kt @@ -185,6 +185,7 @@ class AutofillDecryptActivity : BasePGPActivity() { } .onSuccess { result -> return runCatching { + passphraseCache.cachePassphrase(this, gpgIdentifiers.first(), password) val entry = passwordEntryFactory.create(result.toByteArray()) AutofillPreferences.credentialsFromStoreEntry(this, file, entry, directoryStructure) } |