libgit2 / objective-git

Objective-C bindings to libgit2
MIT License
1.16k stars 280 forks source link

Don't put the private key in the error message #674

Closed tiennou closed 5 years ago

tiennou commented 5 years ago

Right now we're formatting the SSH private key as part of an NSError's description. This is pretty bad, because it might have been logged to the Console.