use keychain to store pgp passphrase and git password
This commit is contained in:
parent
ceb52a5b33
commit
90709675a3
10 changed files with 86 additions and 19 deletions
|
|
@ -18,7 +18,7 @@ class PGPKeyArmorSettingTableViewController: UITableViewController {
|
|||
super.viewDidLoad()
|
||||
armorPublicKeyTextView.text = Defaults[.pgpPublicKeyArmor]
|
||||
armorPrivateKeyTextView.text = Defaults[.pgpPrivateKeyArmor]
|
||||
pgpPassphrase = Defaults[.pgpKeyPassphrase]
|
||||
pgpPassphrase = PasswordStore.shared.pgpKeyPassphrase
|
||||
}
|
||||
|
||||
@IBAction func save(_ sender: Any) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue