docker layer DiffID incorrect

  • Open
  • quality assurance status badge
Details
One participant
  • Tom Hiller
Owner
unassigned
Submitted by
Tom Hiller
Severity
normal
T
T
Tom Hiller wrote on 31 Mar 2021 18:55
(address . bug-guix@gnu.org)(address . piotr.krol@3mdeb.com)
858efb67-1d3c-9dfc-361f-b19fefe6a1f0@gmail.com
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.**
Attachment: file
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 47525@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 47525
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch