runatlantis / atlantis

Terraform Pull Request Automation
https://www.runatlantis.io
Other
7.82k stars 1.06k forks source link

Create a FIPS compliant atlantis binary #3617

Open jdaftari-confluent opened 1 year ago

jdaftari-confluent commented 1 year ago

Community Note


Describe the user story

The Federal Information Processing Standard Publication 140-2, (FIPS PUB 140-2), is a U.S government computer security standard used to approve cryptographic modules. For more information, visit the FIPS 140-2 Wikipedia Page. Since atlantis creates critical parts of the infrastructure, it is imperative to have a FIPS compliant binary that can be used to comply with the cryptographic requirements for government projects.

Describe the solution you'd like

Currently the binary is not FIPS compliant

❯ git clone git@github.com:runatlantis/atlantis.git && cd atlantis
❯ make build
❯ go tool nm ./atlantis | grep FIPS

To create a FIPS complain binary

❯ GOEXPERIMENT=boringcrypto make build
❯ go tool nm ./atlantis | grep FIPS
 1e94b70 D crypto/tls.defaultCipherSuitesFIPS
 1e94bf0 D crypto/tls.defaultFIPSCurvePreferences

Describe the drawbacks of your solution

Describe alternatives you've considered

vsawant1608 commented 7 months ago

Are there any updates on this? Do we have FIPS compliant library for atlantis?