Roman Zeyde
e1441518d4
factory: add docstrings
9 years ago
Roman Zeyde
5cb12a43de
client: add docstrings
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
cd4cc059d6
main: remove git-config parsing code
9 years ago
Roman Zeyde
2b047f0525
main: refactor shell flag
9 years ago
Roman Zeyde
64776fd294
rename client test
9 years ago
Roman Zeyde
231995bd1a
remove trezor module
9 years ago
Roman Zeyde
ff76f17c02
client: elaborate SSH blob parsing
9 years ago
Roman Zeyde
963e80b49b
client: move logging from parsing code
9 years ago
Roman Zeyde
dee13b75ea
client: remove unneeded 'if'
9 years ago
Roman Zeyde
be86507e00
client: pass index as default argument
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
50b627ed45
protocol: allow debugging SSH message handler
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
b101281a5b
main: add command-line argument for setting UNIX socket timeout
9 years ago
Roman Zeyde
8c6ac43cf4
Merge Trezor and KeepKey functionality
9 years ago
Kenneth Heutmaker
5932a89dc5
Make it work with KeepKey
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
fe1e1d2bb9
server: log command with INFO level
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
535b4d50c7
Fix SSH connection arguments handling
9 years ago
Roman Zeyde
60571e65dd
trezor: add support for Ed25519 SSH keys
9 years ago
Roman Zeyde
e59404737d
trezor: fix PEP8
9 years ago
Pavol Rusnak
ca30707789
don't ask for passphrase (always use empty one similarly to TREZOR Connect)
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
Roman Zeyde
58c650c84a
rename main trezor-agent script
9 years ago
Roman Zeyde
8976cd568a
rename bash script to `trezor_agent`
9 years ago