containerd / imgcrypt

OCI Image Encryption Package
Apache License 2.0
355 stars 46 forks source link

Unhandled media type error when trying to run ctr-enc encryption #138

Closed mapill closed 7 months ago

mapill commented 7 months ago

When trying to run the following from the README $CTR images layerinfo --platform linux/amd64 docker.io/library/bash:latest I always get the following error: ctr: unhandled media type application/vnd.in-toto+json: invalid argument

I cannot view the encryption info on the image, and I get the same error when trying to run the encrypt command as well. Would this have something to do with the config.toml file, or how containerd is set up?

Edit: I had previously pulled another image with --all-platforms label, which caused the error. Removing that image fixed it.