X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/6e719fc77846c969252cd51c2639ecb2c61bc941..0d2a5aeeb4120999afc79d06619d90e26e2fec5c:/keystructs.h diff --git a/keystructs.h b/keystructs.h index 6c36bbe..33c6226 100644 --- a/keystructs.h +++ b/keystructs.h @@ -65,15 +65,17 @@ struct openpgp_signedpacket_list { /** * struct openpgp_publickey - An OpenPGP public key complete with sigs. * @publickey: The OpenPGP packet for the public key. - * @revocation: The OpenPGP packet for the revocation [optional] + * @revoked: True if the key is revoked. + * @sigs: Any signatures directly on the publickey packet. * @uids: The list of UIDs with signatures for this key. * @subkeys: The list of subkeys with signatures for this key. * @next: The next public key. */ struct openpgp_publickey { struct openpgp_packet *publickey; - struct openpgp_packet_list *revocations; - struct openpgp_packet_list *last_revocation; + bool revoked; + struct openpgp_packet_list *sigs; + struct openpgp_packet_list *last_sig; struct openpgp_signedpacket_list *uids; struct openpgp_signedpacket_list *last_uid; struct openpgp_signedpacket_list *subkeys;