-
Notifications
You must be signed in to change notification settings - Fork 166
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 mode build to CI #264
Comments
Work in progress - https://ci.nodejs.org/job/node-test-commit-linux-fips/, note still builds non-fips just starting by cloning existing linux job and stripping down. Will then modify to build in fips mode |
Ok build is configured to build in FIPS capable mode and tests are passing. https://ci.nodejs.org/job/node-test-commit-linux-fips/, @nodejs/build, @nodejs/crypto I'd like to add this so that its run as a sub-job as part of the regression tests as part of node-test-commit Feedback I'd like:
|
@mhdawson is it compiled with ccache? looks slow. |
One problem is that FIPS mandates minimum key sizes for (EC)DH that are quite slow to generate. See nodejs/node#3881 and nodejs/node#3902 - the ARM buildbots were affected most but even on comparatively beefy hardware it can take tens of seconds. I suggest we try it and see how well it works in practice. |
@jbergstroem I did not do anything to prevent it from being compiled with ccache. There is an extra step where is need to compile fipscanister. The actual job to compile/test took ~7 mins. The parent job shows as taking a lot longer because it had to wait for a machine. |
Any objections to stitching in what I have now (ubuntu14 only) and then we can expand the platforms covered once we have agreement in this issue ? |
One is better than none. I'd like to keep it as a separate job from the -linux one (similar to what you have at the moment). |
Agreed, I'll add what I have now and mark this for discussion in the next build meeting to discuss what the full set of platforms we'd think it makes sense to cover. |
@nodejs/collaborators just added nod-test-commit-linux-fips as subjob to node-test- commit. Let me know if you see any issues |
Note that even if the top level jobs says it took 16 mins, the job itself only took 10 because it was waiting for a free machine. I think @jbergstroem was adding an additional ubuntu 14.04 machine that would address that |
Based on discussion in the build workgroup meeting yesterday we agreed that running on a single platform provides the required coverage. At this point we think any regressions caught by these tests will be across platforms. Since we don't ship in FIPS capable mode on ay specific platforms running on the single on already enabled is therefore good enough. Going to leave as is unless we get additional input. |
I'm planning to add a config to node-test-pull-request which tests xLinux when built in FIPs mode.
See nodejs/node#3760 for discussion/details on the changes that have gone in to support this.
When built in FIPS mode, we need a "fipscanister" either built from source or a binary that we can link against. The source is not part of the standard openssl distribution , right now looks like we can pull directory from github. This does not follow the rules for building/distributing a FIPs capable runtime but for test it should be ok.
The text was updated successfully, but these errors were encountered: