-
- Notifications
You must be signed in to change notification settings - Fork 33.7k
Closed
Labels
cryptoIssues and PRs related to the crypto subsystem.Issues and PRs related to the crypto subsystem.
Description
- Version:6.1.0.0
- Platform:Linux 8df1860c1f5b 4.9.12-moby deps: update openssl to 1.0.1j #1 SMP Tue Feb 28 12:11:36 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
- Subsystem:crypto
When using a fips enabled build of node:
- using only application control of fips with
crypto.fips = 0or1works as expected --enable-fipsandcrypto.fips=0- working as expected (FIPS disabled)--force-fipsandcrypto.fips=0- working as expected with following error
crypto.fips = 0; ^ Error: Cannot set FIPS mode, it was forced with --force-fips at startup.) with --enable-fips or --force-fips and crypto.fips = 1 the app fails ( crypto.fips = 1; ^ Error: error:2D078072:FIPS routines:FIPS_module_mode_set:fips mode already setI'm trying to build a migration plan for adopting fips and having both crypto.fips = 1 in the application and --enable-fips or --force-fips seems like a valid use case to me ?
Metadata
Metadata
Assignees
Labels
cryptoIssues and PRs related to the crypto subsystem.Issues and PRs related to the crypto subsystem.