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

Document delegation removal in repository operations #262

Open
joshuagl opened this issue Nov 18, 2022 · 1 comment · May be fixed by #306
Open

Document delegation removal in repository operations #262

joshuagl opened this issue Nov 18, 2022 · 1 comment · May be fixed by #306

Comments

@joshuagl
Copy link
Member

joshuagl commented Nov 18, 2022

@trishankatdatadog summarised the steps for removing a delegation in sigstore/root-signing#546 (comment). We really should include that in the repository operations section of the specification.

Copy/pasted here for ease of reference:

Seems right to me, yes. If there is a delegatee you want to delete, you should delete:

  1. The targets only the delegatee is responsible for.
  2. The delegatee's targets metadata.
  3. The delegation off any delegator's targets metadata.

But keep the snapshot metadata about (2) around until timestamp/snapshot needs to be reset (e.g., due to a fast-forward attack, as described in Section 5.3.11 of the spec).

(3) can safely be updated in the snapshot metadata so long as it doesn't rollback itself.

Originally posted by @trishankatdatadog in sigstore/root-signing#546 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants