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 965656 - self-test uses RSA keys with 512 bits (which is not FIPS 140-2 approved)
Summary: self-test uses RSA keys with 512 bits (which is not FIPS 140-2 approved)
Keywords:
Status: CLOSED DUPLICATE of bug 1235517
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libuser
Version: 6.4
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: Miloslav Trmač
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-21 13:31 UTC by Ondrej Moriš
Modified: 2015-06-27 06:47 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-27 06:47:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ondrej Moriš 2013-05-21 13:31:10 UTC
Description of problem:

Self-test (also known as 'make check') uses RSA keys of length 512 bits:

* tests/ldap_test
* tests/default_pw_test

For instance

# Create a SSL key
/usr/bin/openssl req -newkey rsa:512 -keyout "$workdir"/key1 -nodes \
    -x509 -days 2 -out "$workdir"/key3 2>/dev/null <<EOF

However, in FIPS "mode" each RSA key is expected to have 1024 or more bits and hence self-tests fails when openssl FIPS 140-2 approved mode is turned on.

Version-Release number of selected component (if applicable):

libuser-0.56.13-5.el6.x86_64

How reproducible:

100% (with FIPS mode enabled)

Steps to Reproduce:

1. OPENSSL_FORCE_FIPS_MODE=1 make check

Actual results:

Traceback (most recent call last):
  File "./tests/default_pw_test.py", line 15, in <module>
    admin = libuser.admin(prompt = prompt_callback)

Expected results:

PASS

Additional info:

The problem can be fixed easily by raising bit-length to 1024 or more.

Comment 3 RHEL Program Management 2013-10-13 23:35:17 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unable to address this
request at this time.

Red Hat invites you to ask your support representative to
propose this request, if appropriate, in the next release of
Red Hat Enterprise Linux.

Comment 4 Miloslav Trmač 2015-06-27 06:47:16 UTC
Fixed in libuser-0.56.13-7.el6_6 for #1235517; not a duplicate of that bug but I can’t add the bug to the build at the moment,

*** This bug has been marked as a duplicate of bug 1235517 ***


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