Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
1. Proposed title of this feature request: Enable '--enable-fips' option for nodejs
3. What is the nature and description of the request?
Applications built using Redhat NodeJS runtime should work on Openshift with FIPS enabled.
5. How would the customer like to achieve this? (List the functional requirements here)
nodejs 12 should be built to allow --enable-fips or --force-fips flags.
6. For each functional requirement listed, specify how Red Hat and the customer can test to confirm the requirement is successfully implemented.
- nodejs in UBI 8 FIPS Mode should not return an unimplemented error when running with '--enable-fips' or '--force-fips' options.
- nodejs should start and function in an Openshift 4.x environment that is enabled for FIPS.
7. Is there already an existing RFE upstream or in Red Hat Bugzilla? No
8. Does the customer have any specific timeline dependencies and which release would they like to target (i.e. RHEL5, RHEL6)? ASAP
9. Is the sales team involved in this request and do they have any additional input? Sales is not involved.
10. List any affected packages or components.
- nodejs-12.16.1-2.module+el8.2.0+6116+59db3763
- npm-6.13.4-1.12.16.1.2.module+el8.2.0+6116+59db3763
11. Would the customer be able to assist in testing this functionality if implemented? Yes
(In reply to Andrew Mike from comment #0)
> - nodejs in UBI 8 FIPS Mode should not return an unimplemented error when
> running with '--enable-fips' or '--force-fips' options.
Andrew, do you think you can get clarification on this? What does it mean "unimplemented error". Trying just simple test cases, this is my experience:
~~~
$ node --enable-fips
node: bad option: --enable-fips
$ node --force-fips
node: bad option: --force-fips
~~~
So where comes the "unimplemented error" from.
> - nodejs should start and function in an Openshift 4.x environment that is
> enabled for FIPS.
I am quite sure it does start and function already. If it does not, then I would appreciate more details.
Just to be clear, if system is FIPS enabled, it does not matter if the '--enable-fips' or '--force-fips' are used, supported or not. Node.js will use just FIPS certified functionality provided by system OpenSSL. You can find more details at https://access.redhat.com/articles/3655361.
Also, I wonder what is the output of following command:
~~~
$ node -p 'crypto.getFips()'
~~~
which should tell us if the FIPS mode is (system wide) enabled, no matter if the `--{enable,force}-fips` flags were used.
Looking into this, I believe that Node.js is unnecessarily providing misleading information, which depends on build configuration, while the system configuration might be different. I have opened this upstream ticket which could help to address this issue:
https://github.com/nodejs/node/issues/34903
All the trackers are now MODIFIED, and the fix should be shipped in the appropriate release. Closing this as NEXTRELEASE, please follow the individual trackers for future work.
1. Proposed title of this feature request: Enable '--enable-fips' option for nodejs 3. What is the nature and description of the request? Applications built using Redhat NodeJS runtime should work on Openshift with FIPS enabled. 5. How would the customer like to achieve this? (List the functional requirements here) nodejs 12 should be built to allow --enable-fips or --force-fips flags. 6. For each functional requirement listed, specify how Red Hat and the customer can test to confirm the requirement is successfully implemented. - nodejs in UBI 8 FIPS Mode should not return an unimplemented error when running with '--enable-fips' or '--force-fips' options. - nodejs should start and function in an Openshift 4.x environment that is enabled for FIPS. 7. Is there already an existing RFE upstream or in Red Hat Bugzilla? No 8. Does the customer have any specific timeline dependencies and which release would they like to target (i.e. RHEL5, RHEL6)? ASAP 9. Is the sales team involved in this request and do they have any additional input? Sales is not involved. 10. List any affected packages or components. - nodejs-12.16.1-2.module+el8.2.0+6116+59db3763 - npm-6.13.4-1.12.16.1.2.module+el8.2.0+6116+59db3763 11. Would the customer be able to assist in testing this functionality if implemented? Yes