Closed haplo closed 3 years ago
Using the python_3
branch of the python-onlykey repository the error is different:
Traceback (most recent call last):
File "/usr/local/bin/onlykey-agent", line 10, in <module>
sys.exit(run_agent())
File "/home/fidel/Code/onlykey-agent/onlykey_agent/__main__.py", line 123, in wrapper
return func(*args, **kwargs)
File "/home/fidel/Code/onlykey-agent/onlykey_agent/__main__.py", line 140, in run_agent
public_key = conn.get_public_key(label=label)
File "/home/fidel/Code/onlykey-agent/onlykey_agent/client.py", line 58, in get_public_key
h.update(label)
TypeError: Unicode-objects must be encoded before hashing
This branch is now working when also using these changes from python-onlykey: https://github.com/trustcrypto/python-onlykey/pull/35
Fixes #18 .