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

secp256k1-bouncy module, mark Bouncy Castle as an API dependency #18

Merged
merged 1 commit into from
Mar 8, 2024

Conversation

msgilligan
Copy link
Member

@msgilligan msgilligan commented Mar 8, 2024

BouncyPrivKey extends SecP256K1FieldElement and therefore has an API dependency on Bouncy Castle. We should remove this dependency, but for now we'll just mark this module as having an API dependency on Bouncy Castle.

Marking it as an API dependency allows us to remove declarations of direct dependencies on Bouncy Castle from modules using secp256k1-bouncy. When we remove the API dependency modules using secp256k1-bouncy will not have to change their Gradle/Maven dependency declarations. (But if they actually depend on SecP256K1FieldElement that will have to change)

I plan on fixing this for 0.0.3 or maybe even sooner.

BouncyPrivKey extends SecP256K1FieldElement and therefore has an API
dependency on Bouncy Castle. We should remove this dependency, but for
now we'll just mark this module as having an API dependency on Bouncy Castle.

Marking it as an API dependency allows us to remove declarations of direct
dependencies on Bouncy Castle from modules using secp256k1-bouncy. When
we remove the API dependency modules using secp256k1-bouncy will not
have to change their Gradle/Maven dependency declarations.  (But if they
actually depend on `SecP256K1FieldElement` that will have to change)

I plan on fixing this for 0.0.3 or maybe even sooner.
@msgilligan msgilligan added this to the Version 0.0.2 milestone Mar 8, 2024
@msgilligan msgilligan requested a review from schildbach March 8, 2024 15:53
@msgilligan msgilligan merged commit 0e9f679 into master Mar 8, 2024
6 checks passed
@msgilligan msgilligan deleted the msgilligan/temporary-bouncy-api-dependency branch March 8, 2024 16:43
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