Skip to content

Commit 5857120

Browse files
committed
[new release] mirage-crypto, mirage-crypto-rng, mirage-crypto-rng-mirage, mirage-crypto-rng-lwt, mirage-crypto-rng-eio, mirage-crypto-rng-async, mirage-crypto-pk and mirage-crypto-ec (0.11.0)
CHANGES: - BREAKING split mirage-crypto-rng-lwt away from mirage-crypto-rng (mirage/mirage-crypto#168 @hannesm, reported by @bikallem mirage/mirage-crypto#158) This means, a "mirage-crypto-rng.lwt" should now be "mirage-crypto-rng-lwt" in your dune file (or in META requires, or in _tags). - AEAD API improvements: provide tag_size, of_secret, and functions that deal with the tag separately (mirage/mirage-crypto#171 @hannesm, fixes mirage/mirage-crypto#74 mirage/mirage-crypto#144 @orbitz @anmonteiro) Only CCM16 (with tag size 16) is now exposed, the former API does not exist anymore (passing `~maclen` to `of_secret`), according to sherlocode the only usage was CCM16 anyways This means any "Mirage_crypto.AES.CCM" should now be "Mirage_crypto.AES.CCM16" and any "CCM.of_secret ~maclen:16 key" should now be "CCM16.of_secret key" Any occurrence of "Mirage_crypto.Cipher_block.S.CCM" should now be "Mirage_crypto.Cipher_block.S.CCM16" - BREAKING unify RNG initialization (reported by @talex5 in mirage/mirage-crypto#155, fixes mirage/mirage-crypto#160, PR mirage/mirage-crypto#162 @hannesm) This means: - "Mirage_crypto_rng_lwt.initialize ()" should now be "Mirage_crypto_rng_lwt.initialize (module Mirage_crypto_rng.Fortuna)" - "Mirage_crypto_rng_unix.initialize ()" should now be "Mirage_crypto_rng_unix.initialize (module Mirage_crypto_rng.Fortuna)" - remove mirage 3 cross-compilation runes (mirage/mirage-crypto#163 @hannesm) - CI: mirage-crypto-rng-eio requires ocaml 5 and dune 2.7 (mirage/mirage-crypto#170 @hannesm, fixes mirage/mirage-crypto#169 thanks to @bikallem @talex5) - CI: use miage 4 (mirage/mirage-crypto#166 @hannesm)
1 parent ff8dd6b commit 5857120

File tree

8 files changed

+335
-0
lines changed
  • packages
    • mirage-crypto/mirage-crypto.0.11.0
    • mirage-crypto-ec/mirage-crypto-ec.0.11.0
    • mirage-crypto-pk/mirage-crypto-pk.0.11.0
    • mirage-crypto-rng/mirage-crypto-rng.0.11.0
    • mirage-crypto-rng-async/mirage-crypto-rng-async.0.11.0
    • mirage-crypto-rng-eio/mirage-crypto-rng-eio.0.11.0
    • mirage-crypto-rng-lwt/mirage-crypto-rng-lwt.0.11.0
    • mirage-crypto-rng-mirage/mirage-crypto-rng-mirage.0.11.0

8 files changed

+335
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
opam-version: "2.0"
2+
synopsis: "Elliptic Curve Cryptography with primitives taken from Fiat"
3+
description: """
4+
An implementation of key exchange (ECDH) and digital signature (ECDSA/EdDSA)
5+
algorithms using code from Fiat (<https://github.com/mit-plv/fiat-crypto>).
6+
7+
The curves P224 (SECP224R1), P256 (SECP256R1), P384 (SECP384R1),
8+
P521 (SECP521R1), and 25519 (X25519, Ed25519) are implemented by this package.
9+
"""
10+
maintainer: "Hannes Mehnert <[email protected]>"
11+
authors: [
12+
"Hannes Mehnert <[email protected]>"
13+
"Nathan Rebours <[email protected]>"
14+
"Clément Pascutto <[email protected]>"
15+
"Etienne Millon <[email protected]>"
16+
# and from the fiat-crypto AUTHORS file
17+
"Andres Erbsen <[email protected]>"
18+
"Google Inc."
19+
20+
"Massachusetts Institute of Technology"
21+
"Zoe Paraskevopoulou <[email protected]>"
22+
]
23+
license: "MIT"
24+
homepage: "https://github.com/mirage/mirage-crypto"
25+
doc: "https://mirage.github.io/mirage-crypto/doc"
26+
bug-reports: "https://github.com/mirage/mirage-crypto/issues"
27+
depends: [
28+
"dune" {>= "2.7"}
29+
"ocaml" {>= "4.08.0"}
30+
"cstruct" {>= "6.0.0"}
31+
"dune-configurator"
32+
"eqaf" {>= "0.7"}
33+
"mirage-crypto" {=version}
34+
"mirage-crypto-rng" {=version}
35+
"mirage-crypto-pk" {with-test & =version}
36+
"hex" {with-test}
37+
"alcotest" {with-test & >= "0.8.1"}
38+
"asn1-combinators" {with-test & >= "0.2.5"}
39+
"ppx_deriving_yojson" {with-test}
40+
"ppx_deriving" {with-test}
41+
"yojson" {with-test & >= "1.6.0"}
42+
]
43+
conflicts: [
44+
"ocaml-freestanding"
45+
]
46+
build: [
47+
["dune" "subst"] {dev}
48+
["dune" "build" "-p" name "-j" jobs]
49+
["dune" "runtest" "-p" name "-j" jobs] {with-test}
50+
]
51+
dev-repo: "git+https://github.com/mirage/mirage-crypto.git"
52+
tags: ["org:mirage"]
53+
url {
54+
src:
55+
"https://github.com/mirage/mirage-crypto/releases/download/v0.11.0/mirage-crypto-0.11.0.tbz"
56+
checksum: [
57+
"sha256=039482b9599c209a3774bd13bbffdf42a115d2fdc5b82c6e00d5a7068ee151e4"
58+
"sha512=74c09d7a8b480b13e17e19d6225a3289479fbd73b6e9b77411463d5729f1063b0c1f4bec72a63e5b56df2f08e24c15368c21dd6bb22a3788dc838110e27d903d"
59+
]
60+
}
61+
x-commit-hash: "b579fc0d8cf3b8737f4368a2420b091e81820aad"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
opam-version: "2.0"
2+
homepage: "https://github.com/mirage/mirage-crypto"
3+
dev-repo: "git+https://github.com/mirage/mirage-crypto.git"
4+
bug-reports: "https://github.com/mirage/mirage-crypto/issues"
5+
doc: "https://mirage.github.io/mirage-crypto/doc"
6+
authors: ["David Kaloper <[email protected]>" "Hannes Mehnert <[email protected]>" ]
7+
maintainer: "Hannes Mehnert <[email protected]>"
8+
license: "ISC"
9+
synopsis: "Simple public-key cryptography for the modern age"
10+
11+
build: [ ["dune" "subst"] {dev}
12+
["dune" "build" "-p" name "-j" jobs ]
13+
["dune" "runtest" "-p" name "-j" jobs] {with-test} ]
14+
15+
depends: [
16+
"conf-gmp-powm-sec" {build}
17+
"ocaml" {>= "4.08.0"}
18+
"dune" {>= "2.7"}
19+
"ounit2" {with-test}
20+
"randomconv" {with-test & >= "0.1.3"}
21+
"cstruct" {>="6.00"}
22+
"mirage-crypto" {=version}
23+
"mirage-crypto-rng" {=version}
24+
"sexplib0"
25+
"zarith" {>= "1.4"}
26+
"eqaf" {>= "0.8"}
27+
]
28+
conflicts: [
29+
"ocaml-freestanding"
30+
]
31+
description: """
32+
Mirage-crypto-pk provides public-key cryptography (RSA, DSA, DH).
33+
"""
34+
url {
35+
src:
36+
"https://github.com/mirage/mirage-crypto/releases/download/v0.11.0/mirage-crypto-0.11.0.tbz"
37+
checksum: [
38+
"sha256=039482b9599c209a3774bd13bbffdf42a115d2fdc5b82c6e00d5a7068ee151e4"
39+
"sha512=74c09d7a8b480b13e17e19d6225a3289479fbd73b6e9b77411463d5729f1063b0c1f4bec72a63e5b56df2f08e24c15368c21dd6bb22a3788dc838110e27d903d"
40+
]
41+
}
42+
x-commit-hash: "b579fc0d8cf3b8737f4368a2420b091e81820aad"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
opam-version: "2.0"
2+
homepage: "https://github.com/mirage/mirage-crypto"
3+
dev-repo: "git+https://github.com/mirage/mirage-crypto.git"
4+
bug-reports: "https://github.com/mirage/mirage-crypto/issues"
5+
doc: "https://mirage.github.io/mirage-crypto/doc"
6+
authors: ["David Kaloper <[email protected]>" "Hannes Mehnert <[email protected]>" ]
7+
maintainer: "Hannes Mehnert <[email protected]>"
8+
license: "ISC"
9+
synopsis: "Feed the entropy source in an Async-friendly way"
10+
11+
build: [ ["dune" "subst"] {dev}
12+
["dune" "build" "-p" name "-j" jobs ]
13+
["dune" "runtest" "-p" name "-j" jobs] {with-test} ]
14+
15+
depends: [
16+
"ocaml" {>= "4.08.0"}
17+
"dune" {>= "2.7"}
18+
"dune-configurator" {>= "2.0.0"}
19+
"async" {>= "v0.14"}
20+
"logs"
21+
"mirage-crypto" {=version}
22+
"mirage-crypto-rng" {=version}
23+
]
24+
available: os != "win32"
25+
description: """
26+
27+
Mirage-crypto-rng-async feeds the entropy source for Mirage_crypto_rng-based
28+
random number genreator implementations, in an Async-friendly way.
29+
"""
30+
url {
31+
src:
32+
"https://github.com/mirage/mirage-crypto/releases/download/v0.11.0/mirage-crypto-0.11.0.tbz"
33+
checksum: [
34+
"sha256=039482b9599c209a3774bd13bbffdf42a115d2fdc5b82c6e00d5a7068ee151e4"
35+
"sha512=74c09d7a8b480b13e17e19d6225a3289479fbd73b6e9b77411463d5729f1063b0c1f4bec72a63e5b56df2f08e24c15368c21dd6bb22a3788dc838110e27d903d"
36+
]
37+
}
38+
x-commit-hash: "b579fc0d8cf3b8737f4368a2420b091e81820aad"
39+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
opam-version: "2.0"
2+
homepage: "https://github.com/mirage/mirage-crypto"
3+
dev-repo: "git+https://github.com/mirage/mirage-crypto.git"
4+
bug-reports: "https://github.com/mirage/mirage-crypto/issues"
5+
doc: "https://mirage.github.io/mirage-crypto/doc"
6+
authors: ["Bikal Gurung <[email protected]>" ]
7+
maintainer: "Bikal Gurung <[email protected]>"
8+
license: "ISC"
9+
synopsis: "Feed the entropy source in an eio-friendly way"
10+
11+
build: [ ["dune" "subst"] {dev}
12+
["dune" "build" "-p" name "-j" jobs ]
13+
["dune" "runtest" "-p" name "-j" jobs] {with-test} ]
14+
15+
depends: [
16+
"ocaml" {>= "5.0.0"}
17+
"dune" {>= "2.7"}
18+
"eio" {>= "0.3"}
19+
"cstruct" {>= "6.0.0"}
20+
"logs"
21+
"mirage-crypto-rng" {=version}
22+
"duration"
23+
"mtime"
24+
"eio_main" {with-test}
25+
]
26+
description: """
27+
Mirage-crypto-rng-eio feeds the entropy source for Mirage_crypto_rng-based
28+
random number genreator implementations, in an eio-friendly way.
29+
"""
30+
url {
31+
src:
32+
"https://github.com/mirage/mirage-crypto/releases/download/v0.11.0/mirage-crypto-0.11.0.tbz"
33+
checksum: [
34+
"sha256=039482b9599c209a3774bd13bbffdf42a115d2fdc5b82c6e00d5a7068ee151e4"
35+
"sha512=74c09d7a8b480b13e17e19d6225a3289479fbd73b6e9b77411463d5729f1063b0c1f4bec72a63e5b56df2f08e24c15368c21dd6bb22a3788dc838110e27d903d"
36+
]
37+
}
38+
x-commit-hash: "b579fc0d8cf3b8737f4368a2420b091e81820aad"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
opam-version: "2.0"
2+
homepage: "https://github.com/mirage/mirage-crypto"
3+
dev-repo: "git+https://github.com/mirage/mirage-crypto.git"
4+
bug-reports: "https://github.com/mirage/mirage-crypto/issues"
5+
doc: "https://mirage.github.io/mirage-crypto/doc"
6+
authors: ["David Kaloper <[email protected]>" "Hannes Mehnert <[email protected]>" ]
7+
maintainer: "Hannes Mehnert <[email protected]>"
8+
license: "ISC"
9+
synopsis: "A cryptographically secure PRNG"
10+
11+
build: [ ["dune" "subst"] {dev}
12+
["dune" "build" "-p" name "-j" jobs ]
13+
["dune" "runtest" "-p" name "-j" jobs] {with-test} ]
14+
15+
depends: [
16+
"ocaml" {>= "4.08.0"}
17+
"dune" {>= "2.7"}
18+
"duration"
19+
"logs"
20+
"mirage-crypto" {=version}
21+
"mirage-crypto-rng" {=version}
22+
"mtime" {>= "1.0.0"}
23+
"lwt" {>= "4.0.0"}
24+
]
25+
description: """
26+
Mirage-crypto-rng-lwt provides entropy collection code for the RNG using Lwt.
27+
"""
28+
url {
29+
src:
30+
"https://github.com/mirage/mirage-crypto/releases/download/v0.11.0/mirage-crypto-0.11.0.tbz"
31+
checksum: [
32+
"sha256=039482b9599c209a3774bd13bbffdf42a115d2fdc5b82c6e00d5a7068ee151e4"
33+
"sha512=74c09d7a8b480b13e17e19d6225a3289479fbd73b6e9b77411463d5729f1063b0c1f4bec72a63e5b56df2f08e24c15368c21dd6bb22a3788dc838110e27d903d"
34+
]
35+
}
36+
x-commit-hash: "b579fc0d8cf3b8737f4368a2420b091e81820aad"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
opam-version: "2.0"
2+
homepage: "https://github.com/mirage/mirage-crypto"
3+
dev-repo: "git+https://github.com/mirage/mirage-crypto.git"
4+
bug-reports: "https://github.com/mirage/mirage-crypto/issues"
5+
doc: "https://mirage.github.io/mirage-crypto/doc"
6+
authors: ["David Kaloper <[email protected]>" "Hannes Mehnert <[email protected]>" ]
7+
maintainer: "Hannes Mehnert <[email protected]>"
8+
license: "BSD-2-Clause"
9+
synopsis: "Entropy collection for a cryptographically secure PRNG"
10+
11+
build: [ ["dune" "subst"] {dev}
12+
["dune" "build" "-p" name "-j" jobs ]
13+
["dune" "runtest" "-p" name "-j" jobs] {with-test} ]
14+
15+
depends: [
16+
"ocaml" {>= "4.08.0"}
17+
"dune" {>= "2.7"}
18+
"mirage-crypto-rng" {=version}
19+
"duration"
20+
"cstruct" {>= "4.0.0"}
21+
"logs"
22+
"lwt" {>= "4.0.0"}
23+
"mirage-runtime" {>= "3.8.0"}
24+
"mirage-time" {>= "2.0.0"}
25+
"mirage-clock" {>= "3.0.0"}
26+
"mirage-unix" {with-test & >= "5.0.0"}
27+
"mirage-time-unix" {with-test & >= "2.0.0"}
28+
"mirage-clock-unix" {with-test & >= "3.0.0"}
29+
]
30+
description: """
31+
Mirage-crypto-rng-mirage provides entropy collection code for the RNG.
32+
"""
33+
url {
34+
src:
35+
"https://github.com/mirage/mirage-crypto/releases/download/v0.11.0/mirage-crypto-0.11.0.tbz"
36+
checksum: [
37+
"sha256=039482b9599c209a3774bd13bbffdf42a115d2fdc5b82c6e00d5a7068ee151e4"
38+
"sha512=74c09d7a8b480b13e17e19d6225a3289479fbd73b6e9b77411463d5729f1063b0c1f4bec72a63e5b56df2f08e24c15368c21dd6bb22a3788dc838110e27d903d"
39+
]
40+
}
41+
x-commit-hash: "b579fc0d8cf3b8737f4368a2420b091e81820aad"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
opam-version: "2.0"
2+
homepage: "https://github.com/mirage/mirage-crypto"
3+
dev-repo: "git+https://github.com/mirage/mirage-crypto.git"
4+
bug-reports: "https://github.com/mirage/mirage-crypto/issues"
5+
doc: "https://mirage.github.io/mirage-crypto/doc"
6+
authors: ["David Kaloper <[email protected]>" "Hannes Mehnert <[email protected]>" ]
7+
maintainer: "Hannes Mehnert <[email protected]>"
8+
license: "ISC"
9+
synopsis: "A cryptographically secure PRNG"
10+
11+
build: [ ["dune" "subst"] {dev}
12+
["dune" "build" "-p" name "-j" jobs ]
13+
["dune" "runtest" "-p" name "-j" jobs] {with-test} ]
14+
15+
depends: [
16+
"ocaml" {>= "4.08.0"}
17+
"dune" {>= "2.7"}
18+
"dune-configurator" {>= "2.0.0"}
19+
"duration"
20+
"cstruct" {>= "6.0.0"}
21+
"logs"
22+
"mirage-crypto" {=version}
23+
"ounit2" {with-test}
24+
"randomconv" {with-test & >= "0.1.3"}
25+
]
26+
conflicts: [ "mirage-runtime" {< "3.8.0"} ]
27+
description: """
28+
Mirage-crypto-rng provides a random number generator interface, and
29+
implementations: Fortuna, HMAC-DRBG, getrandom/getentropy based (in the unix
30+
sublibrary)
31+
"""
32+
url {
33+
src:
34+
"https://github.com/mirage/mirage-crypto/releases/download/v0.11.0/mirage-crypto-0.11.0.tbz"
35+
checksum: [
36+
"sha256=039482b9599c209a3774bd13bbffdf42a115d2fdc5b82c6e00d5a7068ee151e4"
37+
"sha512=74c09d7a8b480b13e17e19d6225a3289479fbd73b6e9b77411463d5729f1063b0c1f4bec72a63e5b56df2f08e24c15368c21dd6bb22a3788dc838110e27d903d"
38+
]
39+
}
40+
x-commit-hash: "b579fc0d8cf3b8737f4368a2420b091e81820aad"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
opam-version: "2.0"
2+
homepage: "https://github.com/mirage/mirage-crypto"
3+
dev-repo: "git+https://github.com/mirage/mirage-crypto.git"
4+
bug-reports: "https://github.com/mirage/mirage-crypto/issues"
5+
doc: "https://mirage.github.io/mirage-crypto/doc"
6+
authors: ["David Kaloper <[email protected]>" "Hannes Mehnert <[email protected]>" ]
7+
maintainer: "Hannes Mehnert <[email protected]>"
8+
license: "ISC"
9+
synopsis: "Simple symmetric cryptography for the modern age"
10+
11+
build: [ ["dune" "subst"] {dev}
12+
["dune" "build" "-p" name "-j" jobs ]
13+
["dune" "runtest" "-p" name "-j" jobs] {with-test} ]
14+
15+
depends: [
16+
"ocaml" {>= "4.08.0"}
17+
"dune" {>= "2.7"}
18+
"dune-configurator" {>= "2.0.0"}
19+
"ounit2" {with-test}
20+
"cstruct" {>="6.0.0"}
21+
"eqaf" {>= "0.8"}
22+
]
23+
conflicts: [
24+
"ocaml-freestanding"
25+
]
26+
description: """
27+
Mirage-crypto provides symmetric ciphers (DES, AES, RC4, ChaCha20/Poly1305), and
28+
hashes (MD5, SHA-1, SHA-2).
29+
"""
30+
url {
31+
src:
32+
"https://github.com/mirage/mirage-crypto/releases/download/v0.11.0/mirage-crypto-0.11.0.tbz"
33+
checksum: [
34+
"sha256=039482b9599c209a3774bd13bbffdf42a115d2fdc5b82c6e00d5a7068ee151e4"
35+
"sha512=74c09d7a8b480b13e17e19d6225a3289479fbd73b6e9b77411463d5729f1063b0c1f4bec72a63e5b56df2f08e24c15368c21dd6bb22a3788dc838110e27d903d"
36+
]
37+
}
38+
x-commit-hash: "b579fc0d8cf3b8737f4368a2420b091e81820aad"

0 commit comments

Comments
 (0)