@@ -937,7 +937,7 @@ The "signed" portion of <dfn>targets.json</dfn> is as follows:
937
937
"spec_version" : <a >SPEC_VERSION</a >,
938
938
"version" : <a for =" role " >VERSION</a >,
939
939
"expires" : <a >EXPIRES</a >,
940
- "targets" : <a >TARGETS</a >,
940
+ "targets" : <a for = " targets-obj " >TARGETS</a >,
941
941
("delegations" : <a >DELEGATIONS</a >)
942
942
}
943
943
</pre >
@@ -971,8 +971,9 @@ as is described for the <a>root.json</a> file.
971
971
definition] ( https://url.spec.whatwg.org/#path-relative-url-string ) in the
972
972
WHATWG URL specification.
973
973
974
- It is allowed to have a <a>TARGETS</a> object with no <a>TARGETPATH</a>
975
- elements. This can be used to indicate that no target files are available.
974
+ It is allowed to have a <a for="targets-obj">TARGETS</a> object with no
975
+ <a>TARGETPATH</a> elements. This can be used to indicate that no target
976
+ files are available.
976
977
977
978
: <dfn for =" targets-obj " >LENGTH</dfn >
978
979
::
@@ -1652,9 +1653,9 @@ when adding targets to the repository, or updating existing targets.
1652
1653
1653
1654
### Update targets metadata ### {#update-targets-metadata}
1654
1655
1655
- 1 . Add the new (or update an existing) <a >TARGETS</a > object in the relevant
1656
- targets metadata (either the top-level targets metadata, or a delegated
1657
- targets metadata).
1656
+ 1 . Add the new (or update an existing) <a for = " targets-obj " >TARGETS</a > object
1657
+ in the relevant targets metadata (either the top-level targets metadata, or
1658
+ a delegated targets metadata).
1658
1659
2 . Increment the <a for =" role " >VERSION</a > number in the updated targets
1659
1660
metadata.
1660
1661
3 . Sign the updated targets metadata with at least a <a >THRESHOLD</a > of keys
0 commit comments