Roman Zeyde
|
d04527a8ed
|
Replace GPG version assertion by an error log
since NeoPG uses different versioning
|
6 years ago |
Roman Zeyde
|
3329c29cb4
|
Use gpg_command() for identity generation
|
6 years ago |
Roman Zeyde
|
df2cb52f8d
|
fixup! Reply with an ERR to `SCD SERIALNO openpgp` ASSUAN command
|
6 years ago |
Roman Zeyde
|
f36ef4ffe0
|
Allow running NeoPG binary (instead of GnuPG)
|
6 years ago |
Roman Zeyde
|
f74de828fc
|
Reply with an ERR to `SCD SERIALNO openpgp` ASSUAN command
(for NeoPG)
|
6 years ago |
Roman Zeyde
|
912b1cde7a
|
Add support for file-descriptor-based socket server
(for NeoPG)
|
6 years ago |
Roman Zeyde
|
bc691ae795
|
gpg: fix method's caching
|
7 years ago |
Roman Zeyde
|
2e0cfc8088
|
gpg: fail if new identity is missing
|
7 years ago |
Roman Zeyde
|
7443fc6512
|
Pass 'state' during TREZOR initialization
|
7 years ago |
Roman Zeyde
|
5dba12f144
|
gpg: don't clear options on RESET assuan command
|
7 years ago |
Roman Zeyde
|
6d730e0a5b
|
ui: subprocess.Popen doesn't have 'args' attribute in Python 2
|
7 years ago |
Roman Zeyde
|
d0732d16e8
|
ui: don't log passphrases (since the log may be persisted)
|
7 years ago |
Roman Zeyde
|
dafb80ad7a
|
trezor: don't retry on PIN/passphrase entry cancellation
|
7 years ago |
Roman Zeyde
|
0699273d49
|
util: move ASSUAN serialization to break circular import
|
7 years ago |
Roman Zeyde
|
34c03a462c
|
ui: merge into a single module
|
7 years ago |
Roman Zeyde
|
ceae65aa5a
|
ui: use {} as default config
|
7 years ago |
Roman Zeyde
|
d0497b0137
|
pinentry: specify device name at PIN/passphrase entry UI
|
7 years ago |
Roman Zeyde
|
870152a7af
|
gpg: allow specifying custom homedir during init
|
7 years ago |
Roman Zeyde
|
cbdc52c0a4
|
trezor: handle passphrase on-device entry (for Model T)
|
7 years ago |
Roman Zeyde
|
0c9fc33757
|
gpg: replace gpg-agent.conf by run-agent.sh
|
7 years ago |
Roman Zeyde
|
17ea941add
|
gpg: use pinentry UI for initialization and agent
|
7 years ago |
Roman Zeyde
|
64064b5ecc
|
ssh: use pinentry UI
|
7 years ago |
Roman Zeyde
|
601a2b1336
|
device: refactor PIN/passphrase UI into a separate class
This would allow easier customization.
|
7 years ago |
Roman Zeyde
|
b6181bb5b5
|
trezor: replace tk-based pinentry with GnuPG pinentry
|
7 years ago |
Roman Zeyde
|
b6da299cb0
|
pinentry: add simple wrapper for PIN/passphrase entry
|
7 years ago |
Roman Zeyde
|
04627f0899
|
gpg: collect OPTIONs from agent
|
7 years ago |
Roman Zeyde
|
54ce6f2cec
|
trezor: limit passphrase length
|
7 years ago |
Roman Zeyde
|
e90bd0cd81
|
trezor: refactor transport enumeration a bit
|
7 years ago |
slush
|
66e3e60370
|
trezor: Use composite transport for device detection.
|
7 years ago |
Roman Zeyde
|
08d81c992c
|
trezor: split pinentry tool into a separate file
|
7 years ago |
Roman Zeyde
|
55a899f929
|
trezor: initialize cached_passphrase_ack with None (instead of 0)
|
7 years ago |
Roman Zeyde
|
2168115b06
|
ssh: fixup small refactoring bug
|
7 years ago |
Roman Zeyde
|
4a9140c42d
|
Merge branch 'serge'
|
7 years ago |
Roman Zeyde
|
b20d98bf57
|
gpg: move socket path generation into a helper function
|
7 years ago |
Roman Zeyde
|
199fb299c3
|
gpg: use 'sys.exit' and log homedir
|
7 years ago |
Roman Zeyde
|
f4208009e0
|
trezor: init_device before failing PIN/passphrase entry
|
7 years ago |
Roman Zeyde
|
73d60dbec0
|
gpg: cache the passphrase for better UX
|
7 years ago |
Roman Zeyde
|
34ea224290
|
gpg: the scripts should be only user-readable
|
7 years ago |
Roman Zeyde
|
7803026f61
|
gpg: allow setting passphrase from environment variable
as done by TREZOR's client library
|
7 years ago |
Serge Pokhodyaev
|
6363eb0d4a
|
add -f/--foreground option to run as systemd service
|
7 years ago |
Serge Pokhodyaev
|
a32bfc749b
|
don't overwrite homedir
|
7 years ago |
Roman Zeyde
|
cefc5f180a
|
ssh: add --sock-path flag to explicitly specify SSH agent's UNIX socket
|
7 years ago |
Roman Zeyde
|
0f5c71b748
|
ssh: add --log-file flag
|
7 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.
|
7 years ago |
Roman Zeyde
|
bf294beb56
|
gpg: decode stdout as UTF-8
|
7 years ago |
Roman Zeyde
|
713345918e
|
ssh: document sub-shell mode
|
7 years ago |
Roman Zeyde
|
eb60c2f475
|
fix more pylint issues
|
7 years ago |
Roman Zeyde
|
6d8d43db9b
|
fix pylint issues
|
7 years ago |
Roman Zeyde
|
3e67bc9f0e
|
gpg: log GnuPG commands' output
|
7 years ago |
Roman Zeyde
|
385fc9457b
|
Support multiple devices
|
7 years ago |