Skip to content

Harden install.sh checksum verification and completion handling#730

Merged
ryanfowler merged 1 commit into
mainfrom
harden-installsh-completions
Jun 9, 2026
Merged

Harden install.sh checksum verification and completion handling#730
ryanfowler merged 1 commit into
mainfrom
harden-installsh-completions

Conversation

@ryanfowler

Copy link
Copy Markdown
Owner

Summary

  • Verify downloaded release archives against their .sha256 sidecars before extraction.
  • Make shell completion installation opt-in via --completions or FETCH_INSTALL_COMPLETIONS=1.
  • Default installs now print manual completion commands instead of editing shell startup files.

Testing

  • bash -n install.sh
  • shellcheck install.sh
  • Offline installer smoke tests covering checksum verification, checksum mismatch failure, and opt-in completion installation
  • cargo fmt
  • cargo clippy --locked --all-targets --all-features -- -D warnings

@ryanfowler ryanfowler enabled auto-merge June 9, 2026 04:01
@ryanfowler ryanfowler merged commit 8fbaa29 into main Jun 9, 2026
4 checks passed
@ryanfowler ryanfowler deleted the harden-installsh-completions branch June 9, 2026 04:03
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.

1 participant