This is a wrapper around http://hackage.haskell.org/package/Crypto that currently does fingerprint generation and signature verification.
The recommended way to import this module is:
import qualified Data.OpenPGP.Crypto as OpenPGP
Documentation
:: Message | Keys that may have made the signature |
-> Message | Message containing data and signature packet |
-> Int | Index of signature to verify (0th, 1st, etc) |
-> Bool |
Verify a message signature. Only supports RSA keys for now.
fingerprint :: Packet -> StringSource
Generate a key fingerprint from a PublicKeyPacket or SecretKeyPacket http://tools.ietf.org/html/rfc4880#section-12.2