Package: python3-trezor
Version: 0.20.2-1
Severity: serious

```
lotus:~% trezorctl --help
#(1 pts/17) 31 12:28:52.115
Traceback (most recent call last):
  File "/usr/bin/trezorctl", line 5, in <module>
    from trezorlib.cli.trezorctl import cli
  File "/usr/lib/python3/dist-packages/trezorlib/cli/__init__.py", line 36, in 
<module>
    from .. import exceptions, messages, protocol_v1, transport
  File "/usr/lib/python3/dist-packages/trezorlib/protocol_v1.py", line 30, in 
<module>
    from .thp import pairing
  File "/usr/lib/python3/dist-packages/trezorlib/thp/pairing.py", line 31, in 
<module>
    from .channel import Channel, ChannelState, PairingState
  File "/usr/lib/python3/dist-packages/trezorlib/thp/channel.py", line 28, in 
<module>
    from noise.connection import Keypair, NoiseConnection
ModuleNotFoundError: No module named 'noise'
```

To make this programme work, I need to run the following as root:

```
apt install python3-noiseprotocol
sed -i -re '/import/s/\<noise\>/&protocol/g' 
/usr/lib/python3/dist-packages/trezorlib/thp/channel.py
```

-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 7.1.7+deb14-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_NZ, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8), LANGUAGE=en_NZ:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-trezor depends on:
ii  python3                    3.14.6-1
ii  python3-click              8.3.3-1
ii  python3-construct          2.10.68+dfsg1-3
ii  python3-construct-classes  0.2.3-1
ii  python3-cryptography       49.0.0-1
ii  python3-ecdsa              0.19.2-1
ii  python3-keyring            25.7.0-2
ii  python3-mnemonic           0.21-3
ii  python3-noiseprotocol      0.3.1-2
ii  python3-platformdirs       4.10.0-1
ii  python3-requests           2.34.2-1
ii  python3-shamir-mnemonic    0.3.0-3
ii  python3-slip10             1.1.0-1
ii  python3-typing-extensions  4.16.0-4
ii  python3-usb1               3.4.0+ds-1

Versions of packages python3-trezor recommends:
ii  python3-pil    12.3.0-1
ii  python3-pyqt5  5.15.11+dfsg-4+b2

Versions of packages python3-trezor suggests:
pn  cython3           <none>
ii  libudev-dev       261.2-1
ii  libusb-1.0-0-dev  2:1.0.30-1
pn  python3-dev       <none>
pn  python3-hid       <none>

-- debconf-show failed

-- 
 .''`.   martin f. krafft <[email protected]>
: :'  :  proud Debian developer
`. `'`   http://people.debian.org/~madduck
  `-  Debian - when you have better things to do than fixing systems

Reply via email to