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

Implement SHA256SUM validation #65

Merged
merged 2 commits into from
Sep 27, 2021
Merged

Conversation

jeff-mccoy
Copy link
Contributor

Finally closes #11. This PR adds a new zarf prepare sha256sum command for internally generating hashes. On package create/deploy the operation will fail if a SHASUM is specified but does not match the computed result. Added a single E2E for the prepare command, the other code is already covered by other E2E tests.

Screen Shot 2021-09-26 at 7 33 28 PM

Screen Shot 2021-09-26 at 8 03 42 PM

@RothAndrew
Copy link
Contributor

This looks great! Will try it out this morning after my demo

@RothAndrew
Copy link
Contributor

RothAndrew commented Sep 27, 2021

LGTM. I'd like zarf prepare sha256sum to work with remote URLs but that can be a new feature request for another time

Edit: Created #66

@jeff-mccoy jeff-mccoy merged commit 1cbf6d1 into master Sep 27, 2021
@jeff-mccoy jeff-mccoy deleted the feature/zarf-file-shasum branch September 27, 2021 16:43
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.

Implement proper SHASUM for file downloads in the config.yaml
2 participants