Roman Zeyde
|
08d81c992c
|
trezor: split pinentry tool into a separate file
|
2018-02-27 11:17:53 +02:00 |
|
Roman Zeyde
|
55a899f929
|
trezor: initialize cached_passphrase_ack with None (instead of 0)
|
2018-02-27 10:33:19 +02:00 |
|
Roman Zeyde
|
2168115b06
|
ssh: fixup small refactoring bug
|
2018-02-24 21:23:47 +02:00 |
|
Roman Zeyde
|
4a9140c42d
|
Merge branch 'serge'
|
2018-02-24 21:07:42 +02:00 |
|
Roman Zeyde
|
b20d98bf57
|
gpg: move socket path generation into a helper function
|
2018-02-24 21:03:30 +02:00 |
|
Roman Zeyde
|
199fb299c3
|
gpg: use 'sys.exit' and log homedir
|
2018-02-24 20:46:04 +02:00 |
|
Roman Zeyde
|
f4208009e0
|
trezor: init_device before failing PIN/passphrase entry
|
2018-02-22 11:19:26 +02:00 |
|
Roman Zeyde
|
73d60dbec0
|
gpg: cache the passphrase for better UX
|
2018-02-21 11:35:38 +02:00 |
|
Roman Zeyde
|
34ea224290
|
gpg: the scripts should be only user-readable
|
2018-02-20 21:21:45 +02:00 |
|
Roman Zeyde
|
7803026f61
|
gpg: allow setting passphrase from environment variable
as done by TREZOR's client library
|
2018-02-20 09:59:15 +02:00 |
|
Serge Pokhodyaev
|
6363eb0d4a
|
add -f/--foreground option to run as systemd service
|
2018-02-18 21:08:36 +03:00 |
|
Serge Pokhodyaev
|
a32bfc749b
|
don't overwrite homedir
|
2018-02-18 20:24:22 +03:00 |
|
Roman Zeyde
|
cefc5f180a
|
ssh: add --sock-path flag to explicitly specify SSH agent's UNIX socket
|
2018-02-15 19:08:13 +02:00 |
|
Roman Zeyde
|
0f5c71b748
|
ssh: add --log-file flag
|
2018-02-15 18:50:50 +02:00 |
|
Roman Zeyde
|
4a12bfa0b7
|
Allow SSH agent to daemonize when invoked with -d flag
This change adds the support for "eval `trezor-agent -d`" invocation.
|
2018-02-15 15:10:34 +02:00 |
|
Roman Zeyde
|
bf294beb56
|
gpg: decode stdout as UTF-8
|
2018-01-30 20:18:19 +02:00 |
|
Roman Zeyde
|
713345918e
|
ssh: document sub-shell mode
|
2018-01-26 11:20:14 +02:00 |
|
Roman Zeyde
|
eb60c2f475
|
fix more pylint issues
|
2018-01-24 18:37:30 +02:00 |
|
Roman Zeyde
|
6d8d43db9b
|
fix pylint issues
|
2018-01-22 21:24:16 +02:00 |
|
Roman Zeyde
|
3e67bc9f0e
|
gpg: log GnuPG commands' output
|
2018-01-22 20:16:32 +02:00 |
|
Roman Zeyde
|
385fc9457b
|
Support multiple devices
|
2018-01-05 20:53:42 +02:00 |
|
Jonathan Roelofs
|
9cf73f677a
|
Show libagent version too
|
2018-01-01 23:05:37 +00:00 |
|
Jonathan Roelofs
|
ec97cd0c44
|
Implement #182
|
2017-12-29 09:23:06 -07:00 |
|
Jonathan Roelofs
|
4cd7dc02eb
|
Fix an argparse nuance
https://bugs.python.org/issue16308
|
2017-12-29 08:54:31 -07:00 |
|
Roman Zeyde
|
8fe9460ed6
|
trezor: allow UDP connection (for emulator)
|
2017-12-23 16:59:12 +02:00 |
|
Roman Zeyde
|
db16aa3d1c
|
trezor: update to latest trezorlib version
|
2017-12-23 16:51:37 +02:00 |
|
Roman Zeyde
|
41ccd2f332
|
fix new pylint warning
|
2017-12-22 17:10:27 +02:00 |
|
Roman Zeyde
|
b1f302151b
|
tests: fix test_server.py
|
2017-12-13 21:12:29 +02:00 |
|
Roman Zeyde
|
fde50f04ab
|
Merge branch 'config'
|
2017-12-08 21:50:22 +02:00 |
|
Roman Zeyde
|
40469c4100
|
tox: pep8 -> pycodestyle
|
2017-12-02 21:14:03 +02:00 |
|
Roman Zeyde
|
0d059587a7
|
ssh: allow configuration from a file
|
2017-12-02 21:04:57 +02:00 |
|
Roman Zeyde
|
f22c07e970
|
trezor: retry in case of invalid PIN
|
2017-11-18 20:37:06 +02:00 |
|
Roman Zeyde
|
29c7234ef4
|
trezor: make sure scrambled PIN is valid
|
2017-11-18 17:06:23 +02:00 |
|
Roman Zeyde
|
1942e3999b
|
ssh: fix exception type for missing device
|
2017-11-18 16:50:21 +02:00 |
|
Roman Zeyde
|
c4dfca04f2
|
trezor: use UI-based passphrase entry
Now TREZOR_PASSPHRASE environment variable is ignored.
|
2017-11-16 22:36:19 +02:00 |
|
Roman Zeyde
|
a1ecbf447e
|
gpg: return correct keygrip for KEYINFO assuan command
|
2017-11-16 22:36:17 +02:00 |
|
Roman Zeyde
|
1f9d457e92
|
gpg: no need to remove the UNIX socket
Our agent should be invoked and re-used when running 'gpg --import'.
|
2017-11-16 21:53:38 +02:00 |
|
Roman Zeyde
|
cb3477fc69
|
Merge branch 'which-fix'
|
2017-11-16 21:04:12 +02:00 |
|
Roman Zeyde
|
9bbc66cc16
|
util: add backport for shutil.which()
|
2017-11-16 20:59:58 +02:00 |
|
Roman Zeyde
|
90cbc41b17
|
gpg: refactor messagebox UI from PIN entry
|
2017-11-11 11:16:31 +02:00 |
|
Roman Zeyde
|
4926d4f4d3
|
gpg: set PATH explicitly for $DEVICE-gpg-agent
|
2017-11-09 22:13:28 +02:00 |
|
Roman Zeyde
|
d52f295326
|
gpg: use shutil.which() for Python 3
|
2017-11-04 17:48:00 +02:00 |
|
Roman Zeyde
|
9530c4d7db
|
gpg: use gpgconf for getting gpg binary path
|
2017-11-03 10:52:27 +02:00 |
|
Roman Zeyde
|
a2d0c1067d
|
gpg: don't hardcode Python binary
|
2017-10-27 11:27:40 +03:00 |
|
Roman Zeyde
|
3d5717dca1
|
gpg: use a separate process for PIN entrering UI
|
2017-10-27 10:43:50 +03:00 |
|
Roman Zeyde
|
08fef24e39
|
gpg: use pymsgbox for PIN entrering UI
|
2017-10-21 21:18:00 +03:00 |
|
Roman Zeyde
|
bab46dae5c
|
gpg-agent: use correct GNUPGHOME when getting public keys
|
2017-10-21 20:49:27 +03:00 |
|
Roman Zeyde
|
e2625cc521
|
gpg: fail if no public keys are found
|
2017-10-21 19:16:48 +03:00 |
|
Roman Zeyde
|
7ed76fe472
|
gpg: use correct GNUPGHOME for gpgconf
|
2017-10-21 18:46:04 +03:00 |
|
Roman Zeyde
|
a5929eed62
|
gpg: create config files first
|
2017-10-21 18:21:38 +03:00 |
|