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

Verify dependency checksums #143

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open

Conversation

sstone
Copy link
Member

@sstone sstone commented Feb 3, 2025

We add a file that contains SHA512 checksums for all our dependencies, which will be verified during the build (checksum verification is automatically enabled when gradle/verification-metadata.xml is present).

@pm47
Copy link
Member

pm47 commented Feb 3, 2025

Why are you going with SHA256 here, but went with SHA512 in eclair?

@sstone
Copy link
Member Author

sstone commented Feb 3, 2025

Why are you going with SHA256 here, but went with SHA512 in eclair?

No reason I'll switch to SHA512 to be consistent with eclair.

Dependency checksums are automatically verified when gradle/verification-metadata.xml is present.
@sstone sstone force-pushed the verify-dependency-checksums branch from 8651590 to c0a3d2e Compare February 3, 2025 14:01
@t-bast
Copy link
Member

t-bast commented Feb 4, 2025

Same comment as eclair, can you document how you initially generated those checksums, and the process to update them easily?

@sstone
Copy link
Member Author

sstone commented Feb 4, 2025

Same comment as eclair, can you document how you initially generated those checksums, and the process to update them easily?

Done in b1bed42. Checksums were initially generated with gradle and verified on 3 different machines (excluding github CI).

@sstone sstone marked this pull request as ready for review February 4, 2025 15:28
@sstone
Copy link
Member Author

sstone commented Feb 11, 2025

What a mess!! Idea ( 2024.3.2.2) is completely broken now and cannot load the project properly unless I remove verification-metadata.xml ...

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