Skip to content

Commit 0d98a6c

Browse files
committed
Scope data verification to content consumers
While registries might want to verify the data field, we shouldn't rely on it, as many registries are unaware of this field. On the other hand, clients SHOULD verify the content before consuming it. Signed-off-by: Jon Johnson <[email protected]>
1 parent 83479d4 commit 0d98a6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

descriptor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ The following fields contain the primary properties that constitute a Descriptor
4848

4949
This OPTIONAL property contains an embedded representation of the referenced content.
5050
Values MUST conform to the Base 64 encoding, as defined in [RFC 4648][rfc4648-s4].
51-
The decoded data MUST be identical to the referenced content and SHOULD be verified against the [`digest`](#digests) and `size` fields.
51+
The decoded data MUST be identical to the referenced content and SHOULD be verified against the [`digest`](#digests) and `size` fields by content consumers.
5252
See [Embedded Content](#embedded-content) for when this is appropriate.
5353

5454
Descriptors pointing to [`application/vnd.oci.image.manifest.v1+json`](manifest.md) SHOULD include the extended field `platform`, see [Image Index Property Descriptions](image-index.md#image-index-property-descriptions) for details.

0 commit comments

Comments
 (0)