From 9867cd97b0a16fee08bed2ce37bc441b776ac620 Mon Sep 17 00:00:00 2001 From: shubhusion Date: Sat, 8 Jun 2024 21:40:38 +0530 Subject: [PATCH 1/2] Update tuf-spec.md --- tuf-spec.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tuf-spec.md b/tuf-spec.md index 1eda0da..538d61a 100644 --- a/tuf-spec.md +++ b/tuf-spec.md @@ -1725,6 +1725,18 @@ when adding targets to the repository, or updating existing targets. filename is prefixed with the VERSION number if consistent snapshots are enabled for the repository. +### delegation removal ### {#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} From 3f53bebcae98555f66eba42e067521c7d8358fbe Mon Sep 17 00:00:00 2001 From: shubhusion Date: Sat, 8 Jun 2024 21:48:14 +0530 Subject: [PATCH 2/2] Update tuf-spec.md --- tuf-spec.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tuf-spec.md b/tuf-spec.md index 538d61a..7dfc68d 100644 --- a/tuf-spec.md +++ b/tuf-spec.md @@ -1725,7 +1725,7 @@ when adding targets to the repository, or updating existing targets. filename is prefixed with the VERSION number if consistent snapshots are enabled for the repository. -### delegation removal ### {#deleting-delegation} +### Delete delegation ### {#deleting-delegation} If there is a delegatee you want to delete, you should delete: