Open jandubois opened 1 year ago
I'm tempted to say that the extension allow list should only allow digests and not tags.
I'm wondering if digest should be mandatory (in the allow list) because users can retag images at will, so filtering extensions without digest doesn't really provide useful functionality beyond what the image allow list already does.
This currently doesn't work:
This needs to be supported for:
rdctl
We may want a mechanism in the catalog for the user (admin) to get the image digest instead of the tag[^1]. Installing an extension from the catalog must be allowed if either the tag or the digest is in the list of allowed extensions.
[^1]: The digest is currently only available from the CLI after the extension is already installed via
docker images --digests
.