fix(autofill): populate passphrase cache on successful decryption

This commit is contained in:
Harsh Shandilya 2024-03-12 12:39:29 +05:30
parent 88facd7871
commit 0d7d6eae79

View file

@ -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)
}