Is github going to tighten the noose?

Hardware attestation is interesting, but at the moment at least future tech.

Even if it becomes available for our use cases, though, I’d still caution against blind trust of just anyone’s builds, since it relies on vendor certificates and hardware actually being secure. We had a grim reminder of how trustworthy corporations holding certificate keys are just two weeks ago, building a cache based on emudhra certs would have resulted in instant, widespread pwnage.

Garnix’ blog post, that you link to, actually goes over why this shouldn’t be trusted so ultimately. It’s more useful if you’ve already established a base level of trust:

Because hardware attacks are possible, one should not trust any build with the correct measurements, signed by hardware keys from Intel or AMD. Having physical access to a computer can, with certain attacks, allow one to sign spurious measurements, so an attacker would only need physical access to one such computer. Instead, you should only accept signatures from machines in physical control of entities you trust.

$Joe has access to their machine. Don’t trust their build.

3 Likes

Right: moving from centralised trust to some kind of threshold model would also require reproducible builds, which we don’t have a meaningful percentage of. As that ticks up, this becomes more useful. ofc, that’s less efficient rather than more efficient that a central build farm, because now multiple builders are building the same thing.

Also insert standard disclaimers about web of trust.

2 Likes

Well, >95% of graphical iso build-deps is not nothing… Arguably high enough to make things useful, and then there is finally a practical everyday incentive to push it further.

Trust model is complicated, though.

4 Likes