Closed as not planned
Description
https://github.com/opencontainers/image-spec/blob/master/descriptor.md
All the other payload formats I've seen look roughly like this one with slightly different names and structures. We already have this one standardized with library support, why not use it directly?
{
"mediaType": "application/vnd.oci.image.manifest.v1+json",
"size": 7682,
"digest": "sha256:5b0bcabd1ed22e9fb1310cf6c2dec7cdef19f0ad69efa1f392e94a4333501270",
"urls": [
"https://example.com/example-manifest"
],
"annotations": {
"foo": "bar"
}
}
The fields from this proposal can all be mapped in: https://github.com/notaryproject/nv2/tree/prototype-1/docs/signature
References can be placed in the "urls" field, and claims can be placed in the annotations field.
The only limitation is that annotations is string-string rather than an arbitrary JSON object. That's still sufficient for me, and I'd propose that if we actually need richer data here we extend the OCI spec rather than make a new one.
Metadata
Metadata
Assignees
Type
Projects
Status
Done