Open
Description
Dependent on #138
We should consider Docker Content Trust implications for docker manifest
-- in particular:
DOCKER_CONTENT_TRUST=1 docker manifest push ...
should sign the top-level manifest / manifest list hash into Notary
DOCKER_CONTENT_TRUST=1 docker manifest inspect ...
should verify signatures for the specified manifest / manifest list
In order to facilitate this we will need manifest-tool
or the underlying library we decide to use (will be decided in #138) to expose the hash and byte size of the manifest list when it pushes one (we must sign in the byte size and hash of the manifest list).
We can directly leverage the existing Notary libraries already vendored into docker/cli that are currently used for trusted pushes.