Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
x/crypto/ssh/agent: cannot add ed25519 keys to local ssh agent process #27671
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
After editing ed25519.GenerateKey() locally and comparing it against rsa.GenerateKey() and agent.client.insertCert() I believe I know why this is happening.
The switch statement insertCert() uses is comparing references to those types rather than the types themselves for example
With this in mind, I went through and adjusted my local copy of GenerateKey to the below.
Upon rerunning the test:
https://go-review.googlesource.com/c/crypto/+/219506 addresses this