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.

Bug 2055383

Summary: Enable AlgorithmParameters and AlgorithmParameterGenerator services in FIPS mode [rhel-9, openjdk-17]
Product: Red Hat Enterprise Linux 9 Reporter: Andrew John Hughes <ahughes>
Component: java-17-openjdkAssignee: Martin Balao <mbalao>
Status: CLOSED ERRATA QA Contact: OpenJDK QA <java-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0CC: fferrari, jandrlik, pmikova
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: ahughes: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: java-17-openjdk-17.0.2.0.8-13.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-17 14:06:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1994682    

Description Andrew John Hughes 2022-02-16 19:30:25 UTC
This bug was initially created as a copy of Bug #2052070

I am copying this bug because: 

Need to fix this in RHEL 9 too.

As noticed while developing the FIPS Key Importer enhancement for java-17-openjdk, some AlgorithmParameters services are required in FIPS mode. As indicated by their name, these services are used to hold data later used as input for crypto services. It is worth noticing that none of them implement the actual crypto primitives, so enabling them should not affect FIPS compliance in any sense. An analogous case can be described for AlgorithmParameterGenerator services.

In the context of fixing this bug, we should consider the following approaches:

1) Enabling all AlgorithmParameters and AlgorithmParameterGenerator services under the rationale that they do not affect FIPS compliance, that they might be required in the future or even now by yet-to-be-uncovered bugs;

2) Enabling only those known to be required at this time and update the list in farther iterations if needed;

3) Perform a thorough static analysis to determine exactly what is required now and enable the rest only if needed in the future; and,

4) Something in-between #1, #2 and #3.

As demonstrated in a first analysis of this issue, the approach #3 has more complexity than what it looks like.

--
[1] - https://bugzilla.redhat.com/show_bug.cgi?id=1994661#c6

Comment 1 Andrew John Hughes 2022-02-17 19:32:17 UTC
*** Bug 2034696 has been marked as a duplicate of this bug. ***

Comment 16 errata-xmlrpc 2022-05-17 14:06:32 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (new packages: java-17-openjdk), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:2647