aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/transport/ssh/auth_method_test.go
Commit message (Collapse)AuthorAgeFilesLines
* *: use go-billy instead of os callsMáximo Cuadros2021-05-021-6/+20
|
* plumbing: transport/ssh, support more formats in `NewPublicKeys` SSH helper ↵Hidde Beydals2021-04-171-0/+7
| | | | | | | | | | | | | | | (#298) * Add failing ED25519 encrypted PEM test Signed-off-by: Hidde Beydals <hello@hidde.co> * Support more formats in `NewPublicKeys` SSH helper By switching to `ParsePrivateKey` and `ParsePrivateKeyWithPassphrase` from `crypto/ssh`, which has support for RSA (PKCS#1), PKCS#8, DSA (OpenSSL), and ECDSA private keys. Signed-off-by: Hidde Beydals <hello@hidde.co>
* plumbing: transport/ssh, fix no agent test on windowsv5.3.0Máximo Cuadros2021-03-291-1/+1
|
* plumbing/transport: ssh check if list of known_hosts files is emptyKuba Podgórski2018-09-071-1/+61
| | | Signed-off-by: kuba-- <kuba@sourced.tech>
* Return error when creating public keys from invalid PEMMark DeLillo2018-02-251-0/+6
| | | | | | * pem.Decode will return nil in this case, and passing that to x509.IsEncryptedBlock will cause it to panic Signed-off-by: Mark DeLillo <github.med@delillo.org>
* transport: made public all the fields and standardize AuthMethodMáximo Cuadros2017-11-211-4/+4
| | | | Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
* *: windows support, some more fixes (2) (#536)Manuel Carmona2017-08-071-1/+1
| | | | | | | | | | | | | | * fixed windows failed test: "143 FAIL: worktree_test.go:314: WorktreeSuite.TestFilenameNormalization" * fixed windows failed test: "489: FAIL: auth_method_test.go:106: SuiteCommon.TestNewSSHAgentAuthNoAgent" * fixed windows failed test: "279 FAIL: server_test.go:50: ServerSuite.TestClone" fixed windows failed test: "298 FAIL: server_test.go:37: ServerSuite.TestPush" * fixed windows failed test: "316 FAIL: <autogenerated>:26: UploadPackSuite.TearDownSuite" * fixed windows failed test: "FAIL: <autogenerated>:6: IndexSuite.TearDownSuite"
* Use xanzy/ssh-agent to create the ssh agent correctly based on os.Ethan Young2017-06-011-1/+11
|
* transport: ssh, NewPublicKeys support for encrypted PEM filesMáximo Cuadros2017-04-211-2/+9
|
* transport: ssh, NewPublicKeys helperMáximo Cuadros2017-04-211-0/+22
|
* plumbing/transport: git, error on empty SSH_AUTH_SOCKMáximo Cuadros2017-02-211-0/+15
|
* transport: create Client interface (#132)Santiago M. Mola2016-11-231-0/+91
* plumbing: move plumbing/client package to plumbing/transport. * transport: create Client interface. * A Client can instantiate any client transport service. * InstallProtocol installs a Client for a given protocol, instead of just a UploadPackService. * A Client can open a session for fetch-pack or send-pack for a specific Endpoint. * Adapt ssh and http clients to the new client interface. * updated doc