File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -475,8 +475,11 @@ repo](https://github.com/theupdateframework/specification/issues).
475
475
* ** 4.1. Metaformat**
476
476
477
477
Implementers of TUF may use any data format for metadata files as long as
478
- all fields in this specification are included. The examples in this document
479
- use a subset of the JSON object format, with
478
+ all fields in this specification are included and TUF clients are able to
479
+ interpret them without ambiguity. Implementers should choose a data format
480
+ that allows for canonicalization, or one that will decode data
481
+ deterministically by default so that signatures can be accurately verified.
482
+ The examples in this document use a subset of the JSON object format, with
480
483
floating-point numbers omitted. When calculating the digest of an
481
484
object, we use the "canonical JSON" subdialect as described at
482
485
http://wiki.laptop.org/go/Canonical_JSON
@@ -498,7 +501,8 @@ repo](https://github.com/theupdateframework/specification/issues).
498
501
499
502
KEYID is the identifier of the key signing the ROLE dictionary.
500
503
501
- SIGNATURE is a hex-encoded signature of the metadata for ROLE.
504
+ SIGNATURE is a hex-encoded signature of the canonical form of
505
+ the metadata for ROLE.
502
506
503
507
504
508
All keys have the format:
You can’t perform that action at this time.
0 commit comments