aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/transport/ssh/auth_method.go
Commit message (Collapse)AuthorAgeFilesLines
* all: replace go-homedir with os.UserHomeDirDaniel Martí2022-05-291-5/+6
| | | | Added in Go 1.12, this means we need one less dependency.
* *: use go-billy instead of os callsMáximo Cuadros2021-05-021-1/+1
|
* plumbing: transport/ssh, support more formats in `NewPublicKeys` SSH helper ↵Hidde Beydals2021-04-171-18/+4
| | | | | | | | | | | | | | | (#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>
* *: migration from gopkg to go modulesMáximo Cuadros2020-03-101-1/+1
|
* *: avoid unnecessary conversionsChristian Muehlhaeuser2019-07-291-1/+1
| | | | | | | No need to convert these values, they're already of the right type. Signed-off-by: Christian Muehlhaeuser <muesli@gmail.com> (cherry picked from commit a1d8a7ac8bd0e4aff0f27dbb8bb37b8bd13a1346)
* plumbing/transport: ssh check if list of known_hosts files is emptyKuba Podgórski2018-09-071-6/+8
| | | Signed-off-by: kuba-- <kuba@sourced.tech>
* Return error when creating public keys from invalid PEMMark DeLillo2018-02-251-0/+3
| | | | | | * 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>
* Fix mistypingDmitry Labutin2018-02-071-2/+2
| | | | Signed-off-by: Dmitry Labutin <dmitry@labutin.com>
* transport: made public all the fields and standardize AuthMethodMáximo Cuadros2017-11-211-34/+48
| | | | Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
* Avoid using user.Current()Kim, Hirokuni2017-08-081-6/+20
| | | | | user.Current() causes 'Current not implemented' error when crosscompiled. See https://github.com/golang/go/issues/6376
* Use xanzy/ssh-agent to create the ssh agent correctly based on os.Ethan Young2017-06-011-13/+4
|
* transport: make Endpoint an interface, fixes #362Santiago M. Mola2017-04-271-4/+9
| | | | | * add internal *url.URL implementation for regular URLs. * add internal implementation for SCP-like URLs.
* transport: ssh, NewPublicKeys support for encrypted PEM filesMáximo Cuadros2017-04-211-7/+26
|
* transport: ssh, NewPublicKeys helperMáximo Cuadros2017-04-211-23/+46
|
* transport: ssh, fork knownhosts package (temporal)Máximo Cuadros2017-04-171-1/+1
|
* transport: ssh, default HostKeyCallbackMáximo Cuadros2017-04-161-0/+86
|
* plumbing/transport: git, error on empty SSH_AUTH_SOCKMáximo Cuadros2017-02-211-3/+11
|
* transport: create Client interface (#132)Santiago M. Mola2016-11-231-0/+157
* 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