Skip to content

Commit

Permalink
Use crypton instead of cryptonite
Browse files Browse the repository at this point in the history
This also requires updating dependencies to use crypton.

Unfortunately, cryptostore will only use crypton if the use_crypton
Cabal flag is enabled, and we can't make that happen from our cabal
file. I opened an issue to ask them to remove `manual: True` from their
flag, so that the solver can try enabling it. See:
ocheron/cryptostore#13
  • Loading branch information
bmillwood committed Jul 16, 2024
1 parent 6930327 commit 343b13c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions jwt.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ library
exposed-modules: Web.JWT
other-modules: Data.Text.Extended, Data.ByteString.Extended
build-depends: base >= 4.8 && < 5
, cryptonite >= 0.6
, crypton >= 0.31
, cryptostore >= 0.2
, memory >= 0.8
, bytestring >= 0.10
Expand All @@ -47,8 +47,8 @@ library
, vector >= 0.7.1
, semigroups >= 0.15.4
, network-uri
, x509
, x509-store
, crypton-x509
, crypton-x509-store

hs-source-dirs: src
default-language: Haskell2010
Expand Down Expand Up @@ -81,7 +81,7 @@ test-suite testsuite
, lens
, HUnit
, QuickCheck >= 2.4.0.1
, cryptonite
, crypton
, cryptostore
, memory
, bytestring >= 0.10
Expand All @@ -95,8 +95,8 @@ test-suite testsuite
, vector >= 0.7.1
, semigroups >= 0.15.4
, network-uri
, x509
, x509-store
, crypton-x509
, crypton-x509-store

cpp-options: -DTEST

Expand Down

0 comments on commit 343b13c

Please sign in to comment.