From 9eaf962c96d773198a09887cb539472acad9cc10 Mon Sep 17 00:00:00 2001 From: Bob Sun Date: Sun, 19 Feb 2017 22:26:37 +0800 Subject: [PATCH] add remove PGP key passphrase to removePGPKeys function --- pass/Helpers/Utils.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pass/Helpers/Utils.swift b/pass/Helpers/Utils.swift index 1502852..b76cdc5 100644 --- a/pass/Helpers/Utils.swift +++ b/pass/Helpers/Utils.swift @@ -64,12 +64,12 @@ class Utils { removeFileIfExists(atPath: Globals.pgpPublicKeyPath) removeFileIfExists(atPath: Globals.pgpPrivateKeyPath) Defaults.remove(.pgpKeySource) - Defaults.remove(.pgpKeyPassphrase) Defaults.remove(.pgpPublicKeyArmor) Defaults.remove(.pgpPrivateKeyArmor) Defaults.remove(.pgpPrivateKeyURL) Defaults.remove(.pgpPublicKeyURL) Defaults.remove(.pgpKeyID) + Utils.removeKeychain(name: ".pgpKeyPassphrase") } static func getPasswordFromKeychain(name: String) -> String? {