add remove PGP key passphrase to removePGPKeys function
This commit is contained in:
parent
65a31a803e
commit
9eaf962c96
1 changed files with 1 additions and 1 deletions
|
|
@ -64,12 +64,12 @@ class Utils {
|
||||||
removeFileIfExists(atPath: Globals.pgpPublicKeyPath)
|
removeFileIfExists(atPath: Globals.pgpPublicKeyPath)
|
||||||
removeFileIfExists(atPath: Globals.pgpPrivateKeyPath)
|
removeFileIfExists(atPath: Globals.pgpPrivateKeyPath)
|
||||||
Defaults.remove(.pgpKeySource)
|
Defaults.remove(.pgpKeySource)
|
||||||
Defaults.remove(.pgpKeyPassphrase)
|
|
||||||
Defaults.remove(.pgpPublicKeyArmor)
|
Defaults.remove(.pgpPublicKeyArmor)
|
||||||
Defaults.remove(.pgpPrivateKeyArmor)
|
Defaults.remove(.pgpPrivateKeyArmor)
|
||||||
Defaults.remove(.pgpPrivateKeyURL)
|
Defaults.remove(.pgpPrivateKeyURL)
|
||||||
Defaults.remove(.pgpPublicKeyURL)
|
Defaults.remove(.pgpPublicKeyURL)
|
||||||
Defaults.remove(.pgpKeyID)
|
Defaults.remove(.pgpKeyID)
|
||||||
|
Utils.removeKeychain(name: ".pgpKeyPassphrase")
|
||||||
}
|
}
|
||||||
|
|
||||||
static func getPasswordFromKeychain(name: String) -> String? {
|
static func getPasswordFromKeychain(name: String) -> String? {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue