Skip to content

Commit

Permalink
Merge pull request theupdateframework#62 from lukpueh/fix-targets-HASHES
Browse files Browse the repository at this point in the history
Fix (delegated) targets metadata HASHES definition
  • Loading branch information
lukpueh authored Nov 15, 2019
2 parents 16dba58 + 735e2be commit 4b82990
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tuf-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -813,10 +813,9 @@ repo](https://github.com/theupdateframework/specification/issues).
It is allowed to have a TARGETS object with no TARGETPATH elements. This
can be used to indicate that no target files are available.

HASHES is a dictionary that specifies one or more hashes, including
the cryptographic hash function. For example: { "sha256": HASH, ... }. It
is required for delegated roles, and optional for all others. HASH is the
hexdigest of the cryptographic function computed on the target file.
HASHES is a dictionary that specifies one or more hashes, including the
cryptographic hash function. For example: { "sha256": HASH, ... }. HASH is
the hexdigest of the cryptographic function computed on the target file.

If defined, the elements and values of "custom" will be made available to the
client application. The information in "custom" is opaque to the framework
Expand Down

0 comments on commit 4b82990

Please sign in to comment.