-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make sure the serial number is unique on GD32 #70
Comments
With the patch below the full 12 bytes of the MCU ID is now taken into account, instead of only the last 4 bytes. To retest and reopen in case the XOR method would not suffice. |
Test release available at: |
Use the first 4 bytes of the MCU's ID sha256 hash for the serial number. Fixes #70
Use the new serial number for the GD32-based hardware, HW5 Fixes #70
New test release available at: Here a sha256 hash sum is calculated instead of a xor, making change more leveled over all available bytes, instead of a single one. Test scenario:
|
User reported, that some of his devices have the same serial number. This could come from GD32 MCU's not behaving according to the STM32 specification, having the same value in the serial number RO register.
Firmware: latest
Hardware: GD32-based, probably latest
GnuPG: 2.2.27
The text was updated successfully, but these errors were encountered: