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 2118654 - Libcryptsetup must check only for '/proc/sys/crypto/fips_enabled' to detect system in FIPS mode [rhel-9.0.0.z]
Summary: Libcryptsetup must check only for '/proc/sys/crypto/fips_enabled' to detect s...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: cryptsetup
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Ondrej Kozina
QA Contact: guazhang@redhat.com
URL:
Whiteboard:
Depends On: 2080516
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-08-16 11:07 UTC by RHEL Program Management Team
Modified: 2022-09-20 17:50 UTC (History)
9 users (show)

Fixed In Version: cryptsetup-2.4.3-4.el9_0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2080516
Environment:
Last Closed: 2022-09-20 14:12:31 UTC
Type: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-131196 0 None None None 2022-08-16 11:15:27 UTC
Red Hat Product Errata RHBA-2022:6606 0 None None None 2022-09-20 14:12:34 UTC

Comment 1 guazhang@redhat.com 2022-08-17 08:52:04 UTC
Hi
[anaconda root@storageqe-59 ~]# sysctl crypto.fips_enabled
crypto.fips_enabled = 1
[anaconda root@storageqe-59 ~]# dd if=/dev/zero of=test.tar bs=1M count=100
100+0 records in
100+0 records out
104857600 bytes (105 MB, 100 MiB) copied, 0.197924 s, 530 MB/s
[anaconda root@storageqe-59 ~]#  ls /etc/system-fips
ls: cannot access '/etc/system-fips': No such file or directory
[anaconda root@storageqe-59 ~]# 
[anaconda root@storageqe-59 ~]# cryptsetup luksFormat --pbkdf argon2id  test.tar -q

Enter passphrase for test.tar: 
Only PBKDF2 is supported in FIPS mode.
Failed to set pbkdf parameters.
[anaconda root@storageqe-59 ~]# 
[anaconda root@storageqe-59 ~]# cryptsetup luksFormat --pbkdf argon2id  test.tar -q
   ^C
[anaconda root@storageqe-59 ~]# cryptsetup luksFormat  test.tar -q
Enter passphrase for test.tar: 
[anaconda root@storageqe-59 ~]#  cryptsetup luksDump  test.tar | grep PBKDF
        PBKDF:      pbkdf2
[anaconda root@storageqe-59 ~]# 

[anaconda root@storageqe-59 ~]# uname -a
Linux storageqe-59.rhts.eng.pek2.redhat.com 5.14.0-70.13.1.el9_0.x86_64 #1 SMP PREEMPT Thu Apr 14 12:42:38 EDT 2022 x86_64 x86_64 x86_64 GNU/Linux
[anaconda root@storageqe-59 ~]# 


test pass with cryptsetup-2.4.3-4.el9_0.1 and RHEl-9.0.0 Z stream

Comment 10 errata-xmlrpc 2022-09-20 14:12:31 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 (cryptsetup bug fix and enhancement update), 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:6606


Note You need to log in before you can comment on or make changes to this bug.