On Fri, Nov 27, 2026, 00:10, lilydjwg <[email protected]> wrote:
> But a compromised bot would probably have all the 1944 keys compromised. > > You might have been thinking about GitHub Actions-like CIs, and each > repository handles its own package. This works for software developers, > but not for build bots. > > A build bot needs to access all its packages at once to figure out > what to build and in which order, and thus how many keys doesn't matter > at all. Thanks for the correction. That makes it even worse! But I think it proves less than it looks like it proves. The 1,944 figure I used was zxp19821005, a human account. BioArchLinuxBot is the 3,720 one, and it is a bot. Those are two different blast radii and they should not be argued as one. Per-pkgbase keys were never meant for the bot case. They were meant for the human maintainer who holds a few hundred packages and pushes from one laptop, where a stolen key is a stolen key and splitting it costs nothing. For the bot case, the answer is not more keys, it is not giving the bot a long-lived key at all. Trusted Publishing, short-lived tokens minted per workflow run, scoped to the pkgbase and the pipeline that requested them. That is the PyPI model and it exists precisely because per-package keys do not survive contact with CI. Where I still disagree is the conclusion you draw from it. "How many keys doesn't matter at all" is true for the bot and false for the archive. The top eight accounts hold 10% of all packages. Six of those are not bots. A compromised session on any of them is still a trusted update to hundreds or thousands of machines, and the platform still gives nobody a signal that it happened. It is solved by exposing the transition, which costs one timestamp per pkgbase and breaks no workflow at all. The build bot is a hard problem. The human mass-maintainer is an easy one that we are choosing not to solve. Bests, Emiliano
