Leave key source settings unchanged when migrating

This commit is contained in:
Danny Moesch 2019-07-03 22:46:59 +02:00 committed by Mingshen Sun
parent 149edc1cbc
commit fa2fde1af4

View file

@ -193,8 +193,6 @@ public class PasswordStore {
SharedDefaults.remove(.pgpPublicKeyArmor)
SharedDefaults.remove(.pgpPrivateKeyArmor)
SharedDefaults.remove(.gitSSHPrivateKeyArmor)
SharedDefaults[.pgpKeySource] = "file"
SharedDefaults[.gitSSHKeySource] = "file"
}
public func initGitSSHKey(with armorKey: String) throws {