Skip to content

Commit

Permalink
Switch from cryptonite to crypton
Browse files Browse the repository at this point in the history
  • Loading branch information
endgame committed Jun 30, 2023
1 parent fbdf8e8 commit ba2148e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/amazonka-core/amazonka-core.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ library
, conduit >=1.3
, conduit-extra >=1.3
, containers >=0.5 && <0.7
, cryptonite >=0.25
, crypton >=0.32 && <0.33
, deepseq >=1.4
, hashable >=1.2
, http-client >=0.5 && <0.8
Expand Down
2 changes: 1 addition & 1 deletion lib/amazonka-core/src/Amazonka/Crypto.hs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ sinkMD5 = sinkHash
sinkSHA256 :: Monad m => ConduitM ByteString o m (Hash.Digest Hash.SHA256)
sinkSHA256 = sinkHash

-- | A cryptonite compatible incremental hash sink.
-- | A crypton-compatible incremental hash sink.
sinkHash ::
( Monad m,
Hash.HashAlgorithm a
Expand Down
4 changes: 2 additions & 2 deletions lib/amazonka-s3-encryption/amazonka-s3-encryption.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ library
, bytestring >=0.10.8
, case-insensitive >=1.2
, conduit >=1.3
, cryptonite >=0.25
, crypton >=0.32 && <0.33
, http-client >=0.5 && <0.8
, lens >=4.14
, memory >=0.6
Expand All @@ -125,7 +125,7 @@ test-suite amazonka-s3-encryption-test
, base
, bytestring
, conduit
, cryptonite
, crypton
, mtl
, QuickCheck
, quickcheck-instances >=0.3.25.2
Expand Down
2 changes: 2 additions & 0 deletions lib/amazonka/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ Released: **?**, Compare: [2.0.0-rc1](https://github.com/brendanhay/amazonka/com

### Changed

- `amazonka-core`: Use `crypton` instead of `cryptonite` to provide cryptographic primitives
[\#920](https://github.com/brendanhay/amazonka/pull/920)
- `amazonka-core`/`amazonka-redshift`/`amazonka-route53`/`amazonka-s3`: Support Melbourne region (`ap-southeast-4`).
[\#897](https://github.com/brendanhay/amazonka/pull/897)
- `amazonka`: Presigning functions do not require `MonadIO`.
Expand Down

0 comments on commit ba2148e

Please sign in to comment.