Skip to content

Commit 0deecaa

Browse files
authored
Merge pull request #506 from snoyberg/crypton
Migrate to crypton
2 parents e5a49f6 + e78b103 commit 0deecaa

File tree

5 files changed

+79
-11
lines changed

5 files changed

+79
-11
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ jobs:
1616
os: [ubuntu-latest, macos-latest, windows-latest]
1717
resolver:
1818
#- nightly
19+
- lts-20
20+
- lts-19
1921
- lts-18
20-
- lts-16
21-
- lts-14
2222

2323
steps:
2424
- name: Clone project
@@ -29,6 +29,7 @@ jobs:
2929
run: |
3030
set -ex
3131
mkdir -p ../_newstack
32-
stack upgrade --force-download --local-bin-path ../_newstack
33-
../_newstack/stack --version
34-
../_newstack/stack test --fast --no-terminal --resolver=${{ matrix.resolver }}
32+
#stack upgrade --force-download --local-bin-path ../_newstack
33+
#../_newstack/stack --version
34+
#../_newstack/stack test --fast --no-terminal --resolver=${{ matrix.resolver }}
35+
stack test --fast --no-terminal --resolver=${{ matrix.resolver }}

network-conduit-tls/ChangeLog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.4.0
2+
3+
* Migrate to crypton
4+
15
## 1.3.2
26

37
* Use the recommended SSL versions from TLS

network-conduit-tls/network-conduit-tls.cabal

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: network-conduit-tls
2-
version: 1.3.2
2+
version: 1.4.0
33
synopsis: Create TLS-aware network code with conduits
44
description: Uses the tls package for a pure-Haskell implementation.
55
homepage: https://github.com/snoyberg/conduit
@@ -9,10 +9,11 @@ author: Michael Snoyman
99
maintainer: [email protected]
1010
category: Network
1111
build-type: Simple
12-
cabal-version: >=1.8
12+
cabal-version: >=1.10
1313
extra-source-files: README.md ChangeLog.md
1414

1515
library
16+
default-language: Haskell2010
1617
exposed-modules: Data.Conduit.Network.TLS
1718
Data.Conduit.Network.TLS.Internal
1819
build-depends: base >= 4.12 && < 5
@@ -22,19 +23,20 @@ library
2223
, conduit >= 1.3
2324
, network
2425
, transformers
25-
, connection
26+
, crypton-connection
2627
, streaming-commons >= 0.1.12
2728
, unliftio-core
2829
, data-default-class
2930

3031
test-suite test
32+
default-language: Haskell2010
3133
hs-source-dirs: test
3234
main-is: main.hs
3335
type: exitcode-stdio-1.0
3436
cpp-options: -DTEST
3537
build-depends: conduit
3638
, conduit-extra
37-
, connection
39+
, crypton-connection
3840
, base
3941
, mtl
4042
, network-conduit-tls

stack.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,15 @@ packages:
77
- resourcet
88
nix:
99
packages: [zlib]
10+
extra-deps:
11+
- crypton-0.31
12+
- crypton-connection-0.3.1
13+
- crypton-x509-1.7.6
14+
- crypton-x509-store-1.6.9
15+
- crypton-x509-system-1.6.7
16+
- crypton-x509-validation-1.6.12
17+
- tls-1.7.0
18+
drop-packages:
19+
- cryptonite
20+
- x509
21+
- connection

stack.yaml.lock

Lines changed: 51 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,59 @@
33
# For more information, please see the documentation at:
44
# https://docs.haskellstack.org/en/stable/lock_files
55

6-
packages: []
6+
packages:
7+
- completed:
8+
hackage: crypton-0.31@sha256:c0e4aa081bd65d1cb415358ec43e83e7fe703c83b633243a89162bd6eb865850,18286
9+
pantry-tree:
10+
sha256: 0d73be1794796e4c87e1a20198109ec7364eee8c54dd6cf6c4d202f1f6ca3ac0
11+
size: 23320
12+
original:
13+
hackage: crypton-0.31
14+
- completed:
15+
hackage: crypton-connection-0.3.1@sha256:4d0958537197956b536ea91718b1749949757022532f50b8f683290056a19021,1581
16+
pantry-tree:
17+
sha256: e35ac3a35611afab9fafac633d0c4e6328b9cce4c8262378671d6c5a739e7e70
18+
size: 394
19+
original:
20+
hackage: crypton-connection-0.3.1
21+
- completed:
22+
hackage: crypton-x509-1.7.6@sha256:c567657a705b6d6521f9dd2de999bf530d618ec00f3b939df76a41fb0fe94281,2339
23+
pantry-tree:
24+
sha256: 729e7db8dfc0a8b43e08bbd8d1387c9065e39beda6ac39e0fb9f10140810a3eb
25+
size: 1080
26+
original:
27+
hackage: crypton-x509-1.7.6
28+
- completed:
29+
hackage: crypton-x509-store-1.6.9@sha256:422b9b9f87a7382c66385d047615b16fc86a68c08ea22b1e0117c143a2d44050,1750
30+
pantry-tree:
31+
sha256: 87654d130a7f987ee139c821a1be45736d18df9fa4cb1142c4e054d3802338f3
32+
size: 406
33+
original:
34+
hackage: crypton-x509-store-1.6.9
35+
- completed:
36+
hackage: crypton-x509-system-1.6.7@sha256:023ed573d82983bc473a37a89e0434a085b413be9f68d07e085361056afd4637,1532
37+
pantry-tree:
38+
sha256: c0ca49e6a9537f3fdb7b47c5cfe93f7d744a369bf9d089f3c668b9c2d97402b7
39+
size: 399
40+
original:
41+
hackage: crypton-x509-system-1.6.7
42+
- completed:
43+
hackage: crypton-x509-validation-1.6.12@sha256:85989721b64be4b90de9f66ef641c26f57575cffed1a50d707065fb60176f386,2227
44+
pantry-tree:
45+
sha256: d4a0135f11218614fcd912cffaf54de8f749caca8696380e2589cbcfd64cc681
46+
size: 639
47+
original:
48+
hackage: crypton-x509-validation-1.6.12
49+
- completed:
50+
hackage: tls-1.7.0@sha256:fa82e9ca8fd887b66fba8433b3ba1db4e5e047fe7c815707f06209679d04177b,5566
51+
pantry-tree:
52+
sha256: 7521091021ecbbbf9b46c2fdb08f9e449eddcebf3a3922f76d23baca5db83b4f
53+
size: 4897
54+
original:
55+
hackage: tls-1.7.0
756
snapshots:
857
- completed:
58+
sha256: 22d24d0dacad9c1450b9a174c28d203f9bb482a2a8da9710a2f2a9f4afee2887
959
size: 585817
1060
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/18/5.yaml
11-
sha256: 22d24d0dacad9c1450b9a174c28d203f9bb482a2a8da9710a2f2a9f4afee2887
1261
original: lts-18.5

0 commit comments

Comments
 (0)