How to verify checksums manually?
See original GitHub issueI’m trying to verify checksums of files manually, but the result I’m getting doesn’t match what’s published.
For example, for Onshape-0.5.18-x86_64.AppImage, the published sha512 checksum is
aJB+pb9ueyI7+KQfIQ2s4GZ4ISE1yXLtgZ5/RVFU813DBRPfwy5RtIMQNMKRHJ6Lqyc9rlbWr56zG0Zl6tif6g==
However, when I run
openssl dgst -sha512 Onshape-0.5.18-x86_64.AppImage
or
shasum -a512 Onshape-0.5.18-x86_64.AppImage
I get
68907ea5bf6e7b223bf8a41f210dace06678212135c972ed819e7f455154f35dc30513dfc32e51b4831034c2911c9e8bab273dae56d6af9eb31b4665ead89fea
which in base64 is
Njg5MDdlYTViZjZlN2IyMjNiZjhhNDFmMjEwZGFjZTA2Njc4MjEyMTM1Yzk3MmVkODE5ZTdmNDU1MTU0ZjM1ZGMzMDUxM2RmYzMyZTUxYjQ4MzEwMzRjMjkxMWM5ZThiYWIyNzNkYWU1NmQ2YWY5ZWIzMWI0NjY1ZWFkODlmZWE=
Are the checksums for the contained asar file only?
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Q: How do I verify the checksum of a file? - The Knowledge Base
Manual verification : You can run the checksum command to generate a checksum for the file you downloaded, and confirm (by visual inspection) ......
Read more >How to generate and verify file checksums on Linux - A2 Hosting
To verify MD5 checksums, type: Copy md5sum -c md5sums.txt · To verify SHA checksums, type the name of the command for the hashing...
Read more >Calculate and verify checksums - Digi International
To verify the check sum of an API packet add all bytes including the checksum (do not include the delimiter and length) and...
Read more >How to verify the checksum of a downloaded file (pgp, sha, etc ...
A checksum simply verifies with a high degree of confidence that there was no corruption causing a copied file to differ from the...
Read more >How to verify MD5, SHA1, and SHA256 Checksum on Windows
As you can see above, the checksums match the checksum distributed by the software developer (version 2.0 of the utility). You can either...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Source code: https://github.com/develar/app-builder/blob/master/pkg/blockmap/blockmap.go
In case anyone else needs this, szTheory posted a solution in one of the sub issues. This works on mac at least (haven’t tested the others):
shasum -a 512 {file_location} | cut -f1 -d\\ | xxd -r -p | base64