-
Notifications
You must be signed in to change notification settings - Fork 24
[Feature Request] Support of Ed25519 SSH keys #99
Comments
I am using ssh2-sftp-client for SFTP. I am not sure if it is possible to use the key format there. Is there a way to convert? |
I have find a way to convert keys. I am using sshpk module for that. Since version 9.32.3, you can set the {
"deploy": {
"targets": [
{
"type": "sftp",
"user": "mkloubert",
"privateKey": "/.ssh/id_rsa",
"privateKeySourceFormat": "auto",
// ....
}
]
}
} By default it will convert this to |
Thank you for your quick response, but I am not entirely sure whether we are on the same page. I'd opted intentionally for elliptic-curve keys and specifically for an Ed25519 key (admittedly, a quite popular choice within the security community). Therefore, I am afraid to say that "(format) conversion" is not the issue. It appears to me, that the SSH client you are employing has omitted support for this kind of SSH keys. Let me know whether you need more information about the cryptographic background. |
Ah, OK. I wasn't really sure if a conversion is the really answer. But on the other hand I have implemented a new, useful feature :D Yes, tell me the background. What I currently see is, that this is a problem of the SSH client. But I am not sure if there is a NodeJS module that supports this feature. |
Related to: TritonDataCenter/node-sshpk#72 |
Hi,
Unless I am missing something, Ed25519 SSH keys are not supported for sftp targets. Not the end of the world, but a bit annoying.
Thank you.
The text was updated successfully, but these errors were encountered: