ethereum / remix-desktop

Remix IDE desktop
1.03k stars 265 forks source link

sha512 sum of Remix-IDE-1.3.3-mac.zip download does not match sum listed in latest-mac.yml #108

Open drcabana opened 2 years ago

drcabana commented 2 years ago

I downloaded Remix-IDE-1.3.3-mac.zip and latest-mac.yml from https://github.com/ethereum/remix-desktop/releases on Feb 1 2020, ~9:50 AM Eastern. The sha512 sums listed in latest-mac.yml do not agree with those of the downloaded file. After the first mistmatch in the sums I deleted the zip file and downloaded it again, same outcome.

❯ shasum -a 512 Remix-IDE-1.3.3-mac.zip 4b6362bb80a8ae04ac8704f47f31e3f6f201622128b3feaef96b0b8b09b1bfb862da26e8e5b6d1c9d032db2a270058c3be4d3339eb3901de8f2f1c97326ba13d Remix-IDE-1.3.3-mac.zip

❯ openssl sha512 Remix-IDE-1.3.3-mac.zip SHA512(Remix-IDE-1.3.3-mac.zip)= 4b6362bb80a8ae04ac8704f47f31e3f6f201622128b3feaef96b0b8b09b1bfb862da26e8e5b6d1c9d032db2a270058c3be4d3339eb3901de8f2f1c97326ba13d

❯ cat latest-mac.yml version: 1.3.3 files:

erichuang1994 commented 2 years ago

Seems sha512 in latest-mac.yml is base64 encoded.

violog commented 2 years ago

Try reading in binary mode and only then encoding to Base64: openssl sha512 -binary Remix-IDE-1.3.3-mac.zip | base64

Worked for Linux image.