Bug 993441
Summary: | NSS needs to conform to new FIPS standard. [rhel-6.6] | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Bob Relyea <rrelyea> | |
Component: | nss-softokn | Assignee: | Elio Maldonado Batiz <emaldona> | |
Status: | CLOSED ERRATA | QA Contact: | Alicja Kario <hkario> | |
Severity: | high | Docs Contact: | ||
Priority: | high | |||
Version: | 6.5 | CC: | amarecek, arubin, ebenes, eparis, hkario, kengert, ksrot, omoris, pwouters, sforsber, tlavigne, tmraz | |
Target Milestone: | rc | |||
Target Release: | 6.6 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | nss-softokn-3.14.3-13.el6 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 993443 1004102 (view as bug list) | Environment: | ||
Last Closed: | 2014-10-14 05:02:40 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: | 1013077, 1070830 |
Description
Bob Relyea
2013-08-06 00:04:07 UTC
Argg.... bugzilla took cr as an "ok let's create the bug... here.s the real description... Description of problem: ( from the testing lab... ) just today and effective immediately there is a new IG published. This new IG affects all user space libraries. The self tests must be invoked by a .ctor entry: see http://csrc.nist.gov/groups/STM/cmvp/documents/fips140-2/FIPS1402IG.pdf page 116 (section 9.10). It is from now on disallowed that the calling app invokes the init function for executing the self tests. The self test functions must be invoked with a void __attribute__((contructor)) function. For the kernel module, the self test must be invoked in the __init function -- I think that is the case with the testmgr. How reproducible: Inspection. (In reply to Bob Relyea from comment #1) > It is from now on disallowed that the calling app invokes the init > function for executing the self tests. The self test functions must be > invoked with a void __attribute__((contructor)) function. So openswan must now call the test function? If so, can you tell me what to call? This bug must also be used to make sure that a -fips subpackage is created. not just the self test fix. Paul, No. The test function will be called by the OS at DLL load time. Applications don't need to do anything (This basically moves the test function from NSS_Init time to load time). Actually the -fips subpackage will not be created. The FIPS mode tests should be based on this table: | /etc/system-fips | no /etc/system-fips ---------------------+------------------+---------------------- kernel fips flag | enforce | no test/no fips ---------------------+------------------+------ no kernel fips flag | test | no test test = verify checksums only enforce = verify checksums & abort in case of failure To be clear, NSS implements the /etc/system-fips side of this equation, as NSS can be put in FIPS mode whether or not the system is in fips-mode | | -------------------+-------------+ NSS db in FIPS | enforce | -------------------+-------------+ NSS db not in FIPS | test | -------------------+-------------+ test = verify checksums (and POST) only enforce = verify checksums (and POST) at load time, abort a init time if failed. This is in conformance with FIPS requirements. fixed in nss-softokn-3.14.3-13.el6 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. http://rhn.redhat.com/errata/RHBA-2014-1378.html |