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

fix: add shasum flag and test for https pull #2998

Merged
merged 4 commits into from
Sep 16, 2024
Merged

Conversation

AustinAbro321
Copy link
Contributor

@AustinAbro321 AustinAbro321 commented Sep 16, 2024

Description

Currently the zarf package pull <https-url> has no shasum flag, since we recently removed the insecure functionality in #2936 this means it's impossible to pull a package with an https url on main. This PR adds the shasum flag as well as a test.

Related Issue

Fixes #2999

Checklist before merging

Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
@AustinAbro321 AustinAbro321 requested review from a team as code owners September 16, 2024 13:23
Copy link

netlify bot commented Sep 16, 2024

Deploy Preview for zarf-docs failed. Why did it fail? →

Name Link
🔨 Latest commit 9445f80
🔍 Latest deploy log https://app.netlify.com/sites/zarf-docs/deploys/66e83317d1068500089b8268

Copy link

codecov bot commented Sep 16, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/cmd/package.go 0.00% 1 Missing ⚠️
Files with missing lines Coverage Δ
src/cmd/package.go 0.00% <0.00%> (ø)

Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
@AustinAbro321 AustinAbro321 added this pull request to the merge queue Sep 16, 2024
Merged via the queue into main with commit 97f6178 Sep 16, 2024
40 checks passed
@AustinAbro321 AustinAbro321 deleted the fix-https-pulls branch September 16, 2024 14:48
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.

Add shasum flag to zarf package pull
2 participants