1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-18 21:48:13 +00:00

feat(python): add ability to set up a device with SLIP39 "single"

This commit is contained in:
Ioan Bizău 2024-06-05 13:04:33 +02:00 committed by matejcik
parent 7b291725e2
commit 2c390a2030
3 changed files with 4 additions and 1 deletions

View File

@ -0,0 +1 @@
Added flag for setting up device using SLIP39 "single".

View File

@ -0,0 +1 @@
Renamed flag used for setting up device using BIP39 to `bip39`.

View File

@ -34,7 +34,8 @@ RECOVERY_DEVICE_INPUT_METHOD = {
}
BACKUP_TYPE = {
"single": messages.BackupType.Bip39,
"bip39": messages.BackupType.Bip39,
"single": messages.BackupType.Slip39_Single_Extendable,
"shamir": messages.BackupType.Slip39_Basic,
"advanced": messages.BackupType.Slip39_Advanced,
}