BaseDecodeError: Forbidden character 43 for base 58
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
Traceback (most recent call last):
File "/home/user/wspace/electrum/.buildozer/android/app/electrum/bitcoin.py", line 591, in base_decode
KeyError: 43
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/user/wspace/electrum/.buildozer/android/app/electrum/gui/qml/qewallet.py", line 792, in signMessage
File "/home/user/wspace/electrum/.buildozer/android/app/electrum/wallet.py", line 2955, in sign_message
File "/home/user/wspace/electrum/.buildozer/android/app/electrum/keystore.py", line 224, in sign_message
File "/home/user/wspace/electrum/.buildozer/android/app/electrum/keystore.py", line 699, in get_private_key
File "/home/user/wspace/electrum/.buildozer/android/app/electrum/bip32.py", line 136, in from_xkey
File "/home/user/wspace/electrum/.buildozer/android/app/electrum/bitcoin.py", line 608, in DecodeBase58Check
File "/home/user/wspace/electrum/.buildozer/android/app/electrum/bitcoin.py", line 593, in base_decode
electrum.bitcoin.BaseDecodeError: Forbidden character 43 for base 58
BaseDecodeError: Forbidden character 43 for base 58
Reporter
This issue was reported by 23 user(s):
| Electrum Version | Python Version | Operating System | Wallet Type | Locale | Stack |
|---|---|---|---|---|---|
| 4.5.4 | 3.8.18 (default, Mar 13 2024, 14:09:52) [Clang 12.0.8 (https://android.googlesource.com/toolchain/llvm-project c935d99d | Android 8.1.0 on HONOR HWDUA-M (DUA-L22 1.0.0.147(C10)) | standard | en_US | ℹ |
| 4.5.7 | 3.10.14 (main, Oct 20 2024, 15:31:52) [Clang 12.0.8 (https://android.googlesource.com/toolchain/llvm-project c935d99d7 | Android 10 on HUAWEI HWMAR (MAR-L21A 10.0.0.275(C431E8R2P7)) | standard | en_US | ℹ |
| 4.5.8 | 3.10.14 (main, Oct 22 2024, 18:04:47) [Clang 12.0.8 (https://android.googlesource.com/toolchain/llvm-project c935d99d7 | Android 10 on HUAWEI HWMAR (MAR-L21A 10.0.0.275(C431E8R2P7)) | standard | en_US | ℹ |
| 4.5.8 | 3.10.14 (main, Oct 22 2024, 18:04:47) [Clang 12.0.8 (https://android.googlesource.com/toolchain/llvm-project c935d99d7 | Android 10 on HUAWEI HWMAR (MAR-L21A 10.0.0.275(C431E8R2P7)) | standard | en_US | ℹ |
| 4.5.8 | 3.10.14 (main, Oct 22 2024, 18:04:47) [Clang 12.0.8 (https://android.googlesource.com/toolchain/llvm-project c935d99d7 | Android 10 on HUAWEI HWMAR (MAR-L21A 10.0.0.275(C431E8R2P7)) | standard | en_US | ℹ |
| 4.5.5 | 3.8.18 (default, May 29 2024, 15:14:46) [Clang 12.0.8 (https://android.googlesource.com/toolchain/llvm-project c935d99d | Android 6.0.1 on Sony D5803 (23.5.A.1.291) | standard | en_US | ℹ |
| 4.5.5 | 3.8.18 (default, May 29 2024, 15:14:46) [Clang 12.0.8 (https://android.googlesource.com/toolchain/llvm-project c935d99d | Android 6.0.1 on Sony D5803 (23.5.A.1.291) | standard | en_US | ℹ |
| 4.5.5 | 3.8.18 (default, May 29 2024, 15:14:46) [Clang 12.0.8 (https://android.googlesource.com/toolchain/llvm-project c935d99d | Android 6.0.1 on Sony D5803 (23.5.A.1.291) | standard | en_US | ℹ |
| 4.5.4 | 3.8.18 (default, Mar 13 2024, 14:09:52) [Clang 12.0.8 (https://android.googlesource.com/toolchain/llvm-project c935d99d | Android 6.0.1 on samsung a5ulte (MMB29M.A500FUXXU1CRH1) | standard | 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.26100-SP0 | standard | en_US | ℹ |
| 4.6.1-18-g186b8ec2a | 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] | Windows-11-10.0.26100-SP0 | standard,imported | Engli | ℹ |
| 4.6.2 | 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] | Windows-10-10.0.19043-SP0 | Engli | ℹ | |
| 4.6.2 | 3.10.18 (main, Aug 24 2025, 18:14:50) [Clang 12.0.8 (https://android.googlesource.com/toolchain/llvm-project c935d99d7 | Android 15 on Redmi serenity (15 A15.0.12.0.VGWMIXM) | standard,imported | en_US | ℹ |
| 4.6.2 | 3.10.18 (main, Aug 24 2025, 18:14:50) [Clang 12.0.8 (https://android.googlesource.com/toolchain/llvm-project c935d99d7 | Android 13 on Redmi selene (TP1A.220624.014) | standard | en_US | ℹ |
| 4.7.1 | 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] | Windows-11-10.0.26200-SP0 | imported | Engli | ℹ |
| 4.7.1 | 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] | Windows-11-10.0.26200-SP0 | imported | Engli | ℹ |
| 4.7.2 | 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] | Windows-11-10.0.22621-SP0 | Engli | ℹ | |
| 4.8.0 | 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] | Windows-10-10.0.19045-SP0 | standard | Chine | ℹ |
| 4.7.2 | 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] | Windows-10-10.0.19045-SP0 | fr_FR | ℹ | |
| 4.8.1 | 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] | Windows-11-10.0.26200-SP0 | Engli | ℹ | |
| 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.19045-SP0 | Engli | ℹ | |
| 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.19045-SP0 | Russi | ℹ | |
| 4.7.2 | 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] | Windows-10-10.0.19045-SP0 | fr_FR | ℹ |
Additional Information
Обновился кошелёк. Теперь не отправляются
Средства. Вместо seed фразы высвечивается
Кажется приватный код. Кошелёк просит
Подписать транзакцию но это не
Получается сделать
Немогу подписать адрес и вообще немогу
отпраить монеты на биржу
Немогу подписать свой адрес електрум. Помогите решить
Cnnit sign or verify messges
tried to connect to an old ledger wallet
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in electrum/bitcoin.py at base_decode and DecodeBase58Check, then trace the signMessage path through qewallet.py, wallet.py, keystore.py, and bip32.py. Determine why the affected signing and imported or old Ledger wallet flows pass a value containing character 43 to Base58 decoding. Done requires a confirmed cause and verified handling for the reported signing failures.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- blockchain, cryptography
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100