Commit Graph

269 Commits (42813ddbb4019a0c15b0b37eebb149e9a1e4ffab)

Author SHA1 Message Date
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
Roman Zeyde 8a51099488 gpg: remove unused "sign_message" 8 years ago
Roman Zeyde f4dd1eacdd gpg: allow parsing multiple keys 8 years ago
Roman Zeyde b9b7b8dafd gpg: re-structure public key packets for easier parsing 8 years ago
Roman Zeyde 744696fdee gpg: decode user_attribute packets 8 years ago
Roman Zeyde ccdbc7abfc gpg: parse_packets() should get file-like stream
and wrap it with util.Reader()
8 years ago
Roman Zeyde e70f0ec681 gpg: refactor hash algorithm handling 8 years ago
Roman Zeyde aeaf978d8e gpg: add mulitple GPG public keys as test vectors 8 years ago
Roman Zeyde d60fff202a gpg: don't validate non-ECDSA signatures 8 years ago
Jochen Hoenicke a2e46048a1
Use TREZOR_GPG_USER_ID in agent 8 years ago
Jochen Hoenicke e66b0f47ed
More robust gpg key parsing
Handle new packet format.
Ignore unknown packets.
Handle packets that are not immediately followed by signature.
Handle other hash algorithms.
8 years ago
Roman Zeyde db874ad98f README: add GPG part 8 years ago
Roman Zeyde 75f879edbb gpg: update README.md 8 years ago
Roman Zeyde 45a85a317b gpg: allow setting UNIX socket from command-line 8 years ago
Roman Zeyde 7b3874e6f7 gpg: fixup logging during key creation 8 years ago