Skip to content
This repository has been archived by the owner on Jun 5, 2019. It is now read-only.

Exception: Got <class 'trezorlib.messages_pb2.Success'>, expected (<class 'trezorlib.messages_pb2.CipheredKeyValue'>,) #26

Closed
electrumTrezor opened this issue Feb 27, 2015 · 1 comment

Comments

@electrumTrezor
Copy link

john@ubuntu:~$ sudo encfs --standard --extpass=~/python-trezor/tools/encfs_aes_getpass.py ~/.trezor ~/trezor
/usr/local/lib/python2.7/dist-packages/hidapi-0.7.99_5-py2.7-linux-x86_64.egg/hid.py:3: UserWarning: Module trezorlib was already imported from /usr/local/lib/python2.7/dist-packages/trezor-0.6.3-py2.7.egg/trezorlib/__init__.pyc, but /usr/local/lib/python2.7/dist-packages/python_trezor-0.5.0-py2.7.egg is being added to sys.path
Please provide label for new drive: trezor
Computer asked Trezor for new strong password.
Please confirm action on your device.
Traceback (most recent call last):
  File "/home/david/python-trezor/tools/encfs_aes_getpass.py", line 113, in <module>
    main()
  File "/home/david/python-trezor/tools/encfs_aes_getpass.py", line 93, in main
    passw_encrypted = client.encrypt_keyvalue(bip32_path, label, passw, False, True)
  File "/usr/local/lib/python2.7/dist-packages/trezor-0.6.3-py2.7.egg/trezorlib/client.py", line 68, in wrapped_f
    ret = f(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/trezor-0.6.3-py2.7.egg/trezorlib/client.py", line 84, in wrapped_f
    raise Exception("Got %s, expected %s" % (ret.__class__, self.expected))
Exception: Got <class 'trezorlib.messages_pb2.Success'>, expected (<class 'trezorlib.messages_pb2.CipheredKeyValue'>,)

Does anyone know why this is happening?

@prusnak
Copy link
Member

prusnak commented Feb 27, 2015

You are using old TREZOR firmware. Update to 1.3.0 or later.

@prusnak prusnak closed this as completed Feb 27, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants