mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
7c48cb5601
Default to FIPS off even in FIPS builds. Add JS API to check and control FIPS mode. Add command line arguments to force FIPS on/off. Respect OPENSSL_CONF variable and read the config. Add testing for new features. Fixes: https://github.com/nodejs/node/issues/3819 PR-URL: https://github.com/nodejs/node/pull/5181 Reviewed-By: Fedor Indutny <fedor@indutny.com> Reviewed-by: Michael Dawson <michael_dawson@ca.ibm.com>
13 lines
284 B
INI
13 lines
284 B
INI
# Skeleton openssl.cnf for testing with FIPS
|
|
|
|
openssl_conf = openssl_conf_section
|
|
authorityKeyIdentifier=keyid:always,issuer:always
|
|
|
|
[openssl_conf_section]
|
|
# Configuration module list
|
|
alg_section = evp_sect
|
|
|
|
[ evp_sect ]
|
|
# Set to "yes" to enter FIPS mode if supported
|
|
fips_mode = no
|