-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathfido2.cabal
106 lines (101 loc) · 1.73 KB
/
fido2.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
cabal-version: 3.0
name: fido2
version: 0.1.0.0
author: Arian van Putten
maintainer: [email protected]
build-type: Simple
common sanity
default-language: Haskell2010
build-depends: base
ghc-options:
-Wall
-Wmissing-export-lists
-Wmissing-import-lists
-Wno-name-shadowing
default-extensions:
DerivingStrategies
DerivingVia
DeriveAnyClass
DeriveGeneric
GeneralizedNewtypeDeriving
LambdaCase
OverloadedStrings
TypeApplications
DuplicateRecordFields
library
import: sanity
hs-source-dirs: fido
build-depends:
binary,
aeson,
asn1-encoding,
bytestring,
base64-bytestring,
containers,
cryptonite,
memory,
cborg,
serialise,
text,
unordered-containers,
x509,
scientific,
vector,
QuickCheck
exposed-modules:
Crypto.Fido2.Assertion,
Crypto.Fido2.Attestation,
Crypto.Fido2.Protocol,
Crypto.Fido2.PublicKey
executable server
import: sanity
hs-source-dirs: server
main-is: Main.hs
other-modules: Database
build-depends:
aeson,
aeson-qq,
base64-bytestring,
cborg,
serialise,
bytestring,
containers,
cookie,
cryptonite,
fido2,
http-types,
mtl,
scotty,
sqlite-simple,
stm,
text,
transformers,
uuid,
wai,
wai-middleware-static,
warp,
test-suite tests
import: sanity
type: exitcode-stdio-1.0
hs-source-dirs: tests
main-is: Spec.hs
other-modules:
PublicKeySpec,
AttestationSpec,
Util
build-depends:
aeson,
bytestring,
directory,
fido2,
filepath,
QuickCheck,
hspec,
cborg,
cborg-json,
cryptonite,
serialise,
quickcheck-instances,
asn1-encoding,
text,
memory