-
Notifications
You must be signed in to change notification settings - Fork 603
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
Weak support for Diffie Hellman groups for SSH KEX #1320
Comments
Rough sketch of the steps that would be required to implement option 2:
Some more details about what you are actually configuring, because it is always handy to know what exactly you are fiddling with, besides that you make it work: |
No, this is another issue. |
maybe this workaround is helpful for anyone up against this problem (#1319) after research into a possible p/r here, i didn't see a way to access the basic strategy is to switch to libgit2 and "proto-sed" a configmap-based
|
This is now fixed based on:
Closing as there seem to be nothing else left to do here, apart from the occasional update to the latest |
Discussion ref: #1319
We do at present only support a very limited set of Diffie Hellman groups as SSH KEX algorithms, and based on the data gathered from the discussion above, this becomes an issue when people have hardened their on-primes Git instances.
Our options to extend support for more groups is limited, as we depend on
golang/crypto
implementations.Based on the information from the discussion above, I see two options:
flux
CLI and controllers or related (Custom Resource Definition) APIs to extend the configuration of default supported KEX algorithms.diffie-hellman-group-exchange-sha256
to our own defaults in all SSH clients across the project, but as the least preferred option. This means the algorithm will only be selected if no other option is found when the client and server exchange supported algorithms.Because the list of supported algorithms in
golang/crypto
is almost static, and the work required to implement option 1 takes a lot more time than option 2, my personal preference is to go with the latter option, which should automagically resolve things for most people.The text was updated successfully, but these errors were encountered: