Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor ECDSA Key Handling using Java Security #983

Merged
merged 1 commit into from
Feb 18, 2025

Conversation

exceptionfactory
Copy link
Contributor

@exceptionfactory exceptionfactory commented Feb 17, 2025

This pull request refactors construction of ECDSA public and private key objects using standard Java Cryptography Architecture classes in place of Bouncy Castle classes.

These changes address some of the concerns raised in issue #973, reducing direct references to the Bouncy Castle library. Separate work is required to address other Bouncy Castle references.

The implementation introduces a new shared ECDSAKeyFactory class with methods for constructing PrivateKey and PublicKey objects from source material and the associated NIST Elliptic Curve. This approach reduces duplicated code from several methods that create ECDSA key objects.

- Replaced Bouncy Castle with Java Security components for ECDSA Key Specifications
@hierynomus hierynomus merged commit 5ff27ec into hierynomus:master Feb 18, 2025
4 checks passed
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.

2 participants