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
It seems like logging in with an ed25519 keypair is not supported in paramiko.
paramiko/client does not look for id_ed25519, and there's also no
ed25519key.py file implementing the algorithm. Probaby this or this could be a good start...
Reacted by Nikolai Røed Kristiansen, Alex Gaynor, Brad Glasbergen and Daniel Nagy1
-o Causes ssh-keygen to save SSH protocol 2 private keys using the new OpenSSH format rather than the more compatible PEM format. The new format has increased resistance to brute-force password cracking but is not supported by versions of OpenSSH prior to 6.5. Ed25519 keys always use the new private key format.
So to support the Ed25519 keys, paramiko first needs to support the new OpenSSH private key format. See #602.
I've converted all my keys to SSH protocol 2 private key format and it works with mysql-workbench / paramiko. Possibly this is because of gpg-agent caching the keys, but it works.
@n0ts Still waiting on someone to submit a PR for it, but we do want to support it.
Relatedly, #602 is about some groundwork for this, which in turn kinda wanted bcrypt support in Cryptography - which is now out, so that's one less blocker.
Relatedly, #602#602 is
about some groundwork for this, which in turn kinda wanted bcrypt support
in Cryptography - which is now out, so that's one less blocker.
"I disapprove of what you say, but I will defend to the death your right to
say it." -- Evelyn Beatrice Hall (summarizing Voltaire)
"The people's good is the highest law." -- Cicero
GPG Key fingerprint: D1B3 ADC0 E023 8CA6
Activity
alekibango commentedon Jan 30, 2015
ed25519 would be really good key type to support!
It is more efficient and maybe also more secure than rsa.
bitprophet commentedon Feb 4, 2015
This is probably related to other stuff marked 'Keys', adding it there on the slim chance other existing tickets don't mention this specific one.
xchs commentedon May 8, 2015
+1
alex commentedon Nov 1, 2015
FWIW, the
pynaclpackage has all the crypto you'd need for this. Happy to review.bitprophet commentedon Nov 2, 2015
#67 (comment) (a recently left comment on a not really related much older ticket) is probably symptomatic of this lack of feature support.
mchlt commentedon Nov 7, 2015
Per
man ssh-keygen:-o Causes ssh-keygen to save SSH protocol 2 private keys using the new OpenSSH format rather than the more compatible PEM format. The new format has increased resistance to brute-force password cracking but is not supported by versions of OpenSSH prior to 6.5. Ed25519 keys always use the new private key format.
So to support the Ed25519 keys, paramiko first needs to support the new OpenSSH private key format. See #602.
eworm-de commentedon Nov 9, 2015
I've converted all my keys to SSH protocol 2 private key format and it works with mysql-workbench / paramiko. Possibly this is because of gpg-agent caching the keys, but it works.
n0ts commentedon Sep 28, 2016
Do you have a plan support ssh key type ed25519?
thedotedge commentedon Oct 7, 2016
👍
bitprophet commentedon Oct 10, 2016
@n0ts Still waiting on someone to submit a PR for it, but we do want to support it.
Relatedly, #602 is about some groundwork for this, which in turn kinda wanted bcrypt support in Cryptography - which is now out, so that's one less blocker.
alex commentedon Oct 10, 2016
To be clear, we don't have
bcryptincryptography, we havebcrypt_pbkdfinbcrypt:-)On Mon, Oct 10, 2016 at 12:37 PM, Jeff Forcier [email protected]
wrote:
"I disapprove of what you say, but I will defend to the death your right to
say it." -- Evelyn Beatrice Hall (summarizing Voltaire)
"The people's good is the highest law." -- Cicero
GPG Key fingerprint: D1B3 ADC0 E023 8CA6
daniel-ziegler commentedon Feb 10, 2017
👍
Fixes paramiko#325 -- add support for Ed25519 keys
Fixes paramiko#325 -- add support for Ed25519 keys
Changelog re #972, re #325, closes #325
Fixes paramiko#325 -- add support for Ed25519 keys
Sebo97 commentedon Sep 13, 2023
Is there still no support for ed25519 ?
jun66j5 commentedon Sep 13, 2023
@Sebo97 What? This issue has been fixed as completed 6 years ago (Ed25519 support available since paramiko 2.2.0).
Use Cryptography instead of PyNaCl for Ed25519 keys
Use Cryptography instead of PyNaCl for Ed25519 keys