Closed
Bug 1806010
Opened 3 years ago
Closed 3 years ago
FIPS-104-3 requires we restart post programmatically
Categories
(NSS :: Libraries, enhancement)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: rrelyea, Assigned: rrelyea)
Details
Attachments
(1 file)
|
48 bytes,
text/x-phabricator-request
|
Details |
FIPS -140-3 requires that we give applications a way to restart the Power On Self-Tests programmatically. Unloading the shared library is insufficient. Shutting down softoken and restarting it with a special flag is.
| Assignee | ||
Comment 1•3 years ago
|
||
FIPS -140-3 requires that we give applications a way to restart the Power On Self-Tests programmatically. Unloading the shared library is insufficient. Shutting down softoken and restarting it with a special flag is.
This path accomplishes this task by:
- adding a new startup flag init argument flag called forcePost which is
parsed at FC_Initialize time. - Code which checks if the post ran properly takes a new Bool which tells the function whether or not to rerun the post operations. If post operations are to be rerun, all test flags are set to unknown or fail and the tests are rerun. The results are returned.
- Public facing functions to verify integrity looks for a special non-valid character flag as the first character of the filename and uses that to decide if we should rerun post or not. Callers add the flag if post should be rerun.
- pk11mode, the general FIPS test program makes sure we can turn on the forcePost flag.
| Assignee | ||
Updated•3 years ago
|
Assignee: nobody → rrelyea
| Assignee | ||
Updated•3 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Updated•3 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Comment 2•3 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•