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

Add FIPS Support, with Autodetection of AWS ECR Endpoint #1028

Closed

Conversation

celestialorb
Copy link

Addresses #1002

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Adds in FIPS compliance to the kernel (based on the work done in #898) and also adds in auto-detection of the AWS ECR endpoint to utilize based on whether or not FIPS is detected. Admittedly though, I feel the implementation there could be improved significantly.

Testing Done

No testing has been done as of yet, I'm throwing up this PR before heading out the door on travel.

See this guide for recommended testing for PRs. Some tests may not apply. Completing tests and providing additional validation steps are not required, but it is recommended and may reduce review time and time to merge.

scripts/upgrade_kernel.sh Outdated Show resolved Hide resolved
files/bootstrap.sh Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
scripts/enable_fips.sh Outdated Show resolved Hide resolved
eks-worker-al2.json Outdated Show resolved Hide resolved
AlexSchultz-clumio added a commit to AlexSchultz-clumio/amazon-eks-ami that referenced this pull request Oct 6, 2023
Addresses awslabs#1002.

Description of Changes:

Based on awslabs#1028 which was based on awslabs#898.

This change adds a new variable called `enable_fips_mode` which will
install openssl and enable fips mode as a kernel paramter on boot.
Additionally fips mode can be enabled while running make by setting
`fips=true` on the command line which will add `-fips` to the ami name
and set `enable_fips_mode` to `true` when building.
AlexSchultz-clumio added a commit to AlexSchultz-clumio/amazon-eks-ami that referenced this pull request Oct 9, 2023
Addresses awslabs#1002.

Description of Changes:

Based on awslabs#1028 which was based on awslabs#898.

This change adds a new variable called `enable_fips` which will
install openssl and enable fips mode as a kernel paramter on boot.
Additionally fips mode can be enabled while running make by setting
`fips=true` on the command line which will add `-fips` to the ami name
and set `enable_fips` to `true` when building.
AlexSchultz-clumio added a commit to AlexSchultz-clumio/amazon-eks-ami that referenced this pull request Oct 9, 2023
Addresses awslabs#1002.

Description of Changes:

Based on awslabs#1028 which was based on awslabs#898.

This change adds a new variable called `enable_fips` which will
install openssl and enable fips mode as a kernel paramter on boot.
Additionally fips mode can be enabled while running make by setting
`fips=true` on the command line which will add `-fips` to the ami name
and set `enable_fips` to `true` when building.
AlexSchultz-clumio added a commit to AlexSchultz-clumio/amazon-eks-ami that referenced this pull request Oct 9, 2023
Addresses awslabs#1002.

Description of Changes:

Based on awslabs#1028 which was based on awslabs#898.

This change adds a new variable called `enable_fips` which will
install openssl and enable fips mode as a kernel paramter on boot.
Additionally fips mode can be enabled while running make by setting
`fips=true` on the command line which will add `-fips` to the ami name
and set `enable_fips` to `true` when building.
AlexSchultz-clumio added a commit to AlexSchultz-clumio/amazon-eks-ami that referenced this pull request Oct 10, 2023
Addresses awslabs#1002.

Description of Changes:

Based on awslabs#1028 which was based on awslabs#898.

This change adds a new variable called `enable_fips` which will
install openssl and enable fips mode as a kernel paramter on boot.
Additionally fips mode can be enabled while running make by setting
`enable_fips=true` on the command line which will add `-fips` to the
ami name and set `enable_fips` to `true` when building.
AlexSchultz-clumio added a commit to AlexSchultz-clumio/amazon-eks-ami that referenced this pull request Oct 10, 2023
Addresses awslabs#1002.

Description of Changes:

Based on awslabs#1028 which was based on awslabs#898.

This change adds a new variable called `enable_fips` which will
install openssl and enable fips mode as a kernel paramter on boot.
Additionally fips mode can be enabled while running make by setting
`enable_fips=true` on the command line which will add `-fips` to the
ami name and set `enable_fips` to `true` when building.
AlexSchultz-clumio added a commit to AlexSchultz-clumio/amazon-eks-ami that referenced this pull request Oct 10, 2023
Addresses awslabs#1002.

Description of Changes:

Based on awslabs#1028 which was based on awslabs#898.

This change adds a new variable called `enable_fips` which will
install openssl and enable fips mode as a kernel paramter on boot.
Additionally fips mode can be enabled while running make by setting
`enable_fips=true` on the command line which will add `-fips` to the
ami name and set `enable_fips` to `true` when building.
@cartermckinnon
Copy link
Member

This is implemented in #1458.

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.

3 participants