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

chore: verify checksums during dist.ipfs.io sync #8587

Merged
merged 3 commits into from
Dec 8, 2021
Merged

chore: verify checksums during dist.ipfs.io sync #8587

merged 3 commits into from
Dec 8, 2021

Conversation

petar
Copy link
Contributor

@petar petar commented Dec 6, 2021

No description provided.

@petar petar requested a review from lidel December 6, 2021 19:11
@petar
Copy link
Contributor Author

petar commented Dec 6, 2021

@lidel @aschmahmann should we use this PR for good measure? Verifying the checksums prevents us from accepting a corrupt file coming from 'ipfs get'. I imagine the chances of this are low. Happy to go either way. (Otherwise, it looks like @lidel's PR solves the actual issue we had.)

@lidel lidel changed the title verify checksum when downloading from dist.ipfs.io chore: verify checksums during dist.ipfs.io sync Dec 7, 2021
also, ignore path from sha512sum output, 
which sometimes has absolute path on dist website
Copy link
Member

@lidel lidel left a comment

Choose a reason for hiding this comment

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

lgtm, thank you @petar, this makes things more robust

@petar
Copy link
Contributor Author

petar commented Dec 8, 2021

@lidel Thanks for testing it!

@petar petar merged commit 8cfc889 into master Dec 8, 2021
@petar petar deleted the fix/dist branch December 8, 2021 00:45
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