You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
andParsePrivateKeyWithPassphrase
fromcrypto/ssh
, but it would likely be better if the library itself would switch to using these functions.The text was updated successfully, but these errors were encountered: