diff options
author | Hidde Beydals <hiddeco@users.noreply.github.com> | 2021-04-17 00:08:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-17 00:08:01 +0200 |
commit | 77e7ef99c8cadc8ba769c1971a3acc8d7844adb0 (patch) | |
tree | 2ee589431cfb867c106089f6af53689d52cf8b53 /plumbing/transport/file/client.go | |
parent | a50d22d149e9bb5f0b64f5d4c4a8e2cd0a2a51a4 (diff) | |
download | go-git-77e7ef99c8cadc8ba769c1971a3acc8d7844adb0.tar.gz |
plumbing: transport/ssh, support more formats in `NewPublicKeys` SSH helper (#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>
Diffstat (limited to 'plumbing/transport/file/client.go')
0 files changed, 0 insertions, 0 deletions