Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1172568 - Update CAVS driver in the package to cover current FIPS revalidation needs
Update CAVS driver in the package to cover current FIPS revalidation needs
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libgcrypt (Show other bugs)
7.1
All Linux
unspecified Severity low
: rc
: ---
Assigned To: Tomas Mraz
Ondrej Moriš
:
Depends On:
Blocks: 1367501
  Show dependency treegraph
 
Reported: 2014-12-10 06:34 EST by Ondrej Moriš
Modified: 2017-08-01 16:53 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-08-01 16:53:09 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:2006 normal SHIPPED_LIVE libgcrypt bug fix update 2017-08-01 14:34:00 EDT

  None (edit)
Description Ondrej Moriš 2014-12-10 06:34:46 EST
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 07:46:40 EST
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 05:56:38 EDT
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 16:53:09 EDT
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.