Skip to content

Conversation

@tomaswolf
Copy link
Member

BC-FIPS is quite different from normal BC when it comes to ed25519 keys. FIPS 140-3 includes ed25519. (140-2 didn't.)

Back-port generic ed25519 operations from the 3.0.0 milestone branch and use them to get raw key bytes, or to construct keys from raw bytes. This avoids the need to use BC-specific classes that differ between BC-FIPS and normal BC.

Add a test run that executes a test using BC-FIPS instead of plain BC. The test exercises all kinds of public key types.

Fixes #856.

BC-FIPS is quite different from normal BC when it comes to ed25519 keys.
FIPS 140-3 includes ed25519. (140-2 didn't.)

Back-port generic ed25519 operations from the 3.0.0 milestone branch and
use them to get raw key bytes, or to construct keys from raw bytes. This
avoids the need to use BC-specific classes that differ between BC-FIPS
and normal BC.

Add a test run that executes a test using BC-FIPS instead of plain BC.
The test exercises all kinds of public key types.
@tomaswolf tomaswolf merged commit 1ef64dc into apache:master Dec 4, 2025
7 checks passed
@tomaswolf tomaswolf deleted the gh-856 branch December 4, 2025 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bouncy Castle Fips provider 2.0.0 usage with Apache Mina SSHD :: SCP » 2.15.0 can cause class not found exception for Ed25519 support

1 participant