- Description:
- What: Use stricter curl flags when fetching ShellCheck and MLC in
ci/lint/01_install.sh
. - Why: Prevent silent installs on HTTP errors and disallow non-HTTPS protocols, improving supply-chain safety.
- Changes:
- Replace
-sL
with--fail --location --proto '=https' --tlsv1.2 --silent --show-error
for both downloads.
- Replace
- Impact: CI now fails explicitly on 4xx/5xx and protocol downgrades; no behavioral changes otherwise.
- What: Use stricter curl flags when fetching ShellCheck and MLC in
ci(lint): Harden curl usage in 01_install.sh with fail-safe flags #33456
pull viktorking7 wants to merge 1 commits into bitcoin:master from viktorking7:master changing 1 files +2 −2-
viktorking7 commented at 2:49 pm on September 22, 2025: none
-
Update 01_install.sh 59365d61de
-
DrahtBot commented at 2:49 pm on September 22, 2025: contributor
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
Code Coverage & Benchmarks
For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/33456.
Reviews
See the guideline for information on the review process. A summary of reviews will appear here.
LLM Linter (✨ experimental)
Possible typos and grammar issues:
- url -> curl [invalid command name; should be ‘curl’ to download from the URL]
drahtbot_id_5_m
-
maflcko commented at 3:08 pm on September 22, 2025: member
Thanks, but closing for now:
- The patch is obviously wrong, as can be seen by the failing CI and the LLM linter.
- https does not add any meaningful supply-chain safety here for GitHub release downloads, so the benefit is unclear.
- If supply-chain safety was needed, it would be better to pin by a hash or commit id (and compile from source).
Adding
--fail
seems fine, but I doubt it matters much in practise. Also, there are plenty of other places where it should be added for consistency, if it was added here. -
maflcko closed this on Sep 22, 2025
github-metadata-mirror
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2025-09-26 15:13 UTC
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2025-09-26 15:13 UTC
This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me
More mirrored repositories can be found on mirror.b10c.me