openpgp: Store the issuer key id and fingerprint in <openpgp-signature>.
authorLudovic Courtès <ludo@gnu.org>
Sun, 26 Apr 2020 14:03:46 +0000 (16:03 +0200)
committerLudovic Courtès <ludo@gnu.org>
Mon, 4 May 2020 07:56:12 +0000 (09:56 +0200)
commit7b2b3a13cc2d9b043f37b2e7ba0f147c08de8fad
treed8d1d51c1b71b81089ae3233738c3ab35592e44e
parent4459c7859c286ab54fa3a9901c8a17591b04c516
openpgp: Store the issuer key id and fingerprint in <openpgp-signature>.

* guix/openpgp.scm (<openpgp-signature>)[issuer, issuer-fingerprint]:
New fields.
(openpgp-signature-issuer, openpgp-signature-issuer-fingerprint): Remove.
(verify-openpgp-signature): Use 'openpgp-signature-issuer-key-id'.
(get-signature): Initialize 'issuer' and 'issuer-fingerprint'.
* tests/openpgp.scm ("get-openpgp-detached-signature/ascii"): Adjust
accordingly.
guix/openpgp.scm
tests/openpgp.scm