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 1172568 - Update CAVS driver in the package to cover current FIPS revalidation needs
Summary: Update CAVS driver in the package to cover current FIPS revalidation needs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libgcrypt
Version: 7.1
Hardware: All
OS: Linux
unspecified
low
Target Milestone: rc
: ---
Assignee: Tomas Mraz
QA Contact: Ondrej Moriš
URL:
Whiteboard:
Depends On:
Blocks: 1367501
TreeView+ depends on / blocked
 
Reported: 2014-12-10 11:34 UTC by Ondrej Moriš
Modified: 2017-08-01 20:53 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-01 20:53:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:2006 0 normal SHIPPED_LIVE libgcrypt bug fix update 2017-08-01 18:34:00 UTC

Description Ondrej Moriš 2014-12-10 11:34:46 UTC
Description of problem:

CAVS test driver in libgcrypt as follows:

# ./cavs_tests.sh
Running test file cavs/DSA2/req/PQGVer.req
Too many arguments for main::rsa_keygen_kat_driver at ./cavs_driver.pl line 2632, near "$qrandom)"
Execution of ./cavs_driver.pl aborted due to compilation errors.
failed test: cavs/DSA2/req/PQGVer.req rc=255
Error encountered - not packing up response file

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

libgcrypt-1.5.3-10.el7

How reproducible:

100%

Steps to Reproduce:

1. Run cavs_driver.pl in tests directory.

Actual results:

See above.

Comment 1 Tomas Mraz 2014-12-10 12:46:40 UTC
This is nothing critical, the cavs_driver is not part of shipped binary rpms and it will probably need additional updates for new algorithms anyway.

Comment 10 Ondrej Moriš 2017-05-31 09:56:38 UTC
Successfully reproduced and verified in FIPS mode.

OLD (libgcrypt-1.5.3-13.el7_3.1)
================================
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: Test
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [   PASS   ] :: Command 'rm -rf /root/rpmbuild/BUILD/libgcrypt-*' (Expected 0-255, got 0)
:: [   PASS   ] :: Command 'rpmbuild -vv -bc /root/rpmbuild/SPECS/libgcrypt.spec' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipshmac /root/rpmbuild/BUILD/libgcrypt-*/src/.libs/libgcrypt.so.??' (Expected 0, got 0)
:: [   PASS   ] :: Command 'cp -r cavs /root/rpmbuild/BUILD/libgcrypt-*/tests/' (Expected 0, got 0)
:: [   PASS   ] :: Command 'pushd /root/rpmbuild/BUILD/libgcrypt-*/tests' (Expected 0, got 0)
:: [   FAIL   ] :: Command './cavs_tests.sh' (Expected 0, got 1)
:: [   PASS   ] :: Command 'popd' (Expected 0, got 0)
:: [   FAIL   ] :: Command 'mkdir results && cp /root/rpmbuild/BUILD/libgcrypt-*/tests/cavs/*.zip results/' (Expected 0, got 1)
:: [   PASS   ] :: Command 'pushd results' (Expected 0, got 0)
:: [   FAIL   ] :: Command 'unzip *.zip' (Expected 0, got 9)
:: [   PASS   ] :: Command 'popd' (Expected 0, got 0)
:: [   FAIL   ] :: rlAssertNotDiffer: file results/DSA2/resp/SigVer.rsp was not found 
:: [  ERROR   ] :: reference-results/DSA2/resp/SigVer.rsp differs from reference!
:: [   FAIL   ] :: rlAssertNotDiffer: file results/DSA2/resp/PQGVer.rsp was not found 
:: [  ERROR   ] :: reference-results/DSA2/resp/PQGVer.rsp differs from reference!
:: [   LOG    ] :: Duration: 17s
:: [   LOG    ] :: Assertions: 8 good, 5 bad
:: [   FAIL   ] :: RESULT: Test

NEW (libgcrypt-1.5.3-14.el7)
============================
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: Test
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [   PASS   ] :: Command 'rm -rf /root/rpmbuild/BUILD/libgcrypt-*' (Expected 0-255, got 0)
:: [   PASS   ] :: Command 'rpmbuild -vv -bc /root/rpmbuild/SPECS/libgcrypt.spec' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipshmac /root/rpmbuild/BUILD/libgcrypt-*/src/.libs/libgcrypt.so.??' (Expected 0, got 0)
:: [   PASS   ] :: Command 'cp -r cavs /root/rpmbuild/BUILD/libgcrypt-*/tests/' (Expected 0, got 0)
:: [   PASS   ] :: Command 'pushd /root/rpmbuild/BUILD/libgcrypt-*/tests' (Expected 0, got 0)
:: [   PASS   ] :: Command './cavs_tests.sh' (Expected 0, got 0)
:: [   PASS   ] :: Command 'popd' (Expected 0, got 0)
:: [   PASS   ] :: Command 'mkdir results && cp /root/rpmbuild/BUILD/libgcrypt-*/tests/cavs/*.zip results/' (Expected 0, got 0)
:: [   PASS   ] :: Command 'pushd results' (Expected 0, got 0)
:: [   PASS   ] :: Command 'unzip *.zip' (Expected 0, got 0)
:: [   PASS   ] :: Command 'popd' (Expected 0, got 0)
:: [   PASS   ] :: Files reference-results/DSA2/resp/SigVer.rsp and results/DSA2/resp/SigVer.rsp should not differ 
:: [   PASS   ] :: Files reference-results/DSA2/resp/PQGVer.rsp and results/DSA2/resp/PQGVer.rsp should not differ 
:: [   LOG    ] :: Duration: 2m 34s
:: [   LOG    ] :: Assertions: 13 good, 0 bad
:: [   PASS   ] :: RESULT: Test

See TJ#1880199 for more details.

Comment 11 errata-xmlrpc 2017-08-01 20:53:09 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, 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-2017:2006


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