WARN_DIGEST_SRI_MISSING
Warning Code: WARN_DIGEST_SRI_MISSING
This warning is reported when digestSRI is not set on a property of the image datatype. It is not treated as a verification failure, but it is planned to become an error after 2027.
Warning Message
- "digestSRI is missing. This will become an error after 2027. See: https://docs.originator-profile.org/opb/context/#the-image-datatype"
Causes
digestSRIis not set on one of the following properties of theimagedatatype:logoof a Web mediaimageof a Profile Annotationimageof a Site Profileimageof a Content Attestation
Examples
- Only
idis set inimage.
{
"image": {
"id": "https://example.com/image.png"
}
}
Resolution
- Set
digestSRIto a hash value that ensures the integrity of the image.
{
"image": {
"id": "https://example.com/image.png",
"digestSRI": "sha256-OYP9B9EPFBi1vs0dUqOhSbHmtP+ZSTsUv2/OjSzWK0w="
}
}
Additional details can be found in image datatype.