1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-24 15:28:10 +00:00

Allow testing recovery with initialized device (#33)

This would allow safe mnemonic validation by using a dry-run flag.
This commit is contained in:
Roman Zeyde 2017-06-22 13:38:06 +03:00 committed by Pavol Rusnak
parent 0001cb18c0
commit ae1900a2bc

View File

@ -395,6 +395,7 @@ message RecoveryDevice {
// 7 reserved for unused recovery method // 7 reserved for unused recovery method
optional uint32 type = 8; // supported recovery type (see RecoveryType) optional uint32 type = 8; // supported recovery type (see RecoveryType)
optional uint32 u2f_counter = 9; // U2F counter optional uint32 u2f_counter = 9; // U2F counter
optional bool dry_run = 10; // perform dry-run recovery workflow (for safe mnemonic validation)
} }
/** /**