Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch from cryptonite to crypton #920

Merged
merged 1 commit into from
Jul 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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