GNU bug report logs - #47525
docker layer DiffID incorrect

Previous Next

Package: guix;

Reported by: Tom Hiller <thrilleratplay <at> gmail.com>

Date: Wed, 31 Mar 2021 17:02:02 UTC

Severity: normal

To reply to this bug, email your comments to 47525 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#47525; Package guix. (Wed, 31 Mar 2021 17:02:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tom Hiller <thrilleratplay <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 31 Mar 2021 17:02:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Tom Hiller <thrilleratplay <at> gmail.com>
To: bug-guix <at> gnu.org
Cc: piotr.krol <at> 3mdeb.com
Subject: docker layer DiffID incorrect
Date: Wed, 31 Mar 2021 12:55:17 -0400
[Message part 1 (text/plain, inline)]
The Docker image created using "guix pack -f Docker" generates the 
sha256 checksum of config.json as the layer diff id used in 
manifiest.json, repositories and the parent directory name of 
layer.tar.  When extracting the contents of the Docker image, the sha256 
checksum of config.json does not match the used for the layer.  As 
Docker currently does not seem to verify this, the image will still work 
but may not always be the case.


I am not familiar with Guile Scheme, but as best as I can determine in 
guix/gnu/services/docker.scm the checksum calculated in layer-diff-idis 
the of Scheme native. and not the ultimate JSON document.**

[Message part 2 (text/html, inline)]

This bug report was last modified 3 years and 20 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.