Open Silvanoc opened 3 months ago
After looking at the part of the specification about "artifact usage", I am unsure if using an empty config ({}
) with a media type other than application/vnd.oci.empty.v1+json
(since that is the way cosign specifies the artifact type) is allowed. I'll try to clarify it.
Question
From what I see, the configuration file of the referrer containing the signature in OCI 1.1 format is needless. Why not using an empty one then, as foreseen by the spec? Please see here for guidance for an empty configuration.
The artifact is nevertheless not valid for container images, so keeping the configuration file for compliance with them is worthless.