Skip to content

Checksums of of 2.2.0.1 and 2.2.1.1 tar balls changed #109

@ajaust

Description

@ajaust

I tried to install the bindings 2.2.1.1 today using the py-pyprecice recipe for Spack. However, it failed due to wrong checksums. I checked and indeed the checksums for v2.2.1.1.tar.gz and v2.2.0.1.tar.gz from the GitHub releases page were wrong. I updated the Spack recipe accordingly (spack/spack#24264).

It is puzzling me what went wrong. First, I assumed that I made a mistake when updating the Spack recipe. However, I found the "old" archive v2.2.1.1.tar.gz on my machine which indeed has a different checksum than the current archive.

Checksums:

File Date sha256sum
v2.2.1.1.tar.gz 2021-06-04 481715c9e90660d3d97e63ee590a3b74a17564cd5cac3bfceceb59788fd11b14
v2.2.1.1.tar.gz 2021-06-11 d96674f1ff91761c29efce34f8e09e2ec29a4862227b7204439e865dbe755a86

Both files have been downloaded from GitHub.

As I was able to find the old file (from 2021-06-04) I could do a diff on the extracted archive. I found a single difference in the _version.py file:

diff -r python-bindings-2.2.1.1-4817/precice/_version.py python-bindings-2.2.1.1-d966/precice/_version.py
26c26
<     git_refnames = " (HEAD -> develop, tag: v2.2.1.1, master)"
---
>     git_refnames = " (tag: v2.2.1.1, master)"

The questions now are:

  • Why did the content of the archive change?
  • How did we that the content of the archive change?
  • Why did the change go unnotices?
  • How do we prevent this from happening again?
  • Did the same happen to 2.2.0.1?

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions