Blockstream / Blockstream/Jade

Cannot reproduce build on MacOS M2

Open
#90 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
496
Forks
127
PR merge metrics
No merged PRs in 30d

Description

I am following the instructions at [REPRODUCIBLE.md](https://github.com/Blockstream/Jade/blob/master/REPRODUCIBLE.md).
I copied the Jade 1.1 BLE configs (`./production/sdkconfig_jade_v1_1_prod.defaults`) and followed the steps until signing the build binary with the 'dev' key.

After that, I downloaded the firmware with the command:
```
pip install -r ./requirements.txt
python ./jade_ota.py --skipserial --skipble --write-compressed --download-firmware --release stable --hw-target jade1.1
```
and selected the version `2) 1.0.21 - ble`. The compressed binary's hash matches the one I see when I initiate the update process from Blockstream Green and the uncompressed binary hash matches the one from the corresponding .hash file.

Now to get the diff of the downloaded and built binaries:
```
xxd build/jade_signed.bin > jade_signed.hex
xxd build/1.0.21_ble_1314816_fw.bin > target.hex
diff jade_signed.hex target.hex
```
This is the diff I get:
[diff.txt](https://github.com/Blockstream/Jade/files/12579755/diff.txt)

It seems to me that this diff contains more changes than only the signature, but maybe I am just interpreting it incorrectly?
Is this expected, or am I doing something wrong on this verification process?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.