KiCad PCB EDA Suite
Loading...
Searching...
No Matches
kigit_ssh_keys.h File Reference
#include <import_export.h>
#include <vector>
#include <wx/string.h>

Go to the source code of this file.

Namespaces

namespace  KIGIT
 

Functions

APIEXPORT std::vector< wxString > KIGIT::ParseSSHConfigIdentityFiles (const wxString &aConfigText, const wxString &aHost, const wxString &aHomeDir)
 The IdentityFile entries an ssh config gives aHost, in file order.
 
APIEXPORT std::vector< wxString > KIGIT::DefaultSSHKeyCandidates (const wxString &aHomeDir, const wxString &aHost)
 Private keys to offer aHost, best first.
 
APIEXPORT bool KIGIT::IsSameSSHKey (const wxString &aKey, const wxString &aOther)
 Whether two key paths name the same file.
 
APIEXPORT wxString KIGIT::HomeDir ()
 The user's home folder, where ssh looks for its config and default keys.
 
APIEXPORT bool KIGIT::IsOfferableSSHKey (const wxString &aKey)
 Whether aKey can be offered to a server.