Commit Graph

29 Commits

Author SHA1 Message Date
Roman Zeyde
7443fc6512
Pass 'state' during TREZOR initialization 2018-03-27 16:06:18 +03:00
Roman Zeyde
cbdc52c0a4
trezor: handle passphrase on-device entry (for Model T) 2018-03-10 09:35:23 +02:00
Roman Zeyde
601a2b1336
device: refactor PIN/passphrase UI into a separate class
This would allow easier customization.
2018-03-08 17:13:16 +02:00
Roman Zeyde
b6181bb5b5
trezor: replace tk-based pinentry with GnuPG pinentry 2018-03-07 13:42:59 +02:00
Roman Zeyde
54ce6f2cec
trezor: limit passphrase length 2018-03-06 10:06:00 +02:00
Roman Zeyde
e90bd0cd81
trezor: refactor transport enumeration a bit 2018-03-03 20:22:22 +02:00
slush
66e3e60370 trezor: Use composite transport for device detection. 2018-03-03 01:25:19 +01:00
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
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
7803026f61
gpg: allow setting passphrase from environment variable
as done by TREZOR's client library
2018-02-20 09:59:15 +02:00
Roman Zeyde
385fc9457b
Support multiple devices 2018-01-05 20:53:42 +02: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
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
c4dfca04f2
trezor: use UI-based passphrase entry
Now TREZOR_PASSPHRASE environment variable is ignored.
2017-11-16 22:36:19 +02:00
Roman Zeyde
90cbc41b17
gpg: refactor messagebox UI from PIN entry 2017-11-11 11:16:31 +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
8cf1f0463a
device: release HID handle before failing 2017-10-14 17:34:02 +03:00
Roman Zeyde
48d5630561
gpg: fix identity stringification 2017-10-07 19:18:58 +03:00
Roman Zeyde
0b829636e1
ssh: close stdin when running subshell 2017-08-31 17:00:27 +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
4af881b3cb
Split the package into a shared library and separate per-device packages 2017-04-29 18:34:46 +03:00