Jamie C. Driver
|
7c01789529
|
Update setup.py for jade-agent
|
2022-08-17 15:55:08 +01:00 |
|
Roman Zeyde
|
df84c4c15f
|
Small style fixes following #382
Tested with `tox`.
|
2022-03-11 09:24:16 +02:00 |
|
Jamie C. Driver
|
471d0e03e7
|
Add support for the Blockstream Jade hww
Supports ssh and gpg, incl. ecdh/decryption.
Initially only supports curve 'nist256p1'.
|
2022-03-10 17:24:11 +00:00 |
|
Roman Zeyde
|
f0769655ad
|
Add age plugin support
See https://github.com/str4d/rage/tree/main/age-plugin.
Example usage:
RAGE_DIR=$PWD/../Rust/rage
(cd $RAGE_DIR; cargo build --all)
export PATH=$PATH:$RAGE_DIR/target/debug
age-plugin-trezor -i "John Doe" | tee trezor.id
R=$(grep recipient trezor.id | cut -f 3 -d ' ')
date | tee msg.txt
rage -er $R < msg.txt > enc.txt
rage -di trezor.id < enc.txt
|
2021-12-14 20:43:04 +02:00 |
|
Roman Zeyde
|
37510a2d75
|
Fix FakeDevice close() and pubkey()
|
2021-10-25 21:15:20 +03:00 |
|
Roman Zeyde
|
ee4b1fcdb6
|
Multiple style fixes
|
2021-10-22 19:47:15 +03:00 |
|
Roman Zeyde
|
338a075ed5
|
Allow looking TREZOR by path prefix
|
2021-06-21 21:32:43 +03:00 |
|
Roman Zeyde
|
a0e7aae1d2
|
Enable isort check in tox
|
2021-05-22 21:54:20 +03:00 |
|
Roman Zeyde
|
7f4269ab88
|
Add GitHub CI
Fixup a few pylint comments
|
2021-05-22 21:51:45 +03:00 |
|
Roman Zeyde
|
020572ef5f
|
Support Signify-based signatures
http://www.openbsd.org/papers/bsdcan-signify.html
|
2020-12-29 09:14:06 +02:00 |
|
Roman Zeyde
|
dbae284487
|
Short-circuit calling tty if stdin is redirected
|
2020-12-25 16:30:22 +02:00 |
|
onlykey
|
fd182e744f
|
Add OnlyKey support
|
2020-09-24 22:29:21 +03:00 |
|
Roman Zeyde
|
a12202d809
|
Move decompression into device.pubkey()
|
2020-09-24 14:41:50 +03:00 |
|
Roman Zeyde
|
52d840cbbb
|
Initialize passphrase cache at UI c-tor
|
2020-04-29 22:01:06 +03:00 |
|
Roman Zeyde
|
d103ebee6f
|
Fix pylint warning
|
2020-04-17 14:28:50 +03:00 |
|
matejcik
|
d8bcca3ccb
|
support trezorlib 0.12
|
2020-04-09 14:41:56 +02:00 |
|
Eric Siegel
|
0f627e8322
|
Clean up code...
|
2020-03-16 15:26:15 -04:00 |
|
Eric Siegel (Rocket Hazmat)
|
7bdfa7609d
|
Upgrade KeepKey for new libagent code
Add get_public_node for KeepKey
|
2020-03-13 13:50:09 -04:00 |
|
Eric Siegel (Rocket Hazmat)
|
53b08f4968
|
Fix detecting KeepKey USB device
The new KeepKey firmware uses WebUSB instead of HID
|
2020-03-13 13:05:08 -04:00 |
|
Roman Zeyde
|
e437591dd5
|
Fix prompt for symmetric encryption passphrase
|
2019-03-03 22:51:15 +02:00 |
|
André Vitor de Lima Matos
|
94ad9648f8
|
Fix passphrase cache
Broken since 2cb64991c3
Fix #284
|
2019-02-23 17:42:08 -03:00 |
|
Roman Zeyde
|
995fba3e93
|
Drop compatibility with <0.11 trezorlib
|
2018-12-13 00:05:47 +02:00 |
|
matejcik
|
5cfdc7734b
|
fix style complaints
|
2018-12-10 16:30:56 +01:00 |
|
matejcik
|
2cb64991c3
|
Trezor: restructure code to support python-trezor 0.11
|
2018-12-10 16:10:55 +01:00 |
|
matejcik
|
b30e6a8408
|
Allow devices to override connection closing
|
2018-12-10 16:10:55 +01:00 |
|
Roman Zeyde
|
7a351acf15
|
Merge remote-tracking branch 'matejcik/master'
|
2018-08-02 22:01:31 +03:00 |
|
Roman Zeyde
|
eed168341c
|
Don't inheric from 'object' (after deprecating Python 2.x support)
|
2018-07-25 13:44:55 +03:00 |
|
matejcik
|
8708b1e16d
|
trezor: use TREZOR_PATH environment variable to specify device path
|
2018-07-17 16:45:09 +02:00 |
|
Roman Zeyde
|
bea899d1ef
|
gpg: allow symmetric encryption with a passphrase
|
2018-04-25 11:09:58 +03:00 |
|
Roman Zeyde
|
2ca3941cfa
|
ssh: allow setting passphrase cache expriration duration
|
2018-04-25 00:02:21 +03:00 |
|
Roman Zeyde
|
766536d2c4
|
trezor: allow expiring cached passphrase
|
2018-04-23 22:55:10 +03:00 |
|
Roman Zeyde
|
7443fc6512
|
Pass 'state' during TREZOR initialization
|
2018-03-27 16:06:18 +03:00 |
|
Roman Zeyde
|
6d730e0a5b
|
ui: subprocess.Popen doesn't have 'args' attribute in Python 2
|
2018-03-14 12:15:08 +02:00 |
|
Roman Zeyde
|
d0732d16e8
|
ui: don't log passphrases (since the log may be persisted)
|
2018-03-14 12:13:44 +02:00 |
|
Roman Zeyde
|
dafb80ad7a
|
trezor: don't retry on PIN/passphrase entry cancellation
|
2018-03-13 16:52:04 +02:00 |
|
Roman Zeyde
|
0699273d49
|
util: move ASSUAN serialization to break circular import
|
2018-03-11 15:11:02 +02:00 |
|
Roman Zeyde
|
34c03a462c
|
ui: merge into a single module
|
2018-03-11 14:33:54 +02:00 |
|
Roman Zeyde
|
ceae65aa5a
|
ui: use {} as default config
|
2018-03-11 13:34:50 +02:00 |
|
Roman Zeyde
|
d0497b0137
|
pinentry: specify device name at PIN/passphrase entry UI
|
2018-03-10 22:11:26 +02: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
|
b6da299cb0
|
pinentry: add simple wrapper for PIN/passphrase entry
|
2018-03-07 13:42:56 +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 |
|