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 hashes of monero cli on download #1572

Merged
merged 3 commits into from
Mar 22, 2024

Conversation

ikmckenz
Copy link
Contributor

@ikmckenz ikmckenz commented Mar 9, 2024

Resolves #673

Hardcodes hashes and checks against them, reviewers should use pgp verification of the hashes I've included here to confirm them.

Also bumps the MacOS arm64 version to match the version string for other platforms.

Copy link
Collaborator

@delta1 delta1 left a comment

Choose a reason for hiding this comment

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

Looks good, thanks for this. Just one change to return an error instead of panic.

If you have time, it would be great to look into a CI job that can test this functionality across platforms. This might require an additional option to the swap cli like "setup" which would just download the rpc software and then bail.

swap/src/monero/wallet_rpc.rs Outdated Show resolved Hide resolved
@delta1 delta1 merged commit eb15f47 into comit-network:master Mar 22, 2024
23 checks passed
@ikmckenz
Copy link
Contributor Author

Thanks for the fix and merge! Been busier lately

@ikmckenz ikmckenz deleted the verifydownload branch March 22, 2024 16:41
@binarybaron
Copy link
Collaborator

did you compute the hashes yourself or are they identical to the ones on https://www.getmonero.org/downloads/hashes.txt?

I need to update the hashes because I'm bumping the rpc version.

@ikmckenz
Copy link
Contributor Author

Taken from the monero hashes page, not computed.

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.

monero wallet-rpc: check binaries sha256sum
3 participants