Roman Zeyde
|
82e08d073b
|
gpg: rename proto -> protocol
|
2016-07-26 19:37:42 +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
|
744696fdee
|
gpg: decode user_attribute packets
|
2016-07-22 22:44:54 +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
|
e70f0ec681
|
gpg: refactor hash algorithm handling
|
2016-07-09 12:25:05 +03:00 |
|
Roman Zeyde
|
d60fff202a
|
gpg: don't validate non-ECDSA signatures
|
2016-07-09 11:26:48 +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
|
d9fbfccd35
|
gpg: load correct key if ECDH is requested
|
2016-06-17 19:51:49 +03:00 |
|
Roman Zeyde
|
8108e5400d
|
gpg: support TREZOR-based primary key
|
2016-06-11 13:47:56 +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
|
4be55156ed
|
gpg: refactor pubkeys' parsing code
|
2016-05-27 11:28:23 +03:00 |
|
Roman Zeyde
|
dcf35c4267
|
decode: split _remove_armor() from verify()
|
2016-05-26 22:29:19 +03:00 |
|
Roman Zeyde
|
decd3ddf75
|
gpg: fixup str/bytes issues
|
2016-05-22 22:20:55 +03:00 |
|
Roman Zeyde
|
4c07b360cd
|
gpg: fix pep8/pylint warning
|
2016-05-22 08:07:51 +03:00 |
|
Roman Zeyde
|
0b0f60dd89
|
gpg: rename load_from_gpg -> get_public_key
|
2016-05-21 20:23:48 +03:00 |
|
Roman Zeyde
|
a535b31a1b
|
gpg: fixup lint/pep8
|
2016-05-21 20:00:38 +03:00 |
|
Roman Zeyde
|
3192e570ed
|
gpg: initial support for ElGamal and DSA
Doesn't verify anything (yet).
|
2016-05-21 16:54:38 +03:00 |
|
Roman Zeyde
|
b4ff31f816
|
gpg: handle ECDH keys
|
2016-05-12 22:15:05 +03:00 |
|
Roman Zeyde
|
1a228a1af6
|
gpg: refactor cli
|
2016-05-06 22:19:46 +03:00 |
|
Roman Zeyde
|
07c4100618
|
gpg: fixup logging and make sure it works with git
|
2016-04-30 21:55:37 +03:00 |
|
Roman Zeyde
|
b9f139b74a
|
gpg: refactor subkey as pubkey
|
2016-04-30 21:34:12 +03:00 |
|
Roman Zeyde
|
3bf926620b
|
gpg: handle multiple packets
|
2016-04-30 21:07:19 +03:00 |
|
Roman Zeyde
|
9ed9781496
|
gpg: support RSA decode and verify
|
2016-04-30 11:02:41 +03:00 |
|
Roman Zeyde
|
ac2d12b354
|
It works again!
|
2016-04-29 17:45:16 +03:00 |
|
Roman Zeyde
|
a45c6c1300
|
horrible hack - but IT WORKS!!!
|
2016-04-28 22:17:08 +03:00 |
|
Roman Zeyde
|
3c9c1b4e14
|
gpg: export verifying_key from parsing
|
2016-04-28 14:44:52 +03:00 |
|
Roman Zeyde
|
dde6dcdaeb
|
gpg: fix unpacking for subkey-case
|
2016-04-28 12:55:48 +03:00 |
|
Roman Zeyde
|
e09571151c
|
gpg: remove length type logging
|
2016-04-26 21:46:39 +03:00 |
|
Roman Zeyde
|
340aae4fb8
|
gpg: refactor decode to functional style
|
2016-04-26 21:38:59 +03:00 |
|
Roman Zeyde
|
9875c9927e
|
gpg: demo for subkeys decoding
|
2016-04-26 21:12:02 +03:00 |
|
Roman Zeyde
|
d9862ae0e1
|
gpg: debug logging for ECDSA verification
|
2016-04-26 12:57:27 +03:00 |
|
Roman Zeyde
|
5fb8b0e047
|
decode: parse GPG subkeys
|
2016-04-26 12:54:10 +03:00 |
|
Roman Zeyde
|
324fc21a5c
|
decode: refactor digest calculation
|
2016-04-26 12:34:50 +03:00 |
|
Roman Zeyde
|
a0b4776374
|
gpg: fixup exception message
|
2016-04-25 18:19:08 +03:00 |
|
Roman Zeyde
|
9a435ae23e
|
gpg: minor renames and code refactoring
|
2016-04-24 14:05:30 +03:00 |
|
Roman Zeyde
|
d7913a84d5
|
gpg: pydocstyle fixes
|
2016-04-24 12:22:02 +03:00 |
|
Roman Zeyde
|
a114242243
|
gpg: small fixes before merging to master
|
2016-04-24 10:58:32 +03:00 |
|
Roman Zeyde
|
5506310239
|
gpg: move under trezor_agent
|
2016-04-23 21:47:30 +03:00 |
|