PasswordStore: allow to pass in a specific PGPAgent implementation (for testing)

This commit is contained in:
Lysann Tranvouez 2026-03-11 23:25:46 +01:00
parent 77f85ccdd1
commit e3de11f71c
3 changed files with 15 additions and 10 deletions

View file

@ -9,7 +9,7 @@
public class PGPAgent {
public static let shared = PGPAgent()
private let keyStore: KeyStore
let keyStore: KeyStore
private var pgpInterface: PGPInterface?
private var latestDecryptStatus = true