1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/hack
Stephen J Day 06612cc0fe Properly verify manifests and layer digests on pull
To ensure manifest integrity when pulling by digest, this changeset ensures
that not only the remote digest provided by the registry is verified but also
that the digest provided on the command line is checked, as well. If this check
fails, the pull is cancelled as with an error. Inspection also should that
while layers were being verified against their digests, the error was being
treated as tech preview image signing verification error. This, in fact, is not
a tech preview and opens up the docker daemon to man in the middle attacks that
can be avoided with the v2 registry protocol.

As a matter of cleanliness, the digest package from the distribution project
has been updated to latest version. There were some recent improvements in the
digest package.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-05-29 15:20:28 -07:00
..
make Finally add precise/12.04 as a build-deb target 2015-05-29 12:55:58 -07:00
dind hack: quote all parameters with variable interpolation 2015-04-15 10:14:14 +02:00
generate-authors.sh Move scripts back to hack/, leave docs in project/ 2015-03-13 14:04:08 -06:00
install.sh Update "install.sh" warning to be more verbose 2015-05-07 14:20:40 -06:00
make.sh Merge pull request #13416 from Microsoft/10662-fixintegrationtests 2015-05-28 11:22:37 -07:00
release.sh fix release script 2015-05-27 20:57:46 -07:00
vendor.sh Properly verify manifests and layer digests on pull 2015-05-29 15:20:28 -07:00