You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: descriptor.md
+1-7Lines changed: 1 addition & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,3 @@
1
-
<!--[metadata]>
2
-
+++
3
-
draft = true
4
-
+++
5
-
<![end-metadata]-->
6
-
7
1
# OpenContainers Content Descriptors
8
2
9
3
OCI have several components that come to together to describe an image.
@@ -77,7 +71,7 @@ digest
77
71
sha256:6c3c624b58dbbcd3c0dd82b4c53f04194d1247c6eebdaab7c610cf7d66709b3b | Common sha256 based digest |
78
72
79
73
Before consuming content targeted by a descriptor from untrusted sources, the byte content SHOULD be verified against the _digest_.
80
-
The size of the content SHOULD be verified, as well, to protect against [Length Extension Attacks](https://en.wikipedia.org/wiki/Length_extension_attack).
74
+
The size of the content SHOULD be verifiedto reduce hash collision space.
81
75
Heavy processing of before calculating a hash SHOULD be avoided.
82
76
Implementations MAY employ some canonicalization to ensure stable content identifiers.
0 commit comments