Commit Graph

85 Commits (2e688ccac9eed4957e1cdee0dd98977446a4870d)

Author SHA1 Message Date
Roman Zeyde 04627f0899
gpg: collect OPTIONs from agent 6 years ago
Roman Zeyde 54ce6f2cec
trezor: limit passphrase length 6 years ago
Roman Zeyde e90bd0cd81
trezor: refactor transport enumeration a bit 6 years ago
slush 66e3e60370 trezor: Use composite transport for device detection. 6 years ago
Roman Zeyde 08d81c992c
trezor: split pinentry tool into a separate file 6 years ago
Roman Zeyde 55a899f929
trezor: initialize cached_passphrase_ack with None (instead of 0) 6 years ago
Roman Zeyde 2168115b06
ssh: fixup small refactoring bug 6 years ago
Roman Zeyde 4a9140c42d
Merge branch 'serge' 6 years ago
Roman Zeyde b20d98bf57
gpg: move socket path generation into a helper function 6 years ago
Roman Zeyde 199fb299c3
gpg: use 'sys.exit' and log homedir 6 years ago
Roman Zeyde f4208009e0
trezor: init_device before failing PIN/passphrase entry 6 years ago
Roman Zeyde 73d60dbec0
gpg: cache the passphrase for better UX 6 years ago
Roman Zeyde 34ea224290
gpg: the scripts should be only user-readable 6 years ago
Roman Zeyde 7803026f61
gpg: allow setting passphrase from environment variable
as done by TREZOR's client library
6 years ago
Serge Pokhodyaev 6363eb0d4a add -f/--foreground option to run as systemd service 6 years ago
Serge Pokhodyaev a32bfc749b don't overwrite homedir 6 years ago
Roman Zeyde cefc5f180a
ssh: add --sock-path flag to explicitly specify SSH agent's UNIX socket 6 years ago
Roman Zeyde 0f5c71b748
ssh: add --log-file flag 6 years ago
Roman Zeyde 4a12bfa0b7
Allow SSH agent to daemonize when invoked with `-d` flag
This change adds the support for "eval `trezor-agent -d`" invocation.
6 years ago
Roman Zeyde bf294beb56
gpg: decode stdout as UTF-8 6 years ago
Roman Zeyde 713345918e
ssh: document sub-shell mode 6 years ago
Roman Zeyde eb60c2f475
fix more pylint issues 6 years ago
Roman Zeyde 6d8d43db9b
fix pylint issues 6 years ago
Roman Zeyde 3e67bc9f0e
gpg: log GnuPG commands' output 6 years ago
Roman Zeyde 385fc9457b
Support multiple devices 7 years ago
Jonathan Roelofs 9cf73f677a Show libagent version too 7 years ago
Jonathan Roelofs ec97cd0c44 Implement #182 7 years ago
Jonathan Roelofs 4cd7dc02eb Fix an argparse nuance
https://bugs.python.org/issue16308
7 years ago
Roman Zeyde 8fe9460ed6
trezor: allow UDP connection (for emulator) 7 years ago
Roman Zeyde db16aa3d1c
trezor: update to latest trezorlib version 7 years ago
Roman Zeyde 41ccd2f332
fix new pylint warning 7 years ago
Roman Zeyde b1f302151b
tests: fix test_server.py 7 years ago
Roman Zeyde fde50f04ab
Merge branch 'config' 7 years ago
Roman Zeyde 40469c4100
tox: pep8 -> pycodestyle 7 years ago
Roman Zeyde 0d059587a7
ssh: allow configuration from a file 7 years ago
Roman Zeyde f22c07e970
trezor: retry in case of invalid PIN 7 years ago
Roman Zeyde 29c7234ef4
trezor: make sure scrambled PIN is valid 7 years ago
Roman Zeyde 1942e3999b
ssh: fix exception type for missing device 7 years ago
Roman Zeyde c4dfca04f2
trezor: use UI-based passphrase entry
Now TREZOR_PASSPHRASE environment variable is ignored.
7 years ago
Roman Zeyde a1ecbf447e
gpg: return correct keygrip for KEYINFO assuan command 7 years ago
Roman Zeyde 1f9d457e92
gpg: no need to remove the UNIX socket
Our agent should be invoked and re-used when running 'gpg --import'.
7 years ago
Roman Zeyde cb3477fc69
Merge branch 'which-fix' 7 years ago
Roman Zeyde 9bbc66cc16
util: add backport for shutil.which() 7 years ago
Roman Zeyde 90cbc41b17
gpg: refactor messagebox UI from PIN entry 7 years ago
Roman Zeyde 4926d4f4d3
gpg: set PATH explicitly for $DEVICE-gpg-agent 7 years ago
Roman Zeyde d52f295326
gpg: use shutil.which() for Python 3 7 years ago
Roman Zeyde 9530c4d7db
gpg: use gpgconf for getting gpg binary path 7 years ago
Roman Zeyde a2d0c1067d
gpg: don't hardcode Python binary 7 years ago
Roman Zeyde 3d5717dca1
gpg: use a separate process for PIN entrering UI 7 years ago
Roman Zeyde 08fef24e39
gpg: use pymsgbox for PIN entrering UI 7 years ago