Skip to content

Checksum validation of archives (#2281) #3546

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

Merged
merged 28 commits into from
Oct 3, 2022

Conversation

nehalvpatel
Copy link
Contributor

@nehalvpatel nehalvpatel commented Sep 1, 2022

Fixes: #2281

Copy link
Contributor

@sigurdm sigurdm left a comment

Choose a reason for hiding this comment

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

I think this needs some testing.

I think you can set the test package-server up so that it returns a checksum, and then make a test that the client validates, and somehow also check that the request is retried.

@nehalvpatel nehalvpatel changed the title GCS checksum validation (#2281) Checksum validation of archives (#2281) Sep 16, 2022
Copy link
Contributor

@sigurdm sigurdm left a comment

Choose a reason for hiding this comment

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

A few suggestions

@nehalvpatel nehalvpatel marked this pull request as ready for review September 27, 2022 02:47
@sigurdm
Copy link
Contributor

sigurdm commented Sep 27, 2022

This starts to look good!

Co-authored-by: Sigurd Meldgaard <[email protected]>
@nehalvpatel nehalvpatel force-pushed the gcs_checksum_validation branch from 3206063 to 63e5f29 Compare September 30, 2022 16:23
@sigurdm sigurdm merged commit 8dba957 into dart-lang:master Oct 3, 2022
@nehalvpatel nehalvpatel deleted the gcs_checksum_validation branch October 3, 2022 17:58
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.

Validate CRC32c if x-goog-hash header is present
3 participants