Login
You're viewing the code4lib.social public feed.
  • Nov 3, 2026, 2:13 AM

    @yossarian it’s a reasonable reaction! But it requires knowing that Apple (and Microsoft aka GitHub) haven’t prioritised addressing the issue.

    Any ecosystem that treats the network as untrusted (eg checks sha256 hashes on everything downloaded, or was built in the days of only plain text HTTP) is probably okay.

    But a lot of “modern” ecosystems placed their trust in HTTPS, and thus the unaddressed TLS issue is a major supply chain issue.

    (HomeBrew *mostly* does sha256 checks.)

    CC @glyph

    💬 1🔄 0⭐ 0

Replies

  • Nov 3, 2026, 2:23 AM

    @ewenmcneill @glyph

    I’m one of Homebrew’s maintainers and it’s still a huge concern for us: even if we check hashes on installation, we need to deliver those hashes to users. And that delivery goes over TLS. Same for bootstrapping builds from random forges/hosts on the internet, to get to the hashes in the first place

    (As far as I know we check hashes on every single bottle. It’s a hard requirement. The place where we don’t check hashes is on casks, since we don’t control their contents and they’re already code-signed with their upstream’s developer identity)

    💬 1🔄 0⭐ 0
  • Nov 3, 2026, 2:28 AM

    @yossarian yes, I agree there’s a root of trust issue even with “checking hashes”. (Debian and some others solve that by shipping archive PGP keys on install media.)

    Re HomeBrew “mostly” checking hashes, I agree every bottle is checked. And I think every source archive too. But there are definitely some patch diffs that don’t have sha256s on them, which stand out when building from source (there’s a warning). Those diffs I think default to HTTPS URL/API download now (not local git checkout).

    💬 1🔄 0⭐ 0
  • Nov 3, 2026, 3:06 AM

    @ewenmcneill ah yeah, if you build from source then the patches are not covered by the hashes (whereas they are transitively for bottles). That’s a good callout!

    (And yeah ultimately a root of trust is the solution here. Until the root stops being trustworthy :-))

    💬 1🔄 0⭐ 0
  • Nov 3, 2026, 6:12 AM

    @yossarian *many* of the diffs do have hashes on them in the Formula (and the build warning, if they’re missing, even says what to put in the Formula). At a guess just oversights missed in the CI noise, but I’ve seen it several times on macOS Intel (which is now build-from-source).

    Since Apple / GitHub have not yet fixed the builders, I’m not sure if those missing diff hashes impact CI (and thus bottles). Possibly not if the portable ruby is already safe, and securely installed to the builder.

    💬 0🔄 0⭐ 0