Files
Patrick O'Doherty 19db106a9d tool: verify SHA256 of all downloaded toolchains
The tool/ wrapper scripts downloaded helm, node, yarn, and the binaryen
wasm-opt toolchain over HTTPS with curl and executed them with no
integrity verification.

Port corp's download_tool helper (tool/lib/download.sh), which verifies
a repo-pinned SHA256 before extracting, and route helm, node, yarn, and
wasm-opt through it with pinned per-platform hashes. select_sha256 fails
closed on platforms without a pinned hash.

Updates tailscale/corp#43401
Updates tailscale/triage#339
Signed-off-by: Patrick O'Doherty <[email protected]>
2026-07-27 09:56:00 -07:00
..