Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Root CA Protection #12

Closed
dlorenc opened this issue Mar 7, 2021 · 7 comments
Closed

Root CA Protection #12

dlorenc opened this issue Mar 7, 2021 · 7 comments

Comments

@dlorenc
Copy link
Member

dlorenc commented Mar 7, 2021

Right now we have one root CA configured in GCP Private CA. We could improve this a bit:

Some high-level suggestions:

Add an intermediary, and keep the root disabled.

The root could then be "enterprise" which comes with auditing.

Have multiple roots, across multiple providers/HSMs.

A majority would be required to sign any new intermediate for it to be trusted.
This is TUF-style and allows us to survive a root compromise.

It requires us to implement our own cert bundle checking logic though, rather than relying on the simple standard ones.

Rotation

We'll need to figure out our root rotation strategy anyway.
This will be also affect how we intend to get our root trusted and known to clients.

@dlorenc
Copy link
Member Author

dlorenc commented Mar 8, 2021

cc @mnn678

@joshuagl
Copy link
Member

ITYM @mnm678

@dlorenc
Copy link
Member Author

dlorenc commented Mar 25, 2021

ITYM @mnm678

Thanks!

Update, we're working on a plan to distribute and manage a set of hardware keys among community members to sign and protect the root TUF metadata. A quorum will be needed to do anything, and we'll have documented plans for rotation, replacement, destruction, etc. Update soon!

@elinesterov
Copy link

I'm happy to help with the design of this with practices Ideas we use internally for our own HSM and root of trust management.

@dlorenc
Copy link
Member Author

dlorenc commented Apr 3, 2021

Thank you! That would be great. Here's our current working plan: https://docs.google.com/document/d/1dJ5JNyLcuB6Fbl7eV5Rx8xlXdgic2thMFSseq4Y-pRo/edit?resourcekey=0-amsoXrePIvR2244GSTxeOw

(shared with sigstore-dev, feel free to request access though if you're not in it)

@haydentherapper
Copy link
Contributor

An intermediate CA will be added shortly, and we can disable the root.

@haydentherapper
Copy link
Contributor

Going to mark this as fixed.

  • We have an intermediate now.
  • There's no reason to disable the root. We can restrict CA administration to only admin accounts. An attacker who controls an administrative account could turn the root back on. We will be adding audit logging for access to critical resources too.
  • Rotation will be done through the distribution of TUF targets.

Sigstore Operations Board automation moved this from ToDos to Done Jul 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

5 participants