Bug 1706920

Summary: libgcrypt should implement continuous random test or use the kernel AF_ALG interface for random
Product: Red Hat Enterprise Linux 8 Reporter: Simo Sorce <ssorce>
Component: libgcryptAssignee: Tomas Mraz <tmraz>
Status: CLOSED ERRATA QA Contact: Daiki Ueno <dueno>
Severity: high Docs Contact:
Priority: high    
Version: 8.1CC: dueno, hkario, omoris, szidek
Target Milestone: rcKeywords: Triaged
Target Release: 8.1Flags: ssorce: mirror+
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: libgcrypt-1.8.3-3.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-05 22:27:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1591659    

Description Simo Sorce 2019-05-06 13:59:57 UTC
FIPS requires continuous tests of the input to the libraries CSPRNG but the kernel getrandom() (or /dev[u]random) interface does not do it.

Available options is to implement tests in the library or use the kernel AF_ALG DRBG source which wil have these tests implemented in kernel.

Comment 1 Tomas Mraz 2019-05-06 14:03:32 UTC
This should be applied in the FIPS mode.

Comment 8 errata-xmlrpc 2019-11-05 22:27:22 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-2019:3605