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 968583 - selftest fails in fips mode
Summary: selftest fails in fips mode
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: gnutls
Version: 6.3
Hardware: Unspecified
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Nikos Mavrogiannopoulos
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-29 22:08 UTC by Ondrej Moriš
Modified: 2015-11-10 11:15 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-10 11:15:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ondrej Moriš 2013-05-29 22:08:23 UTC
Description of problem:

Execution of gnutls selftest fails when the rest of the system is in FIPS 140-2 approved mode (a.k.a. "FIPS mode"). In particular, the following two tests fail:

* cve-2009-1416
* set_pkcs12_cred

It can be seen quite easily that the first one is not "FIPS-friendly", the test uses generation of DSA key of length 512 bits which is too short for FIPS (1024 bits and more are needed), therefore - either the test can be fixed easily by raising the length to 1024, or (if key length is essential for CVE-2009-1416) the test should be skipped. 

As far as I can see, the second test uses some encryption via simple passwords and it fails without any obvious reason with the following errors:

./set_pkcs12_cred 
Reading PKCS#12 blob from `pkcs12-decode/client.p12' using password `foobar'.
x509_pkcs12 failed -40: Encryption has failed.
Read file OK
Reading PKCS#12 blob from `pkcs12-decode/pkcs12_2certs.p12' using password `'.
x509_pkcs12 failed -40: Encryption has failed.
Read file OK
Self test `./set_pkcs12_cred' finished with 2 errors

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

gnutls-2.8.5-10.el6_4.1

How reproducible:

100%

Steps to Reproduce:

1. Boot machine in fips mode [1].
2. Download and build the source package.
3. Execute the self-test ('make check').

[1] https://access.redhat.com/knowledge/solutions/137833

Actual results:

Two tests fail.

Expected results:

All tests pass.

Additional info:

N/A

Comment 1 RHEL Program Management 2013-10-13 23:32:05 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 RHEL Program Management 2015-11-10 11:15:57 UTC
Development Management has reviewed and declined this request.
You may appeal this decision by reopening this request.


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