Commit Graph

95 Commits

Author SHA1 Message Date
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
Roman Zeyde
5f722f8ae1
logging: add more DEBUG information 2017-10-21 18:08:40 +03:00
Roman Zeyde
8cf1f0463a
device: release HID handle before failing 2017-10-14 17:34:02 +03:00
Roman Zeyde
b2450d448c
Merge branch 'gpg-init' 2017-10-11 21:43:30 +03:00
Roman Zeyde
9998456fe0
ledger: add DEBUG logging 2017-10-11 21:15:44 +03:00
Roman Zeyde
0f85ae6e2c
Rewrite gpg-init Bash script in Python 2017-10-11 20:26:06 +03:00
Roman Zeyde
867e2cfd1b
gpg: add MDC support 2017-10-10 20:43:45 +03:00
Roman Zeyde
df6ddab2cf
gpg: add compression and stronger digests 2017-10-10 20:43:45 +03:00
Roman Zeyde
835f283ccf
gpg: support multiple keygrips for HAVEKEY command 2017-10-10 13:40:59 +03:00
Roman Zeyde
1ef96bed03
gpg: handle NOP assuan command 2017-10-10 10:04:43 +03:00
Roman Zeyde
e4fdca08e5
ssh: fix identity stringification 2017-10-09 16:24:11 +03:00
Roman Zeyde
377af1466c
gpg: detect installed GnuPG binary 2017-10-07 20:46:33 +03:00
Roman Zeyde
b7743e12a5
gpg: support GnuPG 2.2.x default installation 2017-10-07 20:29:01 +03:00
Roman Zeyde
48d5630561
gpg: fix identity stringification 2017-10-07 19:18:58 +03:00
Roman Zeyde
b88dff8430
ssh: fix identity stringification 2017-10-05 18:16:15 +03:00
Roman Zeyde
7e95179128
ssh: fix unicode identity handling for Python 2 2017-09-22 14:11:21 +03:00
Roman Zeyde
0b829636e1
ssh: close stdin when running subshell 2017-08-31 17:00:27 +03:00
Roman Zeyde
9d38c26a0f
gpg: add 'fake' device for GPG-integration testing 2017-07-16 15:29:47 +03:00
Roman Zeyde
3a9330b995
gpg: return SCD version from agent 2017-07-16 15:29:21 +03:00
Roman Zeyde
f904aac92e
Allow unicode in identity string for SSH and GPG 2017-06-24 14:26:51 +03:00
Roman Zeyde
442bf725ef
gpg: fail SCD-related requests 2017-06-07 23:11:57 +03:00
Roman Zeyde
f6911a0016
pin: use PyQt only when running with no TTY 2017-05-21 21:03:04 +03:00
Roman Zeyde
69c54eb425
device: allow Qt-based PIN entry for Trezor/Keepkey 2017-05-21 17:29:57 +03:00
Roman Zeyde
1e8363d4fc
gpg: refactor client usage at agent module
This allows caching public keys (as done in the SSH agent).
2017-05-20 12:22:08 +03:00
Roman Zeyde
e0507b1508
tests: cover file-based logging case 2017-05-14 10:04:01 +03:00
Roman Zeyde
f358ca29d4
Allow loading previously exported SSH public keys from a file 2017-05-13 12:47:48 +03:00
Roman Zeyde
214b556f83
ssh: simplify argparse creation 2017-05-06 20:55:38 +03:00
Roman Zeyde
051a3fd4ab
ssh: remove unused git-related code 2017-05-06 20:40:23 +03:00
Roman Zeyde
91050ee64a
ssh: remove unused git wrapper 2017-05-06 15:02:46 +03:00
Roman Zeyde
257992d04c
ssh: move related code to a separate subdirectory 2017-05-05 11:22:00 +03:00
Roman Zeyde
6c2273387d
util: extend logging.basicConfig() 2017-05-03 21:30:33 +03:00
Roman Zeyde
4af881b3cb
Split the package into a shared library and separate per-device packages 2017-04-29 18:34:46 +03:00