trishankdatadog
Joined 7 years ago
Joined 7 years ago
More importantly, I should point out that while Sigstore's Fulcio will help with key management (think of it as a managed GPG, if you will), it will not help with securely mapping software projects to their respective OIDC identities. Without this, how will verifiers know in a secure yet scalable way which Fulcio keys _should_ be used? Otherwise, we would then be back to the GPG PKI problem with its web of trust.
This is where PEP 480 [2] can help: you can use TUF (especially after TAP 18 [3]) to do this secure mapping. Marina Moore has also written a proposal called Transparent TUF [4] for having Sigstore manage such a TUF repository for registries like PyPI. This is not to mention the other benefits that TUF can give you (e.g., protection from freeze, rollback, and mix-and-match attacks). We should definitely continue discussing this sometime.
[1] https://github.com/theupdateframework/python-tuf
[2] https://peps.python.org/pep-0480/
[3] https://github.com/theupdateframework/taps/blob/master/tap18...
[4] https://docs.google.com/document/d/1WPOXLMV1ASQryTRZJbdg3wWR...
I disagree that TUF is too complicated for most projects. While our documentation, tutorials, and tooling can be better, the setup is about just as complicated as, say, devising an in-toto root layout. Most open source projects should really just worry about subscribing to something like PEP 480 and signing with one-time Fulcio keys. But I think we are largely on the same page here: yes, please just minisign/signify if you want simplicity, but if you want resilience from nation-state attacks, you need something like TUF (coupled with in-toto and sigstore). We are happy to advise.
Also, really, the TLDR should be just use TUF + in-toto already.
[1] https://www.datadoghq.com/blog/engineering/secure-publicatio...
> Agreed: adding port-knocking and fail2ban in addition to passwordless should not be and are not silly ideas.
Well, just use TUF [1] and in-toto [2] ;)
https://ssl.engineering.nyu.edu/blog/2020-02-03-transparent-...
[1] https://theupdateframework.io/
https://www.datadoghq.com/blog/engineering/secure-publication-of-datadog-agent-integrations-with-tuf-and-in-toto/
[ my public key: https://keybase.io/trishankdatadog; my proof: https://keybase.io/trishankdatadog/sigs/_cd-A1MG5SKsgl0QhIfFSiYYQWMvyH22zf5fbmYkXlc ]