Commit Graph

210 Commits (6f6e7c0bccfa4c73f33462cfaab69deff9724292)

Author SHA1 Message Date
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 c4bbac0e77 util: move BIP32 address related functions 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
Roman Zeyde 6c96cc37b9 gpg: add support for adding subkeys to EdDSA primary GPG keys 8 years ago
Roman Zeyde c98cb22ba4 gpg: use separate derivations for GPG keys 8 years ago
Roman Zeyde d9fbfccd35 gpg: load correct key if ECDH is requested 8 years ago
Roman Zeyde fe4d9ed3c8 gpg: add SLIP-0017 support for ECDH session key generation 8 years ago
Roman Zeyde 602e867c7d gpg: add test for keygrip 8 years ago
Roman Zeyde 16de8cdabc agent: refactor signature and ECDH 8 years ago
Roman Zeyde 7bbf11b631 gpg: refactor key creation 8 years ago
Roman Zeyde 3e41fddcef gpg: add test for ECDH pubkey generation 8 years ago
Roman Zeyde 8108e5400d gpg: support TREZOR-based primary key 8 years ago
Roman Zeyde a1659e0f0d gpg: add preferred symmetric algo 8 years ago
Roman Zeyde 3b139314b6 gpg: refactor sign_message method 8 years ago
Roman Zeyde a05cff5079 gpg: use "gpg2" for 'git config --local gpg.program' 8 years ago
Roman Zeyde 694cee17ac gpg: refactor create_* methods 8 years ago
Roman Zeyde bc281d4411 gpg: use local version 8 years ago
Roman Zeyde 04af6b737b gpg: remove extra param from Factory.from_public_key() 8 years ago
Roman Zeyde 171c746c7e gpg: move agent main code to __main__ 8 years ago
Roman Zeyde 8b5ac14150 gpg: add docstrings 8 years ago
Roman Zeyde d2167cd4ff gpg: check keygrip on ECDH 8 years ago
Roman Zeyde 10cbe67c9a gpg: add TODO 8 years ago
Roman Zeyde 29a984eebb gpg: improve flags selection 8 years ago
Roman Zeyde a6660fd5c5 gpg: handle BYE command 8 years ago
Roman Zeyde 2acd0bf3b7 gpg: fix keygrip computation 8 years ago
Roman Zeyde e9f7894d62 ecdh: fixup pubkey ID 8 years ago
Roman Zeyde 56e9d7c776 gpg: allow graceful exit via Ctrl+C 8 years ago
Roman Zeyde e7bacf829c gpg: refactor ecdh case 8 years ago
Roman Zeyde c1c679b541 HACK: support ECDH in agent - note keygrip and ID errors. 8 years ago
Roman Zeyde 49c343df94 HACK: create subkey with ECDH support 8 years ago
Roman Zeyde 7da7f5c256 HACK: fixup tests 8 years ago
Roman Zeyde 39cb5565bf HACK: better line iteration 8 years ago
Roman Zeyde f89c5bb125 HACK: better logging 8 years ago
Roman Zeyde 92649b290f HACK: add preliminary gpg support 8 years ago
Roman Zeyde d9b07e2ac6 gpg: hack agent prototype 8 years ago
Roman Zeyde f0ea568bb8 gpg: add more UTs for decode 8 years ago
Roman Zeyde 34c614db6e gpg: add more UTs for decode 8 years ago
Roman Zeyde af8ad99c7a gpg: add UTs for decode 8 years ago
Roman Zeyde 313271ac06 gpg: move signer.py to __main__.py 8 years ago
Roman Zeyde 969e08140b gpg: add more tests for keyring 8 years ago
Roman Zeyde 39f00af65d gpg: add help for sign arguments 8 years ago
Roman Zeyde 272759e907 gpg: allow dependency injection for subprocess module 8 years ago
Roman Zeyde 4be55156ed gpg: refactor pubkeys' parsing code 8 years ago
Roman Zeyde 80a5ea0f2a gpg: add UTs for keyring 8 years ago
Roman Zeyde dcf35c4267 decode: split _remove_armor() from verify() 8 years ago
Roman Zeyde 7570861765 gpg: fixup signer docstring 8 years ago
Roman Zeyde 339f61c071 gpg: better __repr__ and logging for public keys 8 years ago
Roman Zeyde 3c4fb7a17b gpg: allow pinentry UI via "display=" option 8 years ago
Roman Zeyde a6a0c05f57 keyring: fix more Python 2/3 issues 8 years ago
Roman Zeyde 4c036d2ce7 gpg: fixup str/bytes issues 8 years ago
Roman Zeyde eaa91cfdbd gpg: add tests for basic protocol utils 8 years ago
Roman Zeyde fd61941d0f gpg: fixup subcommand for Python 3
http://bugs.python.org/issue9253#msg186387
8 years ago
Roman Zeyde decd3ddf75 gpg: fixup str/bytes issues 8 years ago
Roman Zeyde 4c07b360cd gpg: fix pep8/pylint warning 8 years ago
Roman Zeyde 0b0f60dd89 gpg: rename load_from_gpg -> get_public_key 8 years ago
Roman Zeyde db6903eab7 gpg: rename agent -> keyring 8 years ago
Roman Zeyde 171a0c2f6a gpg: remove agent's main 8 years ago
Roman Zeyde a535b31a1b gpg: fixup lint/pep8 8 years ago
Roman Zeyde ee4bcddd22 gpg: rename main API 8 years ago
Roman Zeyde f626d34e21 gpg: using closing() context handler 8 years ago
Roman Zeyde 2cf081420f gpg: move armor to proto 8 years ago
Roman Zeyde 0e72e3b7ff gpg: move PublicKey to proto 8 years ago
Roman Zeyde ce61c8b2ae gpg: move timeformat from util 8 years ago
Roman Zeyde 3192e570ed gpg: initial support for ElGamal and DSA
Doesn't verify anything (yet).
8 years ago
Roman Zeyde bf8f516ef4 gpg: no visual challenge 8 years ago
Roman Zeyde b4ff31f816 gpg: handle ECDH keys 8 years ago
Roman Zeyde 6e9d6d6430 gpg: add URLs for subpackets 8 years ago
Roman Zeyde fa9391ede6 gpg: update required firmware version 8 years ago
Roman Zeyde 695079e4b9 agent: raise explicit error when signature fails 8 years ago
Roman Zeyde 9888ef971a gpg: add installation command to README 8 years ago
Roman Zeyde 4270d8464f gpg: add screencasts 8 years ago
Roman Zeyde 25a427081c gpg: add more output examples 8 years ago
Roman Zeyde 939fdbe829 gpg: add output examples 8 years ago
Roman Zeyde 1f126f3002 gpg: better logging 8 years ago
Roman Zeyde 78526d1379 gpg: install gpg-git wrapper script 8 years ago
Roman Zeyde 7e3c3b4f77 gpg: fixup README 8 years ago
Roman Zeyde 513c19bf1f gpg: remove unused files 8 years ago
Roman Zeyde f1e75783c4 gpg: use environment variable for user_id 8 years ago
Roman Zeyde fce45832c2 gpg: fix small typo 8 years ago
Roman Zeyde df001c4100 gpg: rename README 8 years ago
Roman Zeyde 1a228a1af6 gpg: refactor cli 8 years ago