-
Notifications
You must be signed in to change notification settings - Fork 630
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
bootstrap: Set ECDSA as the default SSH key algorithm #2041
Conversation
Motivation: RSA SHA-1 SSH keys are no longer accepted by GitHub https://github.blog/2021-09-01-improving-git-protocol-security-github/. Given this we are switching the default from RSA to ECDSA for `git`, `github` and `gitlab` variants of `flux bootstrap`. Signed-off-by: Stefan Prodan <[email protected]>
NB: switching to the RSA-SHA2 alternative is not possible, as Go lacks support for this format. |
Signed-off-by: Stefan Prodan <[email protected]>
@stefanprodan Just curious, why ECDSA? github seems to recommend ed25519, others do as well? |
ECDSA has trust issues all over, Ed25519 could have been a better choice here. RSA keys aren't going away, just usage of SHA-1 signatures during authentication, which affects older clients. However as @hiddeco mentioned, looks like golang doesn't handle it yet, even though it's been part of OpenSSH for a while. golang/go#37278 |
Due to various parts of Flux depending on |
We changed the default algorithm to ECDSA in fluxcd/flux2#2041. Signed-off-by: Max Jonas Werner <[email protected]>
We changed the default algorithm to ECDSA in fluxcd/flux2#2041. Signed-off-by: Max Jonas Werner <[email protected]>
Motivation: RSA SHA-1 SSH keys are no longer accepted by GitHub https://github.blog/2021-09-01-improving-git-protocol-security-github/.
Given this we are switching the default from RSA to ECDSA for
git
,github
andgitlab
variants offlux bootstrap
.Fix: #2040