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 966058 - self-test fails when FIPS mode is enabled
Summary: self-test fails when FIPS mode is enabled
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: gnupg2
Version: 6.4
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Tomas Mraz
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-22 11:45 UTC by Ondrej Moriš
Modified: 2014-02-14 14:46 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-02-14 14:46:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ondrej Moriš 2013-05-22 11:45:53 UTC
Description of problem:

Self-test of gnupg2 (also known as 'make check') fails when the rest of the system works in FIPS 140-2 approved mode (ie. when "FIPS mode is enabled").

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

gnupg2-2.0.14-4.el6

How reproducible:

100% (in FIPS mode)

Steps to Reproduce:

1. enable FIPS mode (https://access.redhat.com/site/solutions/137833)
2. build the source rpm package of gnupg2
3. execute self-test (make check in build directory)

Actual results:

make[4]: Entering directory `/root/rpmbuild/BUILD/gnupg-2.0.14/tests/openpgp'
gpg (GnuPG) 2.0.14
libgcrypt 1.4.5
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: .
Supported algorithms:
Pubkey: RSA, ELG, DSA
Cipher: 3DES, AES, AES192, AES256
Hash: MD5, SHA1, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2
PASS: version.test
FAIL: mds.test
PASS: decrypt.test
PASS: decrypt-dsa.test
MD5 SHA1 SHA256 SHA384 SHA512 SHA224 | PASS: sigs.test
FAIL: sigs-dsa.test
3DES AES AES192 AES256 | PASS: encrypt.test
3DES AES AES192 AES256 | PASS: encrypt-dsa.test
PASS: seat.test
PASS: clearsig.test
PASS: encryptp.test
PASS: detach.test
PASS: armsigs.test
PASS: armencrypt.test
PASS: armencryptp.test
PASS: signencrypt.test
FAIL: signencrypt-dsa.test
PASS: armsignencrypt.test
PASS: armdetach.test
PASS: armdetachm.test
PASS: detachm.test
PASS: genkey1024.test
3DES AES AES192 AES256 | PASS: conventional.test
3DES AES AES192 AES256 | PASS: conventional-mdc.test
PASS: multisig.test
PASS: verify.test
PASS: armor.test
PASS: import.test
======================================
3 of 28 tests failed
Please report to http://bugs.gnupg.org
======================================

Expected results:

All tests pass.

Additional info:

N/A

Comment 1 Ondrej Moriš 2013-05-22 11:48:23 UTC
Additional info:

This means that either self-test is not "FIPS-friendly" or that there are issues in gnugp2 itself.

Comment 2 RHEL Program Management 2013-10-13 23:35:00 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 3 Tomas Mraz 2014-02-14 14:46:29 UTC
It is not FIPS mode friendly. I do not think it is worth fixing it at this point given the resource constraints.


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