Commit Graph

283 Commits (c7bc78ebe799f1ed941f6ec621bc3d78598206b6)

Author SHA1 Message Date
Roman Zeyde bc64205a85 gpg: replace TREZOR_GPG_USER_ID usage in gpg-agent mode
Use the keygrip to find the correct public key instead.
8 years ago
Roman Zeyde f7ebb02799 isort: fix imports 8 years ago
Roman Zeyde 0ba33a5bc4 gpg: document agent responses 8 years ago
Roman Zeyde 13752ddcd5 gpg: require latest GPG version 8 years ago
Roman Zeyde 487a8e56c4 gpg: add keygrip logic into decoding 8 years ago
Roman Zeyde ef56ee4602 gpg: remove verifying logic from decoding 8 years ago
Roman Zeyde ae381a38e5 gpg: export keygrips from protocol 8 years ago
Roman Zeyde 446ec99bf4 gpg: remove complex pubkey parsing code 8 years ago
Roman Zeyde c9bc079dc9 gpg: add file:line to logging format 8 years ago
Roman Zeyde 65d2c04478 gpg: fix agent module to work with Python 3 8 years ago
Roman Zeyde 2d57bf4453 gpg: beter logging while search for GPG key 8 years ago
Roman Zeyde 79b6d31dfe gpg: raise proper exception when keygrip mismatch is detected 8 years ago
Roman Zeyde 7de88a3980 gpg: add comment for stopping current gpg-agent 8 years ago
Roman Zeyde d236f4667e gpg: allow Curve25519 for ECDH 8 years ago
Roman Zeyde 42813ddbb4 gpg: parse curve OID from public key to select curve name 8 years ago
Roman Zeyde 8f19690943 gpg: support Curve25519 for creating encryption subkeys 8 years ago
Roman Zeyde 5047805385 gpg: move HardwareSigner to device module 8 years ago
Roman Zeyde 915b326da7 gpg: simplify AgentSigner and move to keyring module 8 years ago
Roman Zeyde e7b8379a97 factory: explicitly only the first interface 8 years ago
Roman Zeyde 26435130d7 factory: emit warning (instead of exception) when an import fails 8 years ago
Cédric Félizard 3082d61deb Fix typo (#48) 8 years ago
Roman Zeyde e3286a4510 gpg: don't clear the session after PIN is entered
This would allow single PIN entry when running multiple GPG commands.
8 years ago
Roman Zeyde fcd5671626 Handle keyinfo request (#44)
gpg: handle KEYINFO request

See https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=blob;f=agent/command.c;h=9522f898997e95207d59122d056f0f0be03ccecb;hb=6bee88dd067e03e7767ceacf6a849d9ba38cc11d#l1027 for more details.
8 years ago
Roman Zeyde 18be290bd6 Merge branch 'fix_agent' of https://github.com/Solution4Future/trezor-agent into Solution4Future-fix_agent 8 years ago
Roman Zeyde 784e14647a Merge branch 'master' into HEAD
Conflicts:
	trezor_agent/factory.py
8 years ago
Dominik Kozaczko 7d2c649e83
don't stop polling for more devices as having more than one inserted raises more problems and we need to keep the check 8 years ago
Dominik Kozaczko cf27b345f6
better handling of keepkey dependency; fixes #36 8 years ago
Dominik Kozaczko 3aebd137b0
removed .decode('ascii') and added missing bytestrings 8 years ago
Roman Zeyde 96eede9c83 Merge branch 'np-encode-subpackets' 8 years ago
Roman Zeyde 91146303a3 Follow GPG implementation for subpacket prefix encoding.
Conflicts:
	trezor_agent/gpg/protocol.py
8 years ago
Roman Zeyde bf598435fb client: keep the session open (doesn't forget PIN) 8 years ago
Roman Zeyde 459b882b89 ledger: don't use debug=True 8 years ago
Roman Zeyde 17c8bd0e92 gpg: add experimental warning 8 years ago
Nicolas Pouillard 016e864503
Attempt at fixing issue #32 8 years ago
Roman Zeyde 57e09248db Merge pull request #31 from romanz/master
Update ledger branch with the latest changes from master branch
8 years ago
Nicolas Pouillard adcbe6e7b2
gpg/decode/parse_subpackets: parse subpacket length according to RFC 8 years ago
Roman Zeyde 73bdf417e4 factory: require TREZOR firmware v1.4.0+ for GPG signatures and decryption 8 years ago
Roman Zeyde 05fada91d2 gpg: use gpgconf to get correct GPG agent UNIX socket path 8 years ago
Roman Zeyde 27a3fddfa2 gpg: add a note about restoring GPG keys with --time command-line flag 8 years ago
Roman Zeyde 030ae4c3f6 gpg: include unsupport hash algorithm ID in exception message 8 years ago
Roman Zeyde 4897b70888 factory: fix pylint import-error warnings 8 years ago
Roman Zeyde f4ecd47ed6 factory: fix pep8 and pylint warnings 8 years ago
Roman Zeyde c4bbac0e77 util: move BIP32 address related functions 8 years ago
BTChip 33747592ca Fix eddsa, SSH optimization with signature + key, cleanup 8 years ago
BTChip adb09cd8ca Ledger integration 8 years ago
Roman Zeyde 45f6f1a3d8 gpg: allow setting GPG home directory via $GNUPGHOME 8 years ago
Roman Zeyde c4c56b9faf gpg: no support for empty user_id 8 years ago
Roman Zeyde 82e08d073b gpg: rename proto -> protocol 8 years ago
Roman Zeyde 8ab0908388 proto: don't hardcode name length 8 years ago
Roman Zeyde 295d52ef10 gpg: move 'iterlines' to keyring 8 years ago