-
-
Notifications
You must be signed in to change notification settings - Fork 138
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
Can you use ed25519 algo and make rsa deprecated #80
Comments
It's just rsa with sha-1 that is deprecated in 2021. |
Unfortunately many clients reject connecting also with SHA-2 rsa with complaining no matching host key type found. Their offer: ssh-rsa as this algorithm fell of the clients acceptable connections. Making ed25519 default would also be highly appreciated on our side as we receive many client complaints. |
You can add the following option to your SSH client : But if you can't add this option, you can create the file at path
|
do you mean make -i |
Regardless of default, it seems that ssh-rsa is the only accepted host key algorithm for rsa host key. This is causing failures with newer versions of openssh-client (I believe it's anything after 8.8), with the error Is there a way to configure a different set of allowed algorithms? Have been digging in to see if I can find where this is set, but no luck so far. Looks to be related to this: golang/go#37278 |
Poked around in sshpiper.crypto a bit and realized that the primary changes to support SHA256 and SHA512 signing with RSA keys is already merged in from upstream, there just hasn't been a new tag made since 2020. Tested a build of sshpiper with go.mod pointed to the latest commit of sshpiper.crypto, and confirmed that it does now select SHA512 instead of SHA1 with an RSA host key. |
@bhperry latest master is always using latest |
Oh, right you are. Working off of a fork of sshpiper, so we're a bit out of sync with master. Thanks! |
@bhperry thanks for confirming. grpc driver would decouple the logic and sshpiper |
Fork was for something else. These PRs my colleague made Would like to merge our forks if you have the time to review. Happy to get up to date with master and reopen the PRs. |
ssh-rsa is the default option for host keys in your tool, can you make ed25519 as default algo. RSA is deprecated in 2021
The text was updated successfully, but these errors were encountered: