packages feed

jose 0.10.0.1 → 0.11

raw patch · 14 files changed

+19/−20 lines, 14 filesdep +cryptondep +crypton-x509dep −cryptonitedep −x509dep ~base

Dependencies added: crypton, crypton-x509

Dependencies removed: cryptonite, x509

Dependency ranges changed: base

Files

CHANGELOG.md view
@@ -1,3 +1,15 @@+## Version 0.11 (2023-10-31)++- Migrate to the *crypton* library ecosystem.  *crypton* was a hard+  fork of *cryptonite*, which was no longer maintained.  With this+  change, the minimum supported version of GHC increased to 8.8.+  There are no other notable changes in this release.++- The `v0.10` series is the last release series to support+  *cryptonite*.  It will continue to receive important bug fixes+  until the end of 2024.++ ## Version 0.10 (2022-09-01)  - Introduce `newtype JOSE e m a` which behaves like `ExceptT e m a`
example/KeyDB.hs view
@@ -9,7 +9,6 @@  import Control.Exception (IOException, handle) import Data.Maybe (catMaybes)-import Data.Semigroup ((<>))  import Control.Monad.Trans (MonadIO(..)) import Control.Lens (_Just, preview)
example/Main.hs view
@@ -2,7 +2,6 @@ {-# LANGUAGE FlexibleContexts #-}  import Data.Maybe (fromJust)-import Data.Semigroup ((<>)) import System.Environment (getArgs) import System.Exit (die, exitFailure) 
jose.cabal view
@@ -1,6 +1,6 @@ cabal-version:       2.2 name:                jose-version:             0.10.0.1+version:             0.11 synopsis:   JSON Object Signing and Encryption (JOSE) and JSON Web Token (JWT) library description:@@ -33,7 +33,7 @@ category:            Cryptography build-type:          Simple tested-with:-  GHC ==8.0.2 || ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.7 || ==9.4.7 || ==9.6.3 || == 9.8.1+  GHC ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.7 || ==9.4.7 || ==9.6.3 || == 9.8.1  flag demos   description: Build demonstration programs@@ -76,7 +76,7 @@       -Wredundant-strictness-flags    build-depends:-    base >= 4.9 && < 5+    base >= 4.13 && < 5     , bytestring >= 0.10 && < 0.13     , lens >= 4.16     , mtl >= 2.2.1@@ -111,14 +111,14 @@     , base64-bytestring >= 1.2.1.0 && < 1.3     , concise >= 0.1     , containers >= 0.5-    , cryptonite >= 0.24+    , crypton >= 0.31     , memory >= 0.7     , monad-time >= 0.3     , template-haskell >= 2.11     , text >= 1.1     , time >= 1.5     , network-uri >= 2.6-    , x509 >= 1.4+    , crypton-x509 >= 1.7.6    hs-source-dirs: src @@ -144,10 +144,10 @@     , aeson     , base64-bytestring     , containers-    , cryptonite+    , crypton     , time     , network-uri-    , x509+    , crypton-x509     , pem      , concise
src/Crypto/JOSE/Error.hs view
@@ -41,7 +41,6 @@    ) where -import Data.Semigroup ((<>)) import Numeric.Natural  import Control.Monad.Except (MonadError(..), ExceptT, runExceptT)
src/Crypto/JOSE/Header.hs view
@@ -66,7 +66,6 @@ import qualified Control.Monad.Fail as Fail import Data.Kind (Type) import Data.List.NonEmpty (NonEmpty)-import Data.Monoid ((<>)) import Data.Proxy (Proxy(..))  import Control.Lens (Lens', Getter, review, to)
src/Crypto/JOSE/JWA/JWK.hs view
@@ -77,7 +77,6 @@ import Data.Bifunctor import Data.Foldable (toList) import Data.Maybe (isJust)-import Data.Monoid ((<>))  import Control.Lens hiding ((.=), elements) import Control.Monad.Error.Lens (throwing, throwing_)
src/Crypto/JOSE/JWE.hs view
@@ -27,7 +27,6 @@ import Control.Applicative ((<|>)) import Data.Bifunctor (bimap) import Data.Maybe (catMaybes, fromMaybe)-import Data.Monoid ((<>))  import Control.Lens (view, views) import Data.Aeson
src/Crypto/JOSE/JWK.hs view
@@ -92,7 +92,6 @@ import Control.Monad ((>=>)) import Data.Function (on) import Data.Maybe (catMaybes)-import Data.Monoid ((<>)) import Data.Word (Word8)  import Control.Lens hiding ((.=))
src/Crypto/JOSE/JWS.hs view
@@ -92,7 +92,6 @@ import Control.Monad (unless) import Data.Foldable (toList) import Data.Maybe (catMaybes, fromMaybe)-import Data.Monoid ((<>)) import Data.List.NonEmpty (NonEmpty) import Data.Word (Word8) 
src/Crypto/JWT.hs view
@@ -95,7 +95,6 @@ import Data.Functor.Identity import Data.Maybe import qualified Data.String-import Data.Semigroup ((<>))  import Control.Lens (   makeClassy, makeClassyPrisms, makePrisms,
test/JWK.hs view
@@ -19,8 +19,6 @@   ( spec   ) where -import Data.Monoid ((<>))- import Control.Lens (_Left, _Right, review, view) import Control.Lens.Extras (is) import Data.Aeson
test/JWS.hs view
@@ -19,7 +19,6 @@   ) where  import Data.Maybe-import Data.Monoid ((<>))  import Control.Lens hiding ((.=)) import Control.Lens.Extras (is)
test/JWT.hs view
@@ -20,7 +20,6 @@   ) where  import Data.Maybe-import Data.Monoid ((<>))  import qualified Data.ByteString.Lazy as L import Control.Lens