Skip to content
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

Allow setting key exchange algorithms #46

Merged
merged 1 commit into from
Oct 27, 2021

Conversation

willthames
Copy link
Contributor

@willthames willthames commented Oct 18, 2021

Description of changes:

As an example, to disable diffie-hellman-group1-sha1 and
diffie-hellman-group-exchange-sha1 as per

https://datatracker.ietf.org/doc/html/draft-ietf-curdle-ssh-kex-sha2-20#page-16

this change allows the customization of key exchange algorithms to
remove unsatisfactory algorithms (README.md has an example that meets
the requirements)

Testing done:

Tested creating a bottlerocket host using an inhouse-built admin container - can confirm that KexAlgorithms is correctly set now.

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

As an example, to disable diffie-hellman-group1-sha1 and
diffie-hellman-group-exchange-sha1 as per

https://datatracker.ietf.org/doc/html/draft-ietf-curdle-ssh-kex-sha2-20#page-16

this change allows the customization of key exchange algorithms to
remove unsatisfactory algorithms (README.md has an example that meets
the requirements)
@willthames
Copy link
Contributor Author

I'll convert this to a proper PR once I can fill the testing done section

@jpculp
Copy link
Member

jpculp commented Oct 19, 2021

Thanks for opening this!

@willthames willthames marked this pull request as ready for review October 25, 2021 00:53
@willthames
Copy link
Contributor Author

@jpculp this is ready for review when you have some time

@jpculp jpculp requested review from etungsten and jpculp October 27, 2021 00:36
Copy link
Member

@jpculp jpculp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

Copy link
Contributor

@zmrow zmrow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! 🥳

@jpculp jpculp merged commit 5f61c84 into bottlerocket-os:develop Oct 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants