mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
011bfd666e
Add a unit test for validateManifest which ensures extra data can't be injected by adding data to the JSON object outside the payload area. This also removes validation of legacy signatures at pull time. This starts the path of deprecating legacy signatures, whose presence in the very JSON document they attempt to sign is problematic. These signatures were only checked for official images, and since they only caused a weakly-worded message to be printed, removing the verification should not cause impact. Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com> |
||
---|---|---|
.. | ||
bad_manifest | ||
extra_data_manifest | ||
good_manifest | ||
no_signature_manifest |