]> the.earth.li Git - onak.git/commit
Add support for v5 keys
authorJonathan McDowell <noodles@earth.li>
Mon, 15 Apr 2019 18:19:22 +0000 (19:19 +0100)
committerJonathan McDowell <noodles@earth.li>
Mon, 15 Apr 2019 18:19:22 +0000 (19:19 +0100)
commit85187675424f3854869f1607afd8a1e84e536946
tree22ccb932072e087c80778d65c53d55cbaa6b1595
parentf8407f2ed06cdc0cca8c2421023255886c12ea6d
Add support for v5 keys

v5 is being specified in RFC4880bis. It uses a slightly different packet
format for public key packets and uses SHA2-256 for fingerprints. Add
basic support for parsing and storing these days, and some new unit
tests using the v5 test key.
14 files changed:
decodekey.c
keydb.c
keyid.c
keyindex.c
keys/README
keys/v5-test.key [new file with mode: 0644]
keystructs.h
lookup.c
onak.c
parsekey.c
t/all-025-get-v5.t [new file with mode: 0755]
t/all-045-index-text-v5.t [new file with mode: 0755]
t/all-065-get-fingerprint-v5.t [new file with mode: 0755]
t/all-085-get-subkey-v5.t [new file with mode: 0755]