Skip to content

Keep api compatibility#54

Draft
HenrikJannsen wants to merge 6 commits into
bisq-network:mainfrom
HenrikJannsen:Keep-API-compatibility
Draft

Keep api compatibility#54
HenrikJannsen wants to merge 6 commits into
bisq-network:mainfrom
HenrikJannsen:Keep-API-compatibility

Conversation

@HenrikJannsen

Copy link
Copy Markdown
Collaborator

Based on #51

This is optional as Bisq does not use those APIs

peterdettman and others added 6 commits May 11, 2026 17:39
The reason is BouncyCastle 1.64 removed point compression tracking.

(cherry picked from commit 164fa9c)
Restored deprecated ECKey.compressPoint(ECPoint) and ECKey.decompressPoint(ECPoint) in ECKey.java.

Restored deprecated ECKey.fromPublicOnly(ECPoint) in ECKey.java, defaulting to compressed encoding and documenting the explicit boolean overload.

Added focused compatibility tests in ECKeyTest.java.

Verified against /Users/dev/IdeaProjects/bisq: Bisq has several ECKey.fromPublicOnly(...) call sites, but they are byte[] usages, not the removed ECPoint overload. I found no direct Bisq usages of compressPoint, decompressPoint, or fromPublicOnly(ECPoint). So this change is not really required.
@HenrikJannsen HenrikJannsen force-pushed the Keep-API-compatibility branch from c79fe91 to b0230bd Compare May 11, 2026 11:03
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.

3 participants