Roman Zeyde
a20b1ed2a8
factory: remove obsolete code
8 years ago
Roman Zeyde
0f79b5ff2e
ssh: use new device package (instead of factory)
8 years ago
Roman Zeyde
97efdf4a45
ssh: handle connections concurrently
8 years ago
Roman Zeyde
513e99dd57
server: refactor server_thread() to decouple it from handle_connection()
8 years ago
Roman Zeyde
c4bbac0e77
util: move BIP32 address related functions
8 years ago
Roman Zeyde
51f7d6120b
client: not visual challength for SSH
8 years ago
Roman Zeyde
68637525ea
Merge branch 'master' into python3
9 years ago
Roman Zeyde
2846c0bf1a
util: add tests for gpg-related code
9 years ago
Roman Zeyde
b2147a8418
formats: curve name should be a string
9 years ago
Roman Zeyde
f056f1fac5
fixup lint errors
9 years ago
Roman Zeyde
0e2a19f7ce
client: fixup UT
9 years ago
Roman Zeyde
2cdbc89d28
protocol: fixup UT
9 years ago
Roman Zeyde
ea88f425f5
protocol: fail on unsupported commands
9 years ago
Roman Zeyde
2a5196003e
tests: update for CallException handling
9 years ago
Roman Zeyde
4384b93c19
main: remove unneeded use_shell parameter
9 years ago
Roman Zeyde
2c7fabfa35
tests: add docstrings
9 years ago
Roman Zeyde
bbe963d0ff
util: rename UTs
9 years ago
Roman Zeyde
c49514754b
util: add docstrings
9 years ago
Roman Zeyde
2ebefff909
server: add docstrings
9 years ago
Roman Zeyde
21e89014c9
protocol: add docstrings and replace custom exceptions
9 years ago
Roman Zeyde
d712509a4e
client: show current time instead of identity.path
9 years ago
Roman Zeyde
40e2d9fb2c
fixup imports order
...
isort -rc trezor_agent
9 years ago
Roman Zeyde
64776fd294
rename client test
9 years ago
Roman Zeyde
231995bd1a
remove trezor module
9 years ago
Roman Zeyde
2f2663ef94
client: set identity index explicitly
9 years ago
Roman Zeyde
cafa218e19
server: pass handler and add debug option
9 years ago
Roman Zeyde
7f36097c15
tests: refactor mocks and fakes
9 years ago
Roman Zeyde
2eff21f96c
factory: refactor for easier testing
9 years ago
Roman Zeyde
9afd07e867
server: make sure accepted UNIX sockets are blocking
...
It was a problem on Mac OS X, where sometimes we got EAGAIN
errors from calling socket.recv() on them.
9 years ago
Roman Zeyde
8c6ac43cf4
Merge Trezor and KeepKey functionality
9 years ago
Roman Zeyde
0c63aef719
sort imports using isort tool
9 years ago
Roman Zeyde
33a6951a96
server: don't crash after single exception
9 years ago
Roman Zeyde
fb0d0a5f61
server: stop the server via a threading.Event
...
It seems that Mac OS does not support calling socket.shutdown(socket.SHUT_RD)
on a listening socket (see https://github.com/romanz/trezor-agent/issues/6 ).
The following implementation will set the accept() timeout to 0.1s and stop
the server if a threading.Event (named "quit_event") is set by the main thread.
9 years ago
Roman Zeyde
7ea20c7009
test_trezor: verify serialized signature
9 years ago
Roman Zeyde
7dabe2c555
test_protocol: fix bytes->str
9 years ago
Roman Zeyde
c3fa79e450
Fix a few pylint issues
9 years ago
Roman Zeyde
e19d76398e
formats: verify public key according to requested ECDSA curve
9 years ago
Roman Zeyde
60571e65dd
trezor: add support for Ed25519 SSH keys
9 years ago
Roman Zeyde
803e3bb738
client: require TREZOR v1.3.4 firmware for SSH NIST256P1 curve support
9 years ago
Roman Zeyde
a8c6e71825
rename package name to trezor_agent
9 years ago