Commit Graph

62 Commits

Author SHA1 Message Date
Roman Zeyde
00730069e7 formats: remove magic byte 2015-07-20 17:58:52 +03:00
Roman Zeyde
0c21e33324 trezor: keep session on 2015-07-20 17:58:52 +03:00
Roman Zeyde
1c6b949fe9 formats: log fingerprint for export 2015-07-20 17:58:33 +03:00
Roman Zeyde
7d2b9cf820 agent: allow identity label specification 2015-07-20 16:04:43 +03:00
Roman Zeyde
1296669512 trezor-agent: improve gitconfig parsing 2015-07-06 09:36:56 +03:00
Roman Zeyde
71fde5e704 trezor: fix confirmation message 2015-07-05 21:35:45 +03:00
Roman Zeyde
cdaf4cad36 trezor-agent: add invalid value for assertion 2015-07-05 15:40:38 +03:00
Roman Zeyde
63990bf698 trezor: show identity.path at challenge_visual
It won't be signed when using SSH-agent mode.
2015-07-05 15:35:25 +03:00
Roman Zeyde
ccdf37d371 trezor-agent: refactor identity_from_gitconfig() a bit 2015-07-05 15:10:24 +03:00
Roman Zeyde
df4f3a1b19 trezor-agent: automatic support for git identity
The agent uses local 'git config', and chooses the url marked as "trezor = true".
2015-07-05 14:52:31 +03:00
Roman Zeyde
04afefcba2 protocol: verify EOF after parsing at sign_message() 2015-07-04 21:15:49 +03:00
Roman Zeyde
bd22d7512b trezor: refactor label parsing and handling 2015-07-04 21:15:09 +03:00
Roman Zeyde
2142e36013 README: add demo ASCII cast 2015-07-04 15:15:55 +03:00
Roman Zeyde
4562d64714 agent: small fixes 2015-07-04 12:29:49 +03:00
Roman Zeyde
ee01781ebe agent: add --shell and --connect flags
--shell: opens $SHELL as subprocess
--connect: connect via SSH to specified identity's host
2015-07-04 11:22:56 +03:00
Roman Zeyde
8273cc89f8 agent: fix argument parser 2015-07-04 10:47:32 +03:00
Roman Zeyde
93bac8b011 server: don't use shell=True on default 2015-07-04 09:24:10 +03:00
Roman Zeyde
dcfc88c7e1 trezor-agent: use single identity per invocation 2015-07-04 09:23:36 +03:00
Roman Zeyde
8c82480c34 trezor-agent: remove __main__ part 2015-07-04 09:07:16 +03:00
Roman Zeyde
7f0424d29a trezor-agent: require at least 1 identity 2015-07-04 09:07:16 +03:00
Roman Zeyde
d0c5421a3d trezor_agent: use list comprehension 2015-07-04 08:51:11 +03:00
Roman Zeyde
14b3b500cd trezor: update label after identity parsing 2015-07-04 08:48:56 +03:00
Roman Zeyde
333d1e8e20 trezor-agent: fix verbosity 2015-07-04 08:48:36 +03:00
Roman Zeyde
5db8a068ef rename arguments and variable names 2015-07-04 08:42:08 +03:00
Roman Zeyde
a77f9edb4e sshagent: add a few fixes and assertions 2015-07-03 16:35:35 +03:00
Roman Zeyde
3057a3d7a9 trezor: use identities instead of labels 2015-07-03 16:09:49 +03:00
Roman Zeyde
58c650c84a rename main trezor-agent script 2015-07-02 16:22:46 +03:00
Roman Zeyde
ff51d08f2b bump version 2015-06-26 13:42:00 +03:00
Roman Zeyde
abda41c706 trezor: add ClearSession command when disconnecting 2015-06-24 17:42:45 +03:00
Roman Zeyde
05a8e992af trezor: use standard derivation for SignIdentity message 2015-06-23 17:54:26 +03:00
Roman Zeyde
ef56779461 trezor: explicitly specify SSH curve 2015-06-23 17:53:59 +03:00
Roman Zeyde
3c1c1d0e0c trezor: explicit hardened derivation 2015-06-23 08:59:10 +03:00
Roman Zeyde
0bb3f15aef Merge remote-tracking branch 'origin/master' 2015-06-23 08:51:38 +03:00
Roman Zeyde
ec6f542a64 trezor: update for latest firmware patch 2015-06-22 21:23:49 +03:00
Roman Zeyde
49b7c5e2b5 server: server_thread should get server and handler 2015-06-17 18:01:47 +03:00
Roman Zeyde
78d701ecdf trezor: ignore pylint errors 2015-06-17 17:56:12 +03:00
Roman Zeyde
a60a627b8a server: serve should be a context manager 2015-06-17 16:52:11 +03:00
Roman Zeyde
9755c38eb3 trezor: Client should be a context manager 2015-06-17 16:51:42 +03:00
Roman Zeyde
bd723918ce trezor: refactor Client to use Factory design pattern 2015-06-17 16:36:45 +03:00
Roman Zeyde
46cd42c31c add setup.py 2015-06-16 10:46:10 +03:00
Roman Zeyde
8596537a54 protocol: use Handler class and fix pylint warnings 2015-06-16 10:42:54 +03:00
Roman Zeyde
7ef71df81b pylint: fix issues 2015-06-16 10:33:48 +03:00
Roman Zeyde
768ee33bf2 fix PEP8 2015-06-16 10:20:11 +03:00
Roman Zeyde
6fb49e025d trezor: reorg some code 2015-06-16 10:04:02 +03:00
Roman Zeyde
c3c875eb3e sshagent: add spaces between functions 2015-06-16 10:03:48 +03:00
Roman Zeyde
f6b75d6ed0 formats: remove unused code and reorg 2015-06-16 09:52:53 +03:00
Roman Zeyde
b95c034d6d protocol: remove unused code 2015-06-16 09:49:37 +03:00
Roman Zeyde
8976cd568a rename bash script to trezor_agent 2015-06-15 18:29:13 +03:00
Roman Zeyde
dd81478fc6 code refactoring 2015-06-15 18:25:13 +03:00
Roman Zeyde
96ad9b86f9 move everything to separate package 2015-06-15 16:52:46 +03:00