How to use the hash.txt file

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
glennra
Posts: 1
Joined: Mon Apr 02, 2018 10:47 pm

How to use the hash.txt file

Post by glennra »

Hi,

I'd like to verify the hash of the Raspberry Pi DietPi download. I see that there is a hash.txt in the 7z file but it appears to be in a binary format and I'm not sure how to compare with the output of sha265sum:

$ sha256sum DietPi_v6.4_RPi-ARMv6-Stretch.img
e4e168f22ef11d9ede9c869af674ca8ff711e7d77a1bafd5c8df75a9a090734c DietPi_v6.4_RPi-ARMv6-Stretch.img

$ xxd hash.txt
00000000: fffe 3d00 3d00 3d00 3d00 3d00 3d00 3d00 ..=.=.=.=.=.=.=.
00000010: 3d00 3d00 3d00 3d00 3d00 3d00 3d00 3d00 =.=.=.=.=.=.=.=.
00000020: 3d00 3d00 3d00 3d00 3d00 3d00 3d00 3d00 =.=.=.=.=.=.=.=.
00000030: 3d00 3d00 3d00 3d00 3d00 3d00 3d00 3d00 =.=.=.=.=.=.=.=.
00000040: 3d00 3d00 3d00 3d00 3d00 3d00 3d00 3d00 =.=.=.=.=.=.=.=.
00000050: 3d00 3d00 3d00 3d00 3d00 3d00 3d00 3d00 =.=.=.=.=.=.=.=.
00000060: 3d00 3d00 3d00 0d00 0a00 4600 6900 6c00 =.=.=.....F.i.l.
00000070: 6500 6e00 6100 6d00 6500 2000 2000 2000 e.n.a.m.e. . . .
..., etc

Can someone please let me know how to do it?

Glenn
Post Reply