Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSH transport does not support newer encryption formats #297

Closed
hiddeco opened this issue Apr 14, 2021 · 0 comments · Fixed by #298
Closed

SSH transport does not support newer encryption formats #297

hiddeco opened this issue Apr 14, 2021 · 0 comments · Fixed by #298

Comments

@hiddeco
Copy link
Member

hiddeco commented Apr 14, 2021

During the consumption of this library we ran into a limitation of the NewPublicKeys helper present in the SSH transport library, which does not seem to support newer encryption formats like PEM blocks with a password protected ED25519 key.

Mitigation of this issue, even as a consumer, is fairly easy by creating our own helper that makes use of ParsePrivateKey and ParsePrivateKeyWithPassphrase from crypto/ssh, but it would likely be better if the library itself would switch to using these functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant