Use only unique device ID as salt to storage_init(). Update storage submodule.

pull/25/head
andrew 5 years ago committed by Pavol Rusnak
parent 8be3896038
commit 97a4cdb68e
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

@ -43,8 +43,6 @@ STATIC void wrapped_ui_wait_callback(uint32_t wait, uint32_t progress) {
/// '''
STATIC mp_obj_t mod_trezorconfig_init(size_t n_args, const mp_obj_t *args) {
uint32_t salt[] = {
utils_get_cpu_id(),
utils_get_flash_size(),
utils_get_uid_word0(),
utils_get_uid_word1(),
utils_get_uid_word2()

@ -1 +1 @@
Subproject commit 52a3a46db0ed93848a49597f7582523386db5e74
Subproject commit e5641c12f7cef6b686c34336a1cd20b613083e56
Loading…
Cancel
Save