spesmilo / spesmilo/electrum

RuntimeError: PIN mismatch

Open
#4,372 0 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 "Electrum-3.1.3-py3.6.egg/electrum/util.py", line 794, in run_with_except_hook
  File "threading.py", line 864, in run
  File "/var/folders/lr/92yn7cv504sf8sjvw_g6cj5h0000gn/T/_MEIJO2unf/electrum_plugins/trezor/trezor.py", line 228, in _initialize_device
    u2f_counter, skip_backup)
  File "/var/folders/lr/92yn7cv504sf8sjvw_g6cj5h0000gn/T/_MEIJO2unf/electrum_plugins/trezor/clientbase.py", line 240, in wrapped
    return func(self, *args, **kwargs)
  File "trezorlib/client.py", line 162, in wrapped_f
  File "trezorlib/client.py", line 176, in wrapped_f
  File "trezorlib/client.py", line 190, in wrapped_f
  File "trezorlib/client.py", line 1080, in reset_device
  File "trezorlib/client.py", line 190, in wrapped_f
  File "trezorlib/client.py", line 238, in call
  File "trezorlib/client.py", line 190, in wrapped_f
  File "trezorlib/client.py", line 238, in call
  File "trezorlib/client.py", line 190, in wrapped_f
  File "trezorlib/client.py", line 235, in call
  File "/var/folders/lr/92yn7cv504sf8sjvw_g6cj5h0000gn/T/_MEIJO2unf/electrum_plugins/trezor/clientbase.py", line 35, in callback_Failure
    raise RuntimeError(msg.message)

RuntimeError: PIN mismatch

Reporter

This issue was reported by 2 user(s):

Electrum Version Python Version Operating System Wallet Type Locale Stack
3.1.3 Darwin-16.7.0-x86_64-i386-64bit standard None
3.1.3 Darwin-16.7.0-x86_64-i386-64bit standard None

Additional Information

Entered trezor pin


Making Pin


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 with electrum_plugins/trezor/trezor.py at _initialize_device and follow the traceback through electrum_plugins/trezor/clientbase.py, especially callback_Failure and the call to reset_device. Reproduce the reported PIN-entry flow and determine the expected behavior when the device reports “PIN mismatch”; done means the crash is resolved or the failure is handled appropriately.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.