-
Notifications
You must be signed in to change notification settings - Fork 111
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
Building with hardening=stig fails during cleanup.sh #51
Comments
@stanhu I have seen you comment on a few issues across EKS + fips hardening across a few different projects. Are you able to share what version / configuration you got going with EKS + FIPS? |
@spunkedy I ended up using awslabs/amazon-eks-ami#898. I used EKS w/ Kubernetes 1.21: https://docs.gitlab.com/ee/development/fips_compliance.html#build-a-custom-eks-ami |
Thanks! |
Hi there - the latest release of the Amazon plugin has been patched to resolve the issues around legacy key algorithms, which may be at play here given that FIPs is enabled. Alternatively, there is the temporary_key_pair_type configuration argument that you can try to change the type of SSH key to "ed25519" which might work. I would suggest giving one of the option suggested a try and seeing if it resolves your issue. |
Thanks, it looks like with the test above I got a slightly different issue:
Details:
|
we are running into the same issue and have opened a support ticket with AWS. If anyone has any solutions of how to create an EKS RedHat 8 STIG based image, your info would be very much appreciated. |
Did this version of this repo work for you, for RHEL 8 - STIG - EKS image? Which kubernetes did you use. |
What happened:
I applied this diff:
I attempted to build this via
make build-rhel8-1.21-fips
andmake build-rhel7-1.21-fips
and got:I noticed
README.md
mentions:Is this relevant here (hashicorp/packer#8609)? I don't see any SSH hanshake failures, only a
sudo
failure.When I dropped the
hardening=stig
flag, the build worked.What you expected to happen:
Build successful
How to reproduce it (as minimally and precisely as possible):
See diff above.
Environment:
The text was updated successfully, but these errors were encountered: