Handle SSH keys better

OpenSSH will iterate through a series of keys.  Additionally, there may
be a key specified in the ssh/config file that we need to account for.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/18864
This commit is contained in:
Seth Hillbrand
2025-01-21 15:59:07 -08:00
parent 4fe05bfe47
commit 5a57e5cfd4
8 changed files with 206 additions and 47 deletions
+1
View File
@@ -63,6 +63,7 @@ bool GIT_CLONE_HANDLER::PerformClone()
cloneOptions.fetch_opts.callbacks.payload = this;
m_testedTypes = 0;
ResetNextKey();
if( git_clone( &m_repo, m_URL.ToStdString().c_str(), m_clonePath.ToStdString().c_str(),
&cloneOptions ) != 0 )