Store ssh key passphrase in Keychain
This commit is contained in:
parent
04ceeb87dc
commit
de6183764b
4 changed files with 8 additions and 7 deletions
|
|
@ -116,7 +116,7 @@ class SettingsTableViewController: UITableViewController {
|
|||
gitCredential = GitCredential(
|
||||
credential: GitCredential.Credential.ssh(
|
||||
userName: username,
|
||||
password: Defaults[.gitRepositorySSHPrivateKeyPassphrase]!,
|
||||
password: Utils.getPasswordFromKeychain(name: "gitRepositorySSHPrivateKeyPassphrase")!,
|
||||
publicKeyFile: Globals.sshPublicKeyURL,
|
||||
privateKeyFile: Globals.sshPrivateKeyURL,
|
||||
passwordNotSetCallback: self.requestSshKeyPassword
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue