Scan QR Code to import SSH private key

This commit is contained in:
Yishi Lin 2017-06-07 02:12:54 +08:00
parent a31f5b797d
commit 3cde0d954c
6 changed files with 175 additions and 25 deletions

View file

@ -57,6 +57,7 @@ struct GitCredential {
attempts += 1
lastPassword = newPassword
credential = try? GTCredential(userName: userName, publicKeyURL: nil, privateKeyURL: privateKeyFile, passphrase: newPassword!)
print(privateKeyFile)
}
return credential
}