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

Fix mac jar hash #5487

Merged
merged 2 commits into from
May 20, 2021
Merged

Fix mac jar hash #5487

merged 2 commits into from
May 20, 2021

Conversation

cd2357
Copy link
Contributor

@cd2357 cd2357 commented May 11, 2021

Copy the deterministic, signed jar to the binaries folder only after it has been processed. Once copied there, it will be checksum-ed in the last packaging step and the resulting hash will be ready for publishing with the release.

This solves the issue in v1.6.3 and v1.6.4 where the jar was checksum-ed and copied to the binaries folder before being signed and processed (dylib processing, macOS-specific). This resulting checksum would therefore not match anymore with the hash of the signed jar contained in the dmg.

cd2357 added 2 commits May 12, 2021 01:07
Add SHA256 checksum for each generated binary.
Copy the deterministic, signed jar to the binaries folder only after it has been processed. Once copied, it will be checksum-ed in the last packaging step.
@cd2357
Copy link
Contributor Author

cd2357 commented May 15, 2021

Discussion ongoing about how to best solve this.

The dmg now requires a signed jar, but the act of signing itself modifies its hash. Therefore, this PR doesn't actually address the problem.

@cd2357 cd2357 closed this May 15, 2021
@cd2357
Copy link
Contributor Author

cd2357 commented May 20, 2021

As discussed with @ripcurlx this might be worth trying out for the mac build, even though that jar won't be reproducible on other platforms due to signing.

Copy link
Contributor

@ripcurlx ripcurlx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

@ripcurlx ripcurlx merged commit 3c4e212 into bisq-network:master May 20, 2021
@ripcurlx ripcurlx added this to the v1.6.5 milestone May 20, 2021
@cd2357 cd2357 deleted the fix-mac-jar-hash branch November 6, 2021 10:38
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