by akerl_ · 2w ago · 0 comments
The fact that a large company can mess things up doesn't change the fact that it's way more viable to review how Github or Gitlab or Codeberg handles key material and security than it is to make a comparable local developer flow that avoids common mistakes like just dropping the signing key on disk on whatever servers you want to run your builds from.
Only if you already trust them.
> dropping the signing key on disk on whatever servers you want to run your builds from
I run my builds on my local machine. The private key I would use to sign them if PyPI supported that is not anywhere in the repo I'm using.
Of course you would have to trust that I'm telling the truth in what I just said. But, as above, you also need to trust what the large tech forges are telling you in order to review how they handle their keys.
Seems more straightforward than custom stuff built on OIDC, but I'm not a security guy, so maybe I'm missing something?
[0] - https://developers.yubico.com/PGP/Attestation.html [1] - https://docs.yubico.com/software/yubikey/tools/ykman/OpenPGP...
You can also look to FIDO2 / passkeys to see that a lot of the folks who have concerns about PyPI trusted publishing also view device attestation as a scourge.