Skip to content

Commit

Permalink
cryptonite -> crypton
Browse files Browse the repository at this point in the history
Remove the `use_crypton` flag, making it the default.

`cryptonite` is unmaintained and deprecated.

> The maintainer has decided to cease all activities in the Haskell
> ecosystem, and for some select packages, forks have been set in place.
> The TLS libraries have been handed over to a new maintainer, but most
> things have been abandoned with no intent to hand over maintainership.

See: https://hackage.haskell.org/package/cryptonite
See: haskell-infra/hackage-trustees#396
See: ocheron#13
  • Loading branch information
9999years committed Oct 31, 2024
1 parent faada46 commit 3bee266
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions cryptostore.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: cryptostore
version: 0.3.1.0
version: 0.4.0.0
synopsis: Serialization of cryptographic data types
description: Haskell implementation of PKCS \#8, PKCS \#12 and CMS
(Cryptographic Message Syntax).
Expand All @@ -19,11 +19,6 @@ 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
Expand Down Expand Up @@ -65,14 +60,9 @@ library
, asn1-types >= 0.3.1 && < 0.4
, asn1-encoding >= 0.9 && < 0.10
, hourglass >= 0.2
if flag(use_crypton)
build-depends: crypton
, 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

Expand Down Expand Up @@ -103,11 +93,7 @@ test-suite test-cryptostore
, hourglass
, pem
, cryptostore
if flag(use_crypton)
build-depends: crypton
, crypton
, crypton-x509
else
build-depends: cryptonite >=0.25
, x509
default-language: Haskell2010
ghc-options: -Wall

0 comments on commit 3bee266

Please sign in to comment.