From c5354b828afa391b4bc8dc13b78a4e948a6cf8a1 Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Thu, 21 Jan 2021 14:14:49 +0000 Subject: [PATCH] Fix bikeshed error and warnings * Resolve incorrect indentation causing bikeshed error * Disambiguate "paths" definition, to resolve a warning Signed-off-by: Joshua Lock --- tuf-spec.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tuf-spec.md b/tuf-spec.md index dc26bdc..6af6527 100644 --- a/tuf-spec.md +++ b/tuf-spec.md @@ -991,7 +991,7 @@ as is described for the root.json file. "keyids" : [ KEYID, ... ] , "threshold" : THRESHOLD, ("path_hash_prefixes" : [ HEX_DIGEST, ... ] | - "paths" : [ PATHPATTERN, ... ]), + "paths" : [ PATHPATTERN, ... ]), "terminating": TERMINATING, }, ... @@ -1024,7 +1024,7 @@ as is described for the root.json file. ignored. In order to discuss target paths, a role MUST specify only one of the -"path_hash_prefixes" or "paths" attributes, each of which we +"path_hash_prefixes" or "paths" attributes, each of which we discuss next. : "path_hash_prefixes" @@ -1039,7 +1039,7 @@ discuss next. in "path_hash_prefixes". This is useful to split a large number of targets into separate bins identified by consistent hashing. - : "paths" + : "paths" :: A list of strings, where each string describes a path that the role is trusted to provide. Clients MUST check that a target is in one of the @@ -1321,7 +1321,7 @@ it in the next step. trusted root metadata file MUST be higher than the fixed update start time. If the trusted root metadata file has expired, abort the update cycle, report the potential freeze attack. On the next update cycle, begin at step - [[#update-root]] and version N of the root metadata file. + [[#update-root]] and version N of the root metadata file. 11. **If the timestamp and / or snapshot keys have been rotated, then delete the trusted timestamp and snapshot metadata files.** This is done