|
|
|
|
|
by LtWorf
588 days ago
|
|
It happens that people don't trust you if you are being obviously dishonest. I still have to understand how the github credentials stored on my computer are harder to steal than the pypi credentials stored on the very same computer. If you can explain this convincingly, maybe I'll start to believe some of the things you claim. |
|
This is not, and has never been, the argument for Trusted Publishing. The argument is that temporary, automatically scoped credentials are less dangerous than permanent, user scoped credentials, and that an attacker who does steal them will struggle to maintain persistence or pivot to other scoped projects.
The documentation is explicit[1] about needing to secure your CI workflows, and treating them as equivalent to long-lived API tokens in terms of security practices. Using a Trusted Publisher does not absolve you of your security obligations; it only reduces the scope of failures within those obligations.
[1]: https://docs.pypi.org/trusted-publishers/security-model/