fix(autofill): populate passphrase cache on successful decryption
This commit is contained in:
parent
88facd7871
commit
0d7d6eae79
1 changed files with 1 additions and 0 deletions
|
@ -185,6 +185,7 @@ class AutofillDecryptActivity : BasePGPActivity() {
|
||||||
}
|
}
|
||||||
.onSuccess { result ->
|
.onSuccess { result ->
|
||||||
return runCatching {
|
return runCatching {
|
||||||
|
passphraseCache.cachePassphrase(this, gpgIdentifiers.first(), password)
|
||||||
val entry = passwordEntryFactory.create(result.toByteArray())
|
val entry = passwordEntryFactory.create(result.toByteArray())
|
||||||
AutofillPreferences.credentialsFromStoreEntry(this, file, entry, directoryStructure)
|
AutofillPreferences.credentialsFromStoreEntry(this, file, entry, directoryStructure)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue