Clean up codes in PGPAgent
After the migration, there is nothing there.
This commit is contained in:
parent
e967bb1f4c
commit
2ece3ef07a
1 changed files with 0 additions and 7 deletions
|
|
@ -167,13 +167,6 @@ public class PGPAgent {
|
|||
}
|
||||
|
||||
public func removePGPKeys() {
|
||||
try? FileManager.default.removeItem(atPath: Globals.pgpPublicKeyPath)
|
||||
try? FileManager.default.removeItem(atPath: Globals.pgpPrivateKeyPath)
|
||||
SharedDefaults.remove(.pgpKeySource)
|
||||
SharedDefaults.remove(.pgpPrivateKeyURL)
|
||||
SharedDefaults.remove(.pgpPublicKeyURL)
|
||||
SharedDefaults.remove(.pgpPublicKeyArmor)
|
||||
SharedDefaults.remove(.pgpPrivateKeyArmor)
|
||||
AppKeychain.removeContent(for: PgpKey.PUBLIC.getKeychainKey())
|
||||
AppKeychain.removeContent(for: PgpKey.PRIVATE.getKeychainKey())
|
||||
passphrase = nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue