Commit Graph

130 Commits (master)

Author SHA1 Message Date
Roman Zeyde 7a351acf15
Merge remote-tracking branch 'matejcik/master' 6 years ago
Roman Zeyde eed168341c
Don't inheric from 'object' (after deprecating Python 2.x support) 6 years ago
matejcik 8708b1e16d trezor: use TREZOR_PATH environment variable to specify device path 6 years ago
Roman Zeyde 4968ca7ff3
Merge branch 'master' into neopg-wip 6 years ago
Roman Zeyde 36cbba6c57
Fix a few lint issues 6 years ago
Roman Zeyde 6afe20350b
Simplify GPG command generation 6 years ago
Roman Zeyde f0bda9a3e6
Allow using $PATH when looking for GPG binary
It's needed for running neopg (instead of gnupg).
6 years ago
Roman Zeyde 3b9c00e02a
Default to $GNUPGHOME when not specified on commandline 6 years ago
Roman Zeyde dcee59a19e
Assume NeoPG binary runs GnuPG functionality 6 years ago
Roman Zeyde a274de30b8
Parse NeoPG development versions
e.g. v0.0.5-37-g1fe5046-dirty
6 years ago
Roman Zeyde 4fe9e437ad
Simplify GPG homedir setting 6 years ago
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 1e6c4e6930
Add links to SSH/GPG usage examples 6 years ago
Roman Zeyde 672af98ad7
Explicitly use IdentityFile option when connecting to specific host 6 years ago
Roman Zeyde 3d1639d271
gpg: require symmetric passphrase re-entry 6 years ago
Roman Zeyde bea899d1ef
gpg: allow symmetric encryption with a passphrase 6 years ago
Roman Zeyde ccc2174775
gpg: allow more verbose output during GnuPG pubkey import 6 years ago
Roman Zeyde afa3fdb89c
gpg: allow setting passphrase cache expriration duration 6 years ago
Roman Zeyde 2ca3941cfa
ssh: allow setting passphrase cache expriration duration 6 years ago
Roman Zeyde b1bd6cb690
gpg: refactor GETINFO handling into a separate method 6 years ago
Roman Zeyde 766536d2c4
trezor: allow expiring cached passphrase 6 years ago
Roman Zeyde bc691ae795
gpg: fix method's caching 6 years ago
Roman Zeyde 2e0cfc8088
gpg: fail if new identity is missing 6 years ago
Roman Zeyde 7443fc6512
Pass 'state' during TREZOR initialization 6 years ago
Roman Zeyde 5dba12f144
gpg: don't clear options on RESET assuan command 6 years ago
Roman Zeyde 6d730e0a5b
ui: subprocess.Popen doesn't have 'args' attribute in Python 2 6 years ago
Roman Zeyde d0732d16e8
ui: don't log passphrases (since the log may be persisted) 6 years ago
Roman Zeyde dafb80ad7a
trezor: don't retry on PIN/passphrase entry cancellation 6 years ago
Roman Zeyde 0699273d49
util: move ASSUAN serialization to break circular import 6 years ago
Roman Zeyde 34c03a462c
ui: merge into a single module 6 years ago
Roman Zeyde ceae65aa5a
ui: use {} as default config 6 years ago
Roman Zeyde d0497b0137
pinentry: specify device name at PIN/passphrase entry UI 6 years ago
Roman Zeyde 870152a7af
gpg: allow specifying custom homedir during init 6 years ago
Roman Zeyde cbdc52c0a4
trezor: handle passphrase on-device entry (for Model T) 6 years ago
Roman Zeyde 0c9fc33757
gpg: replace gpg-agent.conf by run-agent.sh 6 years ago
Roman Zeyde 17ea941add
gpg: use pinentry UI for initialization and agent 6 years ago
Roman Zeyde 64064b5ecc
ssh: use pinentry UI 6 years ago
Roman Zeyde 601a2b1336
device: refactor PIN/passphrase UI into a separate class
This would allow easier customization.
6 years ago
Roman Zeyde b6181bb5b5
trezor: replace tk-based pinentry with GnuPG pinentry 6 years ago
Roman Zeyde b6da299cb0
pinentry: add simple wrapper for PIN/passphrase entry 6 years ago
Roman Zeyde 04627f0899
gpg: collect OPTIONs from agent 6 years ago
Roman Zeyde 54ce6f2cec
trezor: limit passphrase length 6 years ago
Roman Zeyde e90bd0cd81
trezor: refactor transport enumeration a bit 6 years ago
slush 66e3e60370 trezor: Use composite transport for device detection. 6 years ago
Roman Zeyde 08d81c992c
trezor: split pinentry tool into a separate file 6 years ago