Conversation
Updated config template: - disable (weak) PKCS5S2 password storage scheme - set (strong) wrapping for Crypto Manager to allow installation in FIPS 140-3 compliant environment.
Member
Code reviewFound 2 issues:
OpenDJ/opendj-server-legacy/resource/config/config.ldif Lines 106 to 110 in 19dcae2
OpenDJ/opendj-server-legacy/resource/config/config.ldif Lines 1177 to 1180 in 19dcae2 |
Member
|
#1058 addresses what this PR works around, without changing the template:
Unless your installation failed for a reason the two findings above do not cover — the exact error from |
vharseko
added a commit
to vharseko/OpenDJ
that referenced
this pull request
Sep 23, 2026
PKCS5S2PasswordStorageScheme asked for SecureRandom "SHA1PRNG" by name, at initialization and again in the offline encoder. A FIPS-restricted JCE (SunPKCS11-NSS-FIPS, BC-FIPS) registers no such algorithm, so the scheme threw a message-less InitializationException and the server refused to start — the failure OpenIdentityPlatform#1054 works around by disabling the scheme in the config template, which would also stop {PKCS5S2} hashes imported from Atlassian products from binding on every new installation. Take the provider's default SecureRandom instead, as the PBKDF2 family already does, and let the InitializationException of both PKCS5S2 and the PBKDF2 schemes name the algorithm that is missing rather than leaving the administrator with no reason for the failed start. The SHA1PRNG constant has no user left and goes. The tests withdraw the providers which register the service — SUN for SHA1PRNG, with BC-FIPS standing in for the digests, SunJCE for PBKDF2WithHmacSHA1 — run the scheme without them, and put them back.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updated config template:
to allow installation in FIPS 140-3 compliant environment.