firmware: add bootloader 1.8.0 to whitelist

pull/25/head
Pavol Rusnak 5 years ago
parent d9841c29e4
commit b26e90daf9
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

@ -44,6 +44,7 @@ int known_bootloader(int r, const uint8_t *hash) {
if (0 == memcmp(hash, "\x3e\xc4\xbd\xd5\x77\xea\x0c\x36\xc7\xba\xb7\xb9\xa3\x5b\x87\x17\xb3\xf1\xfc\x2f\x80\x9e\x69\x0c\x8a\xbe\x5b\x05\xfb\xc2\x43\xc6", 32)) return 1; // 1.6.0 shipped with fw 1.7.0
if (0 == memcmp(hash, "\x8e\x83\x02\x3f\x0d\x4f\x82\x4f\x64\x71\x20\x75\x2b\x6c\x71\x6f\x55\xd7\x95\x70\x66\x8f\xd4\x90\x65\xd5\xb7\x97\x6e\x7a\x6e\x19", 32)) return 1; // 1.6.0 shipped with fw 1.7.1 and 1.7.2
if (0 == memcmp(hash, "\xa2\x36\x6e\x77\xde\x8e\xfd\xfd\xc9\x99\xf4\x72\x20\xc0\x16\xe3\x3f\x6d\x24\x24\xe2\x45\x90\x79\x11\x7a\x90\xb3\xa8\x88\xba\xdd", 32)) return 1; // 1.6.1 shipped with fw 1.7.3
if (0 == memcmp(hash, "\x53\xdd\xee\xef\x09\xb9\x0d\x36\xf6\x3a\x12\x85\xd0\x6d\xf2\xd3\x9d\xbf\x06\x83\x78\x30\x90\x3d\x57\x96\xbc\x2b\x3b\xa7\x36\x56", 32)) return 1; // 1.8.0 shipped with fw 1.8.0
return 0;
}

Loading…
Cancel
Save