From 3c371497593b75ce949b77c7bc6dc4555b3f93d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ioan=20Biz=C4=83u?= Date: Wed, 5 Jun 2024 13:04:33 +0200 Subject: [PATCH] feat(python): add ability to set up a device with SLIP39 "single" --- core/.changelog.d/3868.added | 1 + core/.changelog.d/3868.incompatible | 1 + python/src/trezorlib/cli/device.py | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 core/.changelog.d/3868.added create mode 100644 core/.changelog.d/3868.incompatible diff --git a/core/.changelog.d/3868.added b/core/.changelog.d/3868.added new file mode 100644 index 00000000000..70e92a82bd4 --- /dev/null +++ b/core/.changelog.d/3868.added @@ -0,0 +1 @@ +Added flag for setting up device using SLIP39 "single". diff --git a/core/.changelog.d/3868.incompatible b/core/.changelog.d/3868.incompatible new file mode 100644 index 00000000000..b26e56c5ed6 --- /dev/null +++ b/core/.changelog.d/3868.incompatible @@ -0,0 +1 @@ +Renamed flag used for setting up device using BIP39 to `basic`. diff --git a/python/src/trezorlib/cli/device.py b/python/src/trezorlib/cli/device.py index f06a4fe2fd2..15b5c362742 100644 --- a/python/src/trezorlib/cli/device.py +++ b/python/src/trezorlib/cli/device.py @@ -34,7 +34,8 @@ } 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, }