spesmilo / spesmilo/electrum

InvalidPassword: Incorrect password

Open
#4,353 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
8.6k
Forks
3.5k
Avg merge
2d 8h
Merged PRs (30d)
61

Description

Crash Report

This crash report was reported through the automatic crash reporting system 🤖

Traceback

  File "site-packages\electrum-3.1.3-py3.5.egg\electrum\util.py", line 794, in run_with_except_hook
  File "threading.py", line 862, in run
  File "site-packages\electrum-3.1.3-py3.5.egg\electrum_gui\qt\main_window.py", line 2412, in privkeys_thread
  File "site-packages\electrum-3.1.3-py3.5.egg\electrum\wallet.py", line 432, in export_private_key
  File "site-packages\electrum-3.1.3-py3.5.egg\electrum\keystore.py", line 163, in get_private_key

InvalidPassword: Incorrect password

Reporter

This issue was reported by 21 user(s):

Electrum Version Python Version Operating System Wallet Type Locale Stack
3.1.3 Windows-10-10.0.16299-SP0 imported ru_RU
3.2.2 Windows-10-10.0.16299 imported de_CH
3.2.3 3.6.4 (default, Mar 1 2018, 10:42:21) [GCC 5.3 20151204] Android 5.0 on samsung klte (LRX21T.G900FXXU1POFA) imported ?
3.3.6 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 23 2018, 23:31:17) [MSC v.1916 32 bit (Intel)] Windows-10-10.0.18362 imported de_DE
3.3.6 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 23 2018, 23:31:17) [MSC v.1916 32 bit (Intel)] Windows-10-10.0.18362 imported de_DE
3.3.7 3.7.1 (default, Jul 3 2019, 16:41:59) [Clang 6.0.2 (https://android.googlesource.com/toolchain/clang 183abd29fc496f55 Android 8.0.0 on samsung herolte (R16NW.G930FXXS3ERI1) imported en_US
4.0.3 3.7.9 (default, Sep 11 2020, 13:56:22) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 Android 9 on DOOGEE Y8 (DOOGEE-Y8-Android9.0-20190701) imported en_US
4.0.3 3.7.9 (default, Sep 11 2020, 13:56:22) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 Android 9 on Coolpad cp3648at (9.0.183.P1.200625.cp3648AT release-keys) imported en_US
4.0.3 3.7.9 (default, Sep 11 2020, 13:44:16) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 Android 5.1.1 on samsung j3xlte (LMY47V.J320FXXU0AQK2) imported en_US
4.0.4 3.7.9 (default, Sep 11 2020, 13:56:22) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 Android 10 on OPPO PBEM00 (PBEM00_11_F.17) imported en_US
4.0.5 3.7.9 (default, Nov 18 2020, 18:29:29) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 Android 9 on samsung dreamqltesq (PPR1.180610.011.G950USQS8DTJ2) imported en_US
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.18362-SP0 imported de_CH
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.19041-SP0 standard,imported en_GB
4.1.5 3.8.8 (default, Jul 19 2021, 15:35:40) [Clang 11.0.5 (https://android.googlesource.com/toolchain/llvm-project 87f1315d Android 10 on lge mdh30xlm (QKQ1.200216.002) imported en_US
4.0.9 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:01:55) [MSC v.1900 32 bit (Intel)] Windows-7-6.1.7601-SP1 imported,standard pt_BR
4.5.5 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.19045-SP0 standard,imported pt_BR
4.5.4 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.26100-SP0 imported de_CH
4.5.5 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.26100-SP0 imported,standard de_CH
4.6.0 3.10.18 (main, Jul 16 2025, 12:50:11) [Clang 12.0.8 (https://android.googlesource.com/toolchain/llvm-project c935d99d7 Android 14 on motorola fogona (U1TF34.100-35-4-8-1) imported en_US
4.5.8 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.26200-SP0 imported en_US
4.8.1 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] Windows-10-10.0.19044-SP0 imported,standard Russi

Additional Information

L2t4h5qG6gxRd6sioBPmtuupgnuWSpL


I scanned a wallet and it asked for a password. I scanned the qr code again and it asked for a password again. Then this error


Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at electrum_gui/qt/main_window.py in privkeys_thread, then follow the traceback through wallet.py's export_private_key and keystore.py's get_private_key. Reproduce the password prompt after rescanning a QR code and determine how the InvalidPassword exception is handled. Done means the reported flow no longer produces an uncaught crash, with the expected password behavior verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
authentication, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.