Commit Graph

337 Commits (798597c436262632c2f2b390d1386235581c9849)

Author SHA1 Message Date
Roman Zeyde 324fc21a5c decode: refactor digest calculation 8 years ago
Roman Zeyde e2f5ccafdf signer: allow importing to local keyring (using "-o" flag) 8 years ago
Roman Zeyde a0b4776374 gpg: fixup exception message 8 years ago
Roman Zeyde 5abc3dc41b gpg: fix check script -v option 8 years ago
Roman Zeyde 3c2eb64e0d gpg: fixup demo script 8 years ago
Roman Zeyde 67d58a5ae0 Merge pull request #10 from romanz/gpg
GPG v2.1 support
8 years ago
Roman Zeyde 9a435ae23e gpg: minor renames and code refactoring 8 years ago
Roman Zeyde d7913a84d5 gpg: pydocstyle fixes 8 years ago
Roman Zeyde a114242243 gpg: small fixes before merging to master 8 years ago
Roman Zeyde b6dbc4aa81 gpg: small fixes before merging to master 8 years ago
Roman Zeyde 6cc3a629a8 gpg: export git-gpg wrapper
should be used as 'gpg.program' in .git/config
8 years ago
Roman Zeyde 40377fc66b gpg: add __init__.py 8 years ago
Roman Zeyde 489c8fe357 gpg: rename git wrapper 8 years ago
Roman Zeyde 6f4f33bfa5 gpg: verify signature after signing 8 years ago
Roman Zeyde 76ce25fab1 gpg: fixup imports 8 years ago
Roman Zeyde 5506310239 gpg: move under trezor_agent 8 years ago
Roman Zeyde 74f7ebf228 gpg: support ed25519 decoding 8 years ago
Roman Zeyde b6cfa0c03f main: show better error when no SSH remote is found 8 years ago
Roman Zeyde 861401e89a client: make get_address() public 8 years ago
Roman Zeyde 335d050212 formats: fixup comment 8 years ago
Roman Zeyde f056f1fac5 fixup lint errors 8 years ago
Roman Zeyde 0e2a19f7ce client: fixup UT 8 years ago
Roman Zeyde 2cdbc89d28 protocol: fixup UT 8 years ago
Roman Zeyde 1022e54d6a protocol: fail gracefully on cancellation 8 years ago
Roman Zeyde ea88f425f5 protocol: fail on unsupported commands 8 years ago
Roman Zeyde 000860feaf main: add --test flag for verifying SSH configuration
https://help.github.com/articles/testing-your-ssh-connection/
8 years ago
Roman Zeyde 2a5196003e tests: update for CallException handling 8 years ago
Roman Zeyde e10b42bbb5 client: catch CallException for cancellation handling 8 years ago
Roman Zeyde b07d7e6535 server: handle IOError gracefully 8 years ago
Roman Zeyde 4838030be5 factory: add CallException type 8 years ago
Roman Zeyde c9f341a42b main: handle 'pushurl' and 'url' remote settings 8 years ago
Roman Zeyde bdd2568b2c main: log pubkey fingerprint on INFO level 8 years ago
Roman Zeyde e6ccc324a0 main: ignore path from git remote URL
It's much easier to use single keypair per user@host
8 years ago
Roman Zeyde 98e875562e main: add `trezor-git` entry point 8 years ago
Roman Zeyde 4384b93c19 main: remove unneeded use_shell parameter 8 years ago
Roman Zeyde 8a90a8cd84 main: split git from ssh 8 years ago
Roman Zeyde 1e86983782 main: split argument parser 8 years ago
Roman Zeyde c63201c90c client: show visual challenge 8 years ago
Roman Zeyde 19b00dc427 client: add logging for challenge sizes 8 years ago
Roman Zeyde 8909b38107 main: use command-line for git interaction 8 years ago
Roman Zeyde d6532311b9 fix PEP8 & docstrings 8 years ago
Roman Zeyde 41b30b42b5 main: add git identity via "origin" remote 8 years ago
Roman Zeyde 2c7fabfa35 tests: add docstrings 8 years ago
Roman Zeyde 1adccdbfe6 __init__: add docstrings 8 years ago
Roman Zeyde 04f4bbf2ac main: add docstrings 8 years ago
Roman Zeyde bbe963d0ff util: rename UTs 8 years ago
Roman Zeyde c49514754b util: add docstrings 8 years ago
Roman Zeyde 2ebefff909 server: add docstrings 8 years ago
Roman Zeyde 21e89014c9 protocol: add docstrings and replace custom exceptions 8 years ago
Roman Zeyde 566e4310e1 formats: add docstrings 8 years ago
Roman Zeyde e1441518d4 factory: add docstrings 8 years ago
Roman Zeyde 5cb12a43de client: add docstrings 8 years ago
Roman Zeyde d712509a4e client: show current time instead of identity.path 8 years ago
Roman Zeyde 40e2d9fb2c fixup imports order
isort -rc trezor_agent
8 years ago
Roman Zeyde cd4cc059d6 main: remove git-config parsing code 8 years ago
Roman Zeyde 2b047f0525 main: refactor shell flag 8 years ago
Roman Zeyde 64776fd294 rename client test 8 years ago
Roman Zeyde 231995bd1a remove trezor module 8 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