question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to verify checksums manually?

See original GitHub issue

I’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:closed
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

0reactions
shalomthegreatcommented, Apr 21, 2022

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found