Closed CaptainMorgan12 closed 9 months ago
I'm currently downloading the iso to test it 1:1 but from the screenshot alone, the main issue I see is that you've opened the sha file and are testing it against the gpg file iso (?)
The workflow is supposed to be:
sha256sum.txt
)I think you just did it in reverse, you are basically checking if the hash of sha256sum.txt
(not the hashes inside it) match the .iso, when it should be the other way around (by opening the .iso as the main file)
Ok got it so it is user error sorry about that. I was assuming the hash tab is for the hash file, from a UI perspective I was moving left to right, but selected the wrong file. I can confirm it worked when generating .iso hash and checking it against the sha256sum.text file as well.
Don't worry about it, it seems that it needs improvement, thanks for bringing it up!
I think that would be easy to fix with a title change in "verify" tab instead of "File" maybe "Hash File" or something along those lines.
Describe the bug
Could be a bug or feature. Not sure. Hash file check fails, tried multiple .iso or packaged image downloads of various linux distributions. Select file e.g. .iso, .img etc select sha256.sum text file. Observe it fails.
Steps To Reproduce
Fails sha256sum.txt
Logs and/or Screenshots
Operating System
Ubuntu 23.10 AMD64, Wayland
Package
Flatpak
Troubleshooting information
When i use NEMO and perform hash verification it succeeds. To make it work open sha256sum text file with hash corresponding to your downloaded iso: e7583d7428a36b54986d4bf29ebcc000f6959ee701c2379ca214fac6b32fe479 lmde-4-cinnamon-32bit.iso fb6fb4f507f1de979a8922f9e503ae0ad8109e87ea1a9a163a6b30f819971256 lmde-4-cinnamon-64bit.iso 1116d611be80ad496bdc5a7c0444f63564539891f2176f9b134ff9630c6b91c8 lmde-5-cinnamon-32bit.iso 8f351d30e97f3a9c3f3848fde781c7f3758abd0f8ddf120827d98a5832cfa027 lmde-5-cinnamon-64bit.iso *40a9988cc6edd253bff9fcab422aec1b2c81ab3aa4d34b91b08277592c5fab28 lmde-6-cinnamon-32bit.iso 96963cac1ac2ad4ba38414e618adbcdf64a6faadc33ddf53889fa3dc74d59df4 *lmde-6-cinnamon-64bit.iso
Select file and verify:
Succeeds
Additional Context
Collision: 3.7.1 I think what collision is doing is not verifying download against all hashes identified in the text file, and/or selecting the first, which doesnt match lmde-6.
What it should be doing is match the file name of downloaded file and parse the hash for the corresponding sha256 if more than one exists, as is the case for most downloaded repo image type files.
editing the sha256sum hash file to only have the following value: 40a9988cc6edd253bff9fcab422aec1b2c81ab3aa4d34b91b08277592c5fab28 also caused has verification failure so it could be a bug because I would think at least that works.