Add accessor method for clearsigned message for a packet
authorJacob Bachmeyer <jcb@gnu.org>
Sat, 1 Jul 2023 22:20:53 +0000 (17:20 -0500)
committerJacob Bachmeyer <jcb@gnu.org>
Sat, 1 Jul 2023 22:35:26 +0000 (17:35 -0500)
commite408c31e4b43bbf8ed9194dc03e1572c93da9509
tree32ed55cbc704936b6091508ca4fdb26f7347510d
parent12b3e967f7d9ec78dad48657225ddb30617b92be
Add accessor method for clearsigned message for a packet

For directive-based packets, this returns the full text of the directive,
including its enclosing OpenPGP signature.

This commit trades a small amount of efficiency for encapsulation:
one avoidable gpgv run will occur when the directive is signed with a
known key, but not a key authorized for the target directory.
gatekeeper.pl