@@ -475,7 +475,8 @@ repo](https://github.com/theupdateframework/specification/issues).
475
475
476
476
KEYID is the identifier of the key signing the ROLE dictionary.
477
477
478
- SIGNATURE is a signature of the canonical JSON form of ROLE.
478
+ SIGNATURE is a hex-encoded signature of the canonical JSON form of
479
+ ROLE.
479
480
480
481
481
482
All keys have the format:
@@ -532,7 +533,9 @@ repo](https://github.com/theupdateframework/specification/issues).
532
533
"keyval" : {"public" : PUBLIC}
533
534
}
534
535
535
- where PUBLIC is a 32-byte string.
536
+ where:
537
+
538
+ PUBLIC is a 64-byte hex encoded string.
536
539
537
540
The 'ecdsa' format is:
538
541
@@ -770,6 +773,11 @@ repo](https://github.com/theupdateframework/specification/issues).
770
773
It is allowed to have a TARGETS object with no TARGETPATH elements. This
771
774
can be used to indicate that no target files are available.
772
775
776
+ HASHES is a dictionary that specifies one or more hashes, including
777
+ the cryptographic hash function. For example: { "sha256": HASH, ... }. It
778
+ is required for delegated roles, and optional for all others. HASH is the
779
+ hexdigest of the cryptographic function computed on the target file.
780
+
773
781
If defined, the elements and values of "custom" will be made available to the
774
782
client application. The information in "custom" is opaque to the framework
775
783
and can include version numbers, dependencies, requirements, and any other
0 commit comments