You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Stop explicitly selecting SHA1PRNG in the Elytron crypto provider #55544
The Elytron crypto provider explicitly selects SHA1PRNG when generating ephemeral EC key pairs for outgoing ECDH-ES JWE and when generating X.509 certificate serial numbers. Replace these explicit selections with provider-neutral SecureRandom selection, consistent with the default crypto provider.
This removes avoidable, provider-specific selection of a SHA-1-based PRNG and allows the configured JCA providers to select the appropriate secure random implementation. The change does not alter any protocol algorithm or serialized identifier.
Goals
Use provider-neutral secure randomness when generating ECDH-ES ephemeral key pairs.
Use provider-neutral secure randomness when generating X.509 certificate serial numbers.
Preserve ECDH-ES interoperability and certificate-generation behavior.
Non-Goals
Change the ECDH-ES key derivation function or supported JWE algorithms.
Change the default or FIPS crypto providers.
Remove SHA-1-based protocol algorithms retained for interoperability.
Remove the Elytron crypto provider.
Acceptance criteria
crypto/elytron/src/main no longer explicitly requests SHA1PRNG.
Elytron ECDH-ES encryption and decryption tests continue to pass.
Elytron certificate-generation tests continue to pass.
The selected random implementation remains controlled by the configured JCA providers.
Activity