@prologic@twtxt.net From Russ Cox: “note that if you set GOPROXY=direct, the go command still uses the checksum database to protect against supply chain attacks. If you really want the go command not to use servers, you also need to set GOSUMDB=off.”

lol it has no end

⤋ Read More

@prologic@twtxt.net I mean, from a historical standpoint, probably no, but the fact that there’s actually two and now a proposed third variable you have to set to keep Google out of your dev tools is a continuing problem, especially since the second one doesn’t seem to be well-known.

⤋ Read More

@ocdtrekkie@twtxt.net Yes but think about it… (not that I’m defending Google™ here), if you were to implement this yourself, you would have to separate out the “fetching a package” vs. “verifying the integrity of a package” right? – Put another way, you wouldn’t trust the checksum/integrity of a package from the source you got the package from (in this case Git) would you? The only wati you could do this is if the checksum was also signed with a key. Even as I write this, I’m not even sure if the GOSUMDB mechanisms can be trusted at all either, as it assumes the “checksums” haven’t been tampered with by Google™ themselves, meaning that in a supply-chain-attack, you have to trust Google™ 🤦‍♂️

⤋ Read More

Participate

Login to join in on this yarn.