If you use JadeLink or perform updates locally via the upgrade script, you can ensure the update's firmware file matches the official firmware released by Blockstream.
For JadeLink Users
- Download the firmware binary.
- Open Terminal and run
shasum -a 256 path/to/.bin/file. - Check the resulting hash against the list of published hashes here according to your firmware version.
Thecmphashshould match the result from Terminal:
For Upgrade Script Users
- Clone the Blockstream Jade repo.
- Make sure to set up the environment.
- Open terminal and from the Jade directory run
./update_jade_fw.py.
Use the--releaseflag to choose from previous or beta firmware releases instead of the latest - When asked to save a copy of downloaded firmware, type
y. - Run
shasum -a 256 path/to/.bin/file - Check the resulting hash against the list of published hashes here according to your firmware version.
Thecmphashshould match the result from Terminal:
Note: Uncompressed Firmware
The above instructions are for compressed firmware files. If you wish to verify an uncompressed firmware file, you can run the following command instead:
printf "\x1f\x8b\x08\x00\x00\x00\x00\x00" | cat - path/to/.bin/file | gzip -qdc 2>/dev/null | shasum -a 256In this case, you will be checking that the fwhash matches instead of the cmphash.