Sha256sum are different

Description of my issue

sha256sum are different

Hello,

I upload zip and sha256sum files, the check with sha256sum command shows different numbers.

https://yunohost.org/fr/install/hardware:rpi2plus

Anyone can tell me if what to do ? Did I do a wrong in the check sum command ?

Thank’s

user@serveur:$ sha256sum yunohost-buster-4.1.7.2-rpi-stable.img.zip.sha256sum
7db9bc73238666de766383223a7e8e65a65de1122148db87f8fe00da68d5cd5d  yunohost-buster-4.1.7.2-rpi-stable.img.zip.sha256sum
user@serveur:$ sha256sum yunohost-buster-4.1.7.2-rpi-stable.img.zip
44d7615e40308da7c8ae714cac6374a96d7c07006eff5c1cc4fd4ee9775d2875  yunohost-buster-4.1.7.2-rpi-stable.img.zip

You are doing a checksum of a file that contain a checksum.

To do it correctly, put both files in the same folder and execute

sha256sum -c yunohost-buster-4.1.7.2-rpi-stable.img.zip.sha256sum

Or compare sha256sum yunohost-buster-4.1.7.2-rpi-stable.img.zip with cat yunohost-buster-4.1.7.2-rpi-stable.img.zip.sha256sum

1 Like
user@serveur:$ sha256sum -c yunohost-buster-4.1.7.2-rpi-stable.img.zip.sha256sum
yunohost-buster-4.1.7.2-rpi-stable.img.zip: Réussi

and

user@serveur:$ cat yunohost-buster-4.1.7.2-rpi-stable.img.zip.sha256sum 
44d7615e40308da7c8ae714cac6374a96d7c07006eff5c1cc4fd4ee9775d2875  yunohost-buster-4.1.7.2-rpi-stable.img.zip

Thank’s I think that’s all right !

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.