-
Notifications
You must be signed in to change notification settings - Fork 10
/
cryptostore.cabal
113 lines (109 loc) · 4.12 KB
/
cryptostore.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
name: cryptostore
version: 0.3.1.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: [email protected]
copyright: Olivier Chéron
category: Cryptography, Codec
homepage: https://github.com/ocheron/cryptostore
bug-reports: https://github.com/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://github.com/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.PEM
, Crypto.Store.PKCS5.PBES1
, Crypto.Store.PKCS8.EC
, Crypto.Store.Util
-- other-extensions:
build-depends: base >= 4.9 && < 5
, bytestring
, basement
, memory
, pem >= 0.1 && < 0.3
, asn1-types >= 0.3.1 && < 0.4
, asn1-encoding >= 0.9 && < 0.10
, hourglass >= 0.2
if flag(use_crypton)
build-depends: crypton
, crypton-x509
, crypton-x509-validation
else
build-depends: cryptonite >=0.26
, x509 >= 1.7.5
, x509-validation >= 1.5
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
, asn1-types >= 0.3.1 && < 0.4
, memory
, tasty
, tasty-hunit
, tasty-quickcheck
, hourglass
, pem
, cryptostore
if flag(use_crypton)
build-depends: crypton
, crypton-x509
else
build-depends: cryptonite >=0.25
, x509
default-language: Haskell2010
ghc-options: -Wall