Skip to content

Provided .sha256 files do not work well with 'sha256sum -c' #88

@zoobab

Description

@zoobab

Hi,

Would it be possible to publish the .sha256 files in a format that could to be used with the sha256sum -c tool?

$ sha256sum -c micromamba-linux-64.sha256
sha256sum: micromamba-linux-64.sha256: no properly formatted SHA256 checksum lines found
$ echo $?
1

You would have to modify the file to add the filename next to the sha256, like here:

$ cat micromamba-linux-64.sha256 
ffc3cb8d52d4d6b354bdbb979c407719c485392b74e462cbd50811aa88e58f85  micromamba-linux-64

Then the validation would work:

$ sha256sum -c micromamba-linux-64.sha256
micromamba-linux-64: OK
$ echo $?
0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions