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

ci: improve installer script #3494

Merged
merged 1 commit into from Sep 19, 2022
Merged

ci: improve installer script #3494

merged 1 commit into from Sep 19, 2022

Conversation

mrinalwadhwa
Copy link
Member

@mrinalwadhwa mrinalwadhwa commented Sep 19, 2022

This PR builds on #3488 by @danieled-it

I removed the cosign check. As I thought about it, I think there is no threat model under which that extra check is helpful. Cosign checks are useful if the user already has the ockam release public key. If they don't then first fetching the public key and then the binary from the same channel doesn't protect against any additional threats.

Same with shasum checks. If https is doing its job then validating them seems unnecessary.

In this PR I also improved the script with ideas from (MIT licensed)
https://github.com/rust-lang/rustup/blob/master/rustup-init.sh

@mrinalwadhwa mrinalwadhwa force-pushed the mrinal/installer branch 2 times, most recently from 466fb7e to ceff711 Compare September 19, 2022 03:28
1. remove shasum and cosign
2. improve output and help
@mrinalwadhwa mrinalwadhwa marked this pull request as ready for review September 19, 2022 03:35
@mrinalwadhwa mrinalwadhwa requested a review from a team as a code owner September 19, 2022 03:35
@mergify mergify bot merged commit 16b3da2 into develop Sep 19, 2022
@mrinalwadhwa mrinalwadhwa deleted the mrinal/installer branch March 9, 2023 07:17
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.

None yet

1 participant