-
Notifications
You must be signed in to change notification settings - Fork 149
Update boringssl-fips to fips-20220613 tag
#214
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
Conversation
This lets us customize the Ssl of each connection, like set_callback which lets us customize the ConnectConfiguration a step earlier.
For now it has a single associated constant, X509Flags::TRUSTED_FIRST.
This feature expects a recent boringssl checkout (such as the one found in boring-sys/deps/boringssl), so it should not be using the same bindings as the fips feature, which are based on boring-sys/deps/boringssl-fips, which is older and with a different API.
Rebase against upstream master
Ninja is a required build component, as per the BoringSSL build directions. Using Ninja will also fix this error: > clang-12: error: no such file or directory: 'MAKE_ASM_FLAGS' PR is mostly cribbed from cloudflare#76.
Use Ninja to build BoringSSL
* BoringCrypto just installs the latest Clang 14.0.x release, so match * Install Ninja for CI to pass * Only require Ninja for FIPS builds (FIPS build requires Ninja) * Bump actions/* versions to address EOL warnings Should consider requiring Ninja for all builds, as per cloudflare#76, as upstream recommends it.
1db54d2 to
28b12c1
Compare
The SSL_CTX_set_compliance_policy and ssl_compliance_policy_t apis are not available in the fips validated hash of the boringssl library (boring-sys/deps/boringssl-fips). This adds back the feature gate for these apis.
f178d8d to
48f8c67
Compare
ccd7808 to
6fb6a1e
Compare
6fb6a1e to
83055ff
Compare
|
I just wanted to let you know that the tag referenced in this PR now has a CMVP certificate in case it was a pre-req for this moving forward |
|
Is there a plan to move forward with this PR? Or any blockers? |
|
There are two outstanding questions. One is in what way to update the PQ patch (which is not updated here). There will probably be progress this month. |
|
any updates? |
|
We dropped the |
Go's BoringCrypto has moved to using BoringSSL's
fips-20220613tag.Swap to using the same tag, which requires using Clang 14.0.x and Ninja.
This also enables the FIPS compliance policy by default when in FIPS mode.
Fixes #203.