File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
rust/bitbox02-rust/src/hww/api Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 46
46
47
47
// We commit to the BLE firmware hash here to avoid accidentally installing an unexpected firmware.
48
48
static const uint8_t _allowed_ble_fw_hash [32 ] =
49
- "\x2a\x92\xcc\x7f\xd5\xbf\xb0\x81\x17\x8e\x93\xe8\x13\x2b\x8e\x99\x87\x18\x0b\x1e\x60\x9f\xc8 "
50
- "\x91\x5c\x98\xeb\x4f\x2b\xe8\x19\x0a " ;
49
+ "\x1e\x4a\xa8\x36\x4e\x93\x5c\x07\x85\xe4\xf8\x91\x20\x83\x07\xd8\x32\xf7\x88\x17\x2e\x4b\xf6 "
50
+ "\x16\x21\xde\x6d\xf9\xec\x3c\x21\x5f " ;
51
51
52
52
// 65 bytes uncompressed secp256k1 root attestation pubkey.
53
53
#define ROOT_PUBKEY_SIZE 65
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ use alloc::vec::Vec;
27
27
28
28
use bitbox02:: { memory, spi_mem} ;
29
29
30
- const ALLOWED_HASH : & [ u8 ; 32 ] = b"\x2a \x92 \xcc \x7f \xd5 \xbf \xb0 \x81 \x17 \x8e \x93 \xe8 \x13 \x2b \x8e \x99 \x87 \x18 \x0b \x1e \x60 \x9f \xc8 \x91 \x5c \x98 \xeb \x4f \x2b \xe8 \x19 \x0a " ;
30
+ const ALLOWED_HASH : & [ u8 ; 32 ] = b"\x1e \x4a \xa8 \x36 \x4e \x93 \x5c \x07 \x85 \xe4 \xf8 \x91 \x20 \x83 \x07 \xd8 \x32 \xf7 \x88 \x17 \x2e \x4b \xf6 \x16 \x21 \xde \x6d \xf9 \xec \x3c \x21 \x5f " ;
31
31
32
32
// We want to write FW to the memory chip in erase-size chunks, so that we don't repeatedly need to
33
33
// read-erase-write the same sector.
You can’t perform that action at this time.
0 commit comments