chain-desktop-wallet icon indicating copy to clipboard operation
chain-desktop-wallet copied to clipboard

Problem: Incorrect checksum on Windows auto-deployment

Open crypto-matto opened this issue 2 years ago • 1 comments

Background

Probably due to the v0.7.2 release is newly signed with a Windows Cert, yet our auto deployment was uploaded with a checksum of unsigned version.

Steps for generating checksum with SHA512 in Base64

Windows:

  1. Run certutil -hashfile chain-desktop-wallet-setup-0.7.2.exe
  2. Copy the hash and save it to a .txt file, e.g. echo 8f4a6b7f46c3a7a52778e8cc5a0a0caeb920797f53b5a16d41ac01acf468585a36f01284c5fec53902cdad1daee7985a5653aa1c8accd4d4bdc10eeaf196b8b5 > hex.txt
  3. Run certutil -decodehex hex.txt bin.txt
  4. Run certutil -encode bin.txt base64.txt You’ll see the checksum in base64.txt. This should be the correct checksum on Windows
j0prf0bDp6UneOjMWgoMrrkgeX9TtaFtQawBrPRoWFo28BKExf7FOQLNrR2u55haVlOqHIrM1NS9wQ7q8Za4tQ==

crypto-matto avatar Mar 02 '22 04:03 crypto-matto