cryptostore-0.5.0.0: cryptostore.cabal
name: cryptostore
version: 0.5.0.0
synopsis: Serialization of cryptographic data types
description: Haskell implementation of PKCS \#8, PKCS \#12 and CMS
(Cryptographic Message Syntax).
license: BSD3
license-file: LICENSE
author: Olivier Chéron
maintainer: olivier.cheron@gmail.com
copyright: Olivier Chéron
category: Cryptography, Codec
homepage: https://codeberg.org/ocheron/cryptostore
bug-reports: https://codeberg.org/ocheron/cryptostore/issues
build-type: Simple
extra-source-files: README.md ChangeLog.md tests/files/*.pem
cabal-version: >=1.10
source-repository head
type: git
location: https://codeberg.org/ocheron/cryptostore
flag use_crypton
description: Use crypton instead of cryptonite
manual: True
default: False
library
hs-source-dirs: src
exposed-modules: Crypto.Store.CMS
, Crypto.Store.Cipher.RC2
, Crypto.Store.Error
, Crypto.Store.PKCS5
, Crypto.Store.KeyWrap.AES
, Crypto.Store.KeyWrap.TripleDES
, Crypto.Store.KeyWrap.RC2
, Crypto.Store.PKCS12
, Crypto.Store.PKCS8
, Crypto.Store.X509
other-modules: Crypto.Store.ASN1.Generate
, Crypto.Store.ASN1.Parse
, Crypto.Store.CMS.Algorithms
, Crypto.Store.CMS.Attribute
, Crypto.Store.CMS.Authenticated
, Crypto.Store.CMS.AuthEnveloped
, Crypto.Store.CMS.Digested
, Crypto.Store.CMS.Encrypted
, Crypto.Store.CMS.Enveloped
, Crypto.Store.CMS.Info
, Crypto.Store.CMS.OriginatorInfo
, Crypto.Store.CMS.PEM
, Crypto.Store.CMS.Signed
, Crypto.Store.CMS.Type
, Crypto.Store.CMS.Util
, Crypto.Store.Cipher.RC2.Primitive
, Crypto.Store.Keys
, Crypto.Store.PEM
, Crypto.Store.PKCS5.PBES1
, Crypto.Store.PKCS8.EC
, Crypto.Store.PubKey.RSA.KEM
, Crypto.Store.Util
-- other-extensions:
build-depends: base >= 4.9 && < 5
, bytestring
, basement
, memory
if flag(use_crypton)
build-depends: crypton
, crypton-asn1-encoding >= 0.10.0 && < 0.11
, crypton-asn1-types >= 0.4.1 && < 0.5
, crypton-pem >= 0.2.4 && <0.4
, crypton-x509 >= 1.8.0
, crypton-x509-validation >= 1.8.0
, time-hourglass
else
build-depends: cryptonite >=0.26
, x509 >= 1.7.5
, x509-validation >= 1.5
, pem >= 0.1 && < 0.3
, asn1-types >= 0.3.1 && < 0.4
, asn1-encoding >= 0.9.6 && < 0.10
, hourglass >= 0.2.10
default-language: Haskell2010
ghc-options: -Wall
test-suite test-cryptostore
type: exitcode-stdio-1.0
hs-source-dirs: tests
main-is: Main.hs
other-modules: KeyWrap.AES
, KeyWrap.TripleDES
, KeyWrap.RC2
, CMS.Instances
, CMS.Tests
, Cipher.RC2
, PKCS12.Instances
, PKCS12.Tests
, PKCS8.Instances
, PKCS8.Tests
, Util
, X509.Instances
, X509.Tests
build-depends: base >= 4.9 && < 5
, bytestring
, memory
, tasty
, tasty-hunit
, tasty-quickcheck
, cryptostore
if flag(use_crypton)
build-depends: crypton
, crypton-asn1-types >= 0.4.1 && < 0.5
, crypton-pem >= 0.2.4 && <0.4
, crypton-x509
, time-hourglass
else
build-depends: cryptonite >=0.25
, x509
, asn1-types >= 0.3.1 && < 0.4
, hourglass
, pem
default-language: Haskell2010
ghc-options: -Wall