Roman Zeyde
|
446ec99bf4
|
gpg: remove complex pubkey parsing code
|
2016-10-17 22:51:11 +03:00 |
|
Roman Zeyde
|
42813ddbb4
|
gpg: parse curve OID from public key to select curve name
|
2016-10-15 16:10:16 +03:00 |
|
Roman Zeyde
|
91146303a3
|
Follow GPG implementation for subpacket prefix encoding.
Conflicts:
trezor_agent/gpg/protocol.py
|
2016-09-28 17:26:50 +03:00 |
|
Roman Zeyde
|
82e08d073b
|
gpg: rename proto -> protocol
|
2016-07-26 19:37:42 +03:00 |
|
Roman Zeyde
|
295d52ef10
|
gpg: move 'iterlines' to keyring
|
2016-07-26 17:50:49 +03:00 |
|
Roman Zeyde
|
f4dd1eacdd
|
gpg: allow parsing multiple keys
|
2016-07-26 17:35:07 +03:00 |
|
Roman Zeyde
|
b9b7b8dafd
|
gpg: re-structure public key packets for easier parsing
|
2016-07-22 23:14:25 +03:00 |
|
Roman Zeyde
|
ccdbc7abfc
|
gpg: parse_packets() should get file-like stream
and wrap it with util.Reader()
|
2016-07-22 21:46:38 +03:00 |
|
Roman Zeyde
|
aeaf978d8e
|
gpg: add mulitple GPG public keys as test vectors
|
2016-07-09 12:08:07 +03:00 |
|
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.
|
2016-06-22 02:31:22 +02:00 |
|
Roman Zeyde
|
602e867c7d
|
gpg: add test for keygrip
|
2016-06-11 20:18:07 +03:00 |
|
Roman Zeyde
|
3e41fddcef
|
gpg: add test for ECDH pubkey generation
|
2016-06-11 14:02:12 +03:00 |
|
Roman Zeyde
|
7da7f5c256
|
HACK: fixup tests
|
2016-06-02 22:25:44 +03:00 |
|
Roman Zeyde
|
f0ea568bb8
|
gpg: add more UTs for decode
|
2016-05-27 22:07:50 +03:00 |
|
Roman Zeyde
|
34c614db6e
|
gpg: add more UTs for decode
|
2016-05-27 21:52:00 +03:00 |
|
Roman Zeyde
|
af8ad99c7a
|
gpg: add UTs for decode
|
2016-05-27 16:59:10 +03:00 |
|
Roman Zeyde
|
969e08140b
|
gpg: add more tests for keyring
|
2016-05-27 13:43:55 +03:00 |
|
Roman Zeyde
|
80a5ea0f2a
|
gpg: add UTs for keyring
|
2016-05-26 23:16:08 +03:00 |
|
Roman Zeyde
|
339f61c071
|
gpg: better __repr__ and logging for public keys
|
2016-05-26 22:29:19 +03:00 |
|
Roman Zeyde
|
eaa91cfdbd
|
gpg: add tests for basic protocol utils
|
2016-05-22 23:06:12 +03:00 |
|