Fix wrong Keychain key string
This caused the private PGP key passphrase to remain unchanged although the key itself was removed.
This commit is contained in:
parent
b806175842
commit
47c9af0127
1 changed files with 1 additions and 1 deletions
|
|
@ -848,7 +848,7 @@ public class PasswordStore {
|
||||||
SharedDefaults.remove(.pgpKeySource)
|
SharedDefaults.remove(.pgpKeySource)
|
||||||
SharedDefaults.remove(.pgpPrivateKeyURL)
|
SharedDefaults.remove(.pgpPrivateKeyURL)
|
||||||
SharedDefaults.remove(.pgpPublicKeyURL)
|
SharedDefaults.remove(.pgpPublicKeyURL)
|
||||||
AppKeychain.removeContent(for: ".pgpKeyPassphrase")
|
AppKeychain.removeContent(for: "pgpKeyPassphrase")
|
||||||
AppKeychain.removeContent(for: PGPKeyType.PUBLIC.rawValue)
|
AppKeychain.removeContent(for: PGPKeyType.PUBLIC.rawValue)
|
||||||
AppKeychain.removeContent(for: PGPKeyType.PRIVATE.rawValue)
|
AppKeychain.removeContent(for: PGPKeyType.PRIVATE.rawValue)
|
||||||
publicKey = nil
|
publicKey = nil
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue