packages feed

openpgp-crypto-api-0.4: openpgp-crypto-api.cabal

name:            openpgp-crypto-api
version:         0.4
cabal-version:   >= 1.8
license:         OtherLicense
license-file:    COPYING
category:        Cryptography
copyright:       © 2012 Stephen Paul Weber
author:          Stephen Paul Weber <singpolyma@singpolyma.net>
maintainer:      Stephen Paul Weber <singpolyma@singpolyma.net>
stability:       experimental
tested-with:     GHC == 7.0.3
synopsis:        Implement cryptography for OpenPGP using crypto-api compatible libraries
homepage:        http://github.com/singpolyma/OpenPGP-CryptoAPI
bug-reports:     http://github.com/singpolyma/OpenPGP-Haskell/issues
build-type:      Simple
description:
        This is a wrapper around <http://hackage.haskell.org/package/crypto-api>
        and related libraries that currently does fingerprint generation, signature
        generation, and signature verification (for RSA and DSA keys).
        .
        It is indended to be used with <http://hackage.haskell.org/package/openpgp>
        .
        It is intended that you use qualified imports with this library.
        .
        > import qualified Data.OpenPGP.CryptoAPI as OpenPGP

extra-source-files:
        README,
        tests/suite.hs,
        tests/data/000001-006.public_key,
        tests/data/000016-006.public_key,
        tests/data/000027-006.public_key,
        tests/data/000035-006.public_key,
        tests/data/uncompressed-ops-dsa.gpg
        tests/data/uncompressed-ops-dsa-sha384.txt.gpg
        tests/data/uncompressed-ops-rsa.gpg
        tests/data/compressedsig.gpg
        tests/data/compressedsig-zlib.gpg
        tests/data/compressedsig-bzip2.gpg

library
        exposed-modules:
                Data.OpenPGP.CryptoAPI

        build-depends:
                base == 4.*,
                bytestring,
                utf8-string,
                binary,
                openpgp,
                crypto-api,
                cryptocipher >= 0.3.7,
                cryptohash,
                cereal

test-suite tests
        type:       exitcode-stdio-1.0
        main-is:    tests/suite.hs

        build-depends:
                base == 4.*,
                bytestring,
                utf8-string,
                binary,
                openpgp,
                crypto-api >= 0.9,
                cryptocipher >= 0.3.7,
                cryptohash,
                HUnit,
                QuickCheck >= 2.4.1.1,
                test-framework,
                test-framework-hunit,
                test-framework-quickcheck2

source-repository head
        type:     git
        location: git://github.com/singpolyma/OpenPGP-CryptoAPI.git