Re:Docker Image Insecurity
by thu on Tuesday December 23, 2014 @12:05PM
(#8788933)
I think this is because they regard the tar'd layers as a transport mechanism, not as the signed payload itself.
[ Parent
| on HN ]
Re:Docker Image Insecurity
by justincormack on Tuesday December 23, 2014 @12:25PM
(#8789029)
Yes that makes sense, as tar is not fully deterministic, so untar and retar might give a different checksum on the same files (eg ordering). However it is generally better to keep the same bits people signed regardless.
Maybe you could use the Git packfile format; this is a self-contained compressed Merkle-tree. If you ever need to reconstruct deterministically the tar from that, you can use something like pristine-tar[0].