Commit Graph

130 Commits (master)

Author SHA1 Message Date
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
Roman Zeyde bab46dae5c
gpg-agent: use correct GNUPGHOME when getting public keys 7 years ago
Roman Zeyde e2625cc521
gpg: fail if no public keys are found 7 years ago
Roman Zeyde 7ed76fe472
gpg: use correct GNUPGHOME for gpgconf 7 years ago
Roman Zeyde a5929eed62
gpg: create config files first 7 years ago
Roman Zeyde 5f722f8ae1
logging: add more DEBUG information 7 years ago
Roman Zeyde 8cf1f0463a
device: release HID handle before failing 7 years ago
Roman Zeyde b2450d448c
Merge branch 'gpg-init' 7 years ago
Roman Zeyde 9998456fe0
ledger: add DEBUG logging 7 years ago
Roman Zeyde 0f85ae6e2c
Rewrite gpg-init Bash script in Python 7 years ago
Roman Zeyde 867e2cfd1b
gpg: add MDC support 7 years ago
Roman Zeyde df6ddab2cf
gpg: add compression and stronger digests 7 years ago
Roman Zeyde 835f283ccf
gpg: support multiple keygrips for HAVEKEY command 7 years ago
Roman Zeyde 1ef96bed03
gpg: handle NOP assuan command 7 years ago
Roman Zeyde e4fdca08e5
ssh: fix identity stringification 7 years ago
Roman Zeyde 377af1466c
gpg: detect installed GnuPG binary 7 years ago
Roman Zeyde b7743e12a5
gpg: support GnuPG 2.2.x default installation 7 years ago
Roman Zeyde 48d5630561
gpg: fix identity stringification 7 years ago
Roman Zeyde b88dff8430
ssh: fix identity stringification 7 years ago
Roman Zeyde 7e95179128
ssh: fix unicode identity handling for Python 2 7 years ago
Roman Zeyde 0b829636e1
ssh: close stdin when running subshell 7 years ago
Roman Zeyde 9d38c26a0f
gpg: add 'fake' device for GPG-integration testing 7 years ago
Roman Zeyde 3a9330b995
gpg: return SCD version from agent 7 years ago
Roman Zeyde f904aac92e
Allow unicode in identity string for SSH and GPG 7 years ago
Roman Zeyde 442bf725ef
gpg: fail SCD-related requests 7 years ago
Roman Zeyde f6911a0016
pin: use PyQt only when running with no TTY 7 years ago
Roman Zeyde 69c54eb425
device: allow Qt-based PIN entry for Trezor/Keepkey 7 years ago
Roman Zeyde 1e8363d4fc
gpg: refactor client usage at agent module
This allows caching public keys (as done in the SSH agent).
7 years ago
Roman Zeyde e0507b1508
tests: cover file-based logging case 7 years ago
Roman Zeyde f358ca29d4
Allow loading previously exported SSH public keys from a file 7 years ago
Roman Zeyde 214b556f83
ssh: simplify argparse creation 7 years ago
Roman Zeyde 051a3fd4ab
ssh: remove unused git-related code 7 years ago
Roman Zeyde 91050ee64a
ssh: remove unused git wrapper 7 years ago
Roman Zeyde 257992d04c
ssh: move related code to a separate subdirectory 7 years ago
Roman Zeyde 6c2273387d
util: extend logging.basicConfig() 7 years ago
Roman Zeyde 4af881b3cb
Split the package into a shared library and separate per-device packages 7 years ago