Package: electrum
Version: 3.3.8-0.1
Severity: important

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

I tried making a wallet with Electrum, but it worked only after
opting to not protect my wallet with a password.

E/d | daemon.Daemon |
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/electrum/daemon.py", line 351, in init_gui
self.gui.main()
File "/usr/lib/python3/dist-packages/electrum/gui/qt/__init__.py", line 330, in 
main
if not self.start_new_window(path, self.config.get('url'), 
app_is_starting=True):
File "/usr/lib/python3/dist-packages/electrum/gui/qt/__init__.py", line 215, in 
wrapper
return func(self, *args, **kwargs)
File "/usr/lib/python3/dist-packages/electrum/gui/qt/__init__.py", line 239, in 
start_new_window
wallet = self._start_wizard_to_select_or_create_wallet(path)
File "/usr/lib/python3/dist-packages/electrum/gui/qt/__init__.py", line 282, in 
_start_wizard_to_select_or_create_wallet
storage = wizard.create_storage(path)
File "/usr/lib/python3/dist-packages/electrum/base_wizard.py", line 589, in 
create_storage
storage.write()
File "/usr/lib/python3/dist-packages/electrum/util.py", line 356, in <lambda>
return lambda *args, **kw_args: do_profile(args, kw_args)
File "/usr/lib/python3/dist-packages/electrum/util.py", line 352, in do_profile
o = func(*args, **kw_args)
File "/usr/lib/python3/dist-packages/electrum/storage.py", line 89, in write
self._write()
File "/usr/lib/python3/dist-packages/electrum/storage.py", line 98, in _write
s = self.encrypt_before_writing(self.db.dump())
File "/usr/lib/python3/dist-packages/electrum/storage.py", line 196, in 
encrypt_before_writing
s = public_key.encrypt_message(c, enc_magic)
File "/usr/lib/python3/dist-packages/electrum/ecc.py", line 286, in 
encrypt_message
ecdh_key = (self * 
ephemeral.secret_scalar).get_public_key_bytes(compressed=True)
File "/usr/lib/python3/dist-packages/electrum/ecc.py", line 240, in __mul__
ecdsa_point = self._pubkey.point * other
File "/usr/lib/python3/dist-packages/electrum/ecc_fast.py", line 125, in mul
public_pair_bytes = b'\4' + self.x().to_bytes(32, byteorder="big") + 
self.y().to_bytes(32, byteorder="big")
AttributeError: 'mpz' object has no attribute 'to_bytes'

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

Kernel: Linux 5.7.0-1-amd64 (SMP w/2 CPU cores)
Kernel taint flags: TAINT_USER, TAINT_FIRMWARE_WORKAROUND
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE= 
(charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages electrum depends on:
ii  python3           3.8.2-3
ii  python3-electrum  3.3.8-0.1

Versions of packages electrum recommends:
ii  python3-pyqt5  5.15.0+dfsg-1+b1

Versions of packages electrum suggests:
pn  python3-btchip  <none>
pn  python3-trezor  <none>
ii  python3-zbar    0.23.1-1

- -- no debconf information

-----BEGIN PGP SIGNATURE-----

iHUEARYIAB0WIQT287WtmxUhmhucNnhyvHFIwKstpwUCXwjh/wAKCRByvHFIwKst
p5zmAP95VwS4QTkYaJPmQmSOo6lPntmQLQ0VJFKjYFg7j6E7ywD/ToBe2pVks39P
hO+OKweYOg7jTpoauZbTD4Gd0N2Zdwc=
=Ig4r
-----END PGP SIGNATURE-----

Reply via email to