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

Add Delegation Removal subsection to Repository Operations in specification Documentation #306

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions tuf-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -1725,6 +1725,18 @@ when adding targets to the repository, or updating existing targets.
filename is prefixed with the <a for="role">VERSION</a> number if consistent
snapshots are enabled for the repository.

### Delete delegation ### {#deleting-delegation}

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][[#update-root]] of the spec).

(3) can safely be updated in the snapshot(as described in Section [6.3.2][[#update-snapshot-metadata]] of the spec) metadata so long as it doesn't rollback itself.

# Future directions and open questions # {#future-directions-and-open-questions}

## Support for bogus clocks ## {#support-for-bogus-clocks}
Expand Down