Skip to content

Commit bc98c14

Browse files
committed
[new release] mirage-crypto (9 packages) (1.2.0)
CHANGES: Provide thread safety (Unix.fork and multi-domain safe) RNG generators by using getrandom/getentropy on UNIX (or /dev/urandom). In your UNIX applications, please use the "mirage-crypto-rng.unix" dependency and call "Mirage_crypto_rng_unix.use_default ()" (instead of depending on mirage-crypto-rng-{lwt,eio,async} and calling "Mirage_crypto_rng_{eio,lwt,async}.initialize". * mirage-crypto-rng: handle CPU_RNG failures (mirage/mirage-crypto#255 @hannesm, addresses mirage/mirage-crypto#251 mirage/mirage-crypto#252 mirage/mirage-crypto#253) * mirage-crypto-rng.unix: provide two generators: Urandom and Getentropy (mirage/mirage-crypto#250 @hannesm @reynir @edwintorok, addresses mirage/mirage-crypto#249) * mirage-crypto-rng: deprecate the initialize for lwt, async, eio (and advertise `Mirage_crypto_rng_unix.use_default ()` (mirage/mirage-crypto#254 @hannesm) * mirage-crypto-rng-eio: declare the cstruct dependency (mirage/mirage-crypto#247 @hannesm) * include "windows.h" (all lowercase) (mirage/mirage-crypto#248 @mefyl)
1 parent f665120 commit bc98c14

File tree

9 files changed

+383
-0
lines changed
  • packages
    • mirage-crypto/mirage-crypto.1.2.0
    • mirage-crypto-ec/mirage-crypto-ec.1.2.0
    • mirage-crypto-pk/mirage-crypto-pk.1.2.0
    • mirage-crypto-rng/mirage-crypto-rng.1.2.0
    • mirage-crypto-rng-async/mirage-crypto-rng-async.1.2.0
    • mirage-crypto-rng-eio/mirage-crypto-rng-eio.1.2.0
    • mirage-crypto-rng-lwt/mirage-crypto-rng-lwt.1.2.0
    • mirage-crypto-rng-miou-unix/mirage-crypto-rng-miou-unix.1.2.0
    • mirage-crypto-rng-mirage/mirage-crypto-rng-mirage.1.2.0

9 files changed

+383
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
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 P256 (SECP256R1), P384 (SECP384R1),
8+
P521 (SECP521R1), and 25519 (X25519, Ed25519) are implemented by this package.
9+
"""
10+
maintainer: "Hannes Mehnert <hannes@mehnert.org>"
11+
authors: [
12+
"Hannes Mehnert <hannes@mehnert.org>"
13+
"Nathan Rebours <nathan.p.rebours@gmail.com>"
14+
"Clément Pascutto <clement@tarides.com>"
15+
"Etienne Millon <me@emillon.org>"
16+
"Virgile Robles <virgile.robles@protonmail.ch>"
17+
# and from the fiat-crypto AUTHORS file
18+
"Andres Erbsen <andreser@mit.edu>"
19+
"Google Inc."
20+
"Jade Philipoom <jadep@mit.edu> <jade.philipoom@gmail.com>"
21+
"Massachusetts Institute of Technology"
22+
"Zoe Paraskevopoulou <zoe.paraskevopoulou@gmail.com>"
23+
]
24+
license: "MIT"
25+
homepage: "https://github.com/mirage/mirage-crypto"
26+
doc: "https://mirage.github.io/mirage-crypto/doc"
27+
bug-reports: "https://github.com/mirage/mirage-crypto/issues"
28+
depends: [
29+
"dune" {>= "2.7"}
30+
"ocaml" {>= "4.13.0"}
31+
"dune-configurator"
32+
"eqaf" {>= "0.7"}
33+
"mirage-crypto-rng" {=version}
34+
"digestif" {>= "1.2.0"}
35+
"alcotest" {with-test & >= "0.8.1"}
36+
"ppx_deriving_yojson" {with-test}
37+
"ppx_deriving" {with-test}
38+
"yojson" {with-test & >= "1.6.0"}
39+
"asn1-combinators" {with-test & >= "0.3.1"}
40+
"ohex" {with-test & >= "0.2.0"}
41+
"ounit2" {with-test}
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+
x-maintenance-intent: [ "(latest)" ]
54+
url {
55+
src:
56+
"https://github.com/mirage/mirage-crypto/releases/download/v1.2.0/mirage-crypto-1.2.0.tbz"
57+
checksum: [
58+
"sha256=0fec11ff82d8c5b36cc930db91310711c6593a3975ba2f2e59836249e4754e40"
59+
"sha512=1770344c7cdce45e40568b1e1730bf2fed5d30600aa9fdb50230953494d1a2c43e5affcdad4cf14b7163358425e3bb04c3a24f0dfe63020abb8b0891d5be4716"
60+
]
61+
}
62+
x-commit-hash: "1f334ef97e042b3367d54fbe8fbcf03b84841a38"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
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 <dk505@cam.ac.uk>" "Hannes Mehnert <hannes@mehnert.org>" ]
7+
maintainer: "Hannes Mehnert <hannes@mehnert.org>"
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.13.0"}
18+
"dune" {>= "2.7"}
19+
"ounit2" {with-test}
20+
"randomconv" {with-test & >= "0.2.0"}
21+
"ohex" {with-test & >= "0.2.0"}
22+
"mirage-crypto" {=version}
23+
"mirage-crypto-rng" {=version}
24+
"digestif" {>= "1.2.0"}
25+
"zarith" {>= "1.13"}
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+
x-maintenance-intent: [ "(latest)" ]
35+
url {
36+
src:
37+
"https://github.com/mirage/mirage-crypto/releases/download/v1.2.0/mirage-crypto-1.2.0.tbz"
38+
checksum: [
39+
"sha256=0fec11ff82d8c5b36cc930db91310711c6593a3975ba2f2e59836249e4754e40"
40+
"sha512=1770344c7cdce45e40568b1e1730bf2fed5d30600aa9fdb50230953494d1a2c43e5affcdad4cf14b7163358425e3bb04c3a24f0dfe63020abb8b0891d5be4716"
41+
]
42+
}
43+
x-commit-hash: "1f334ef97e042b3367d54fbe8fbcf03b84841a38"
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 <dk505@cam.ac.uk>" "Hannes Mehnert <hannes@mehnert.org>" ]
7+
maintainer: "Hannes Mehnert <hannes@mehnert.org>"
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.13.0"}
17+
"dune" {>= "2.7"}
18+
"dune-configurator" {>= "2.0.0"}
19+
"async" {>= "v0.14"}
20+
"logs"
21+
"mirage-crypto-rng" {=version}
22+
"ohex" {with-test & >= "0.2.0"}
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 generator implementations, in an Async-friendly way.
29+
"""
30+
31+
x-maintenance-intent: [ "(latest)" ]
32+
url {
33+
src:
34+
"https://github.com/mirage/mirage-crypto/releases/download/v1.2.0/mirage-crypto-1.2.0.tbz"
35+
checksum: [
36+
"sha256=0fec11ff82d8c5b36cc930db91310711c6593a3975ba2f2e59836249e4754e40"
37+
"sha512=1770344c7cdce45e40568b1e1730bf2fed5d30600aa9fdb50230953494d1a2c43e5affcdad4cf14b7163358425e3bb04c3a24f0dfe63020abb8b0891d5be4716"
38+
]
39+
}
40+
x-commit-hash: "1f334ef97e042b3367d54fbe8fbcf03b84841a38"
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: ["Bikal Gurung <gbikal@gmail.com>" ]
7+
maintainer: "Bikal Gurung <gbikal@gmail.com>"
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.12"}
19+
"logs"
20+
"mirage-crypto-rng" {=version}
21+
"duration"
22+
"mtime"
23+
"cstruct" {>= "6.1.0"}
24+
"eio_main" {with-test}
25+
"ohex" {with-test & >= "0.2.0"}
26+
]
27+
description: """
28+
Mirage-crypto-rng-eio feeds the entropy source for Mirage_crypto_rng-based
29+
random number generator implementations, in an eio-friendly way.
30+
"""
31+
x-maintenance-intent: [ "(latest)" ]
32+
url {
33+
src:
34+
"https://github.com/mirage/mirage-crypto/releases/download/v1.2.0/mirage-crypto-1.2.0.tbz"
35+
checksum: [
36+
"sha256=0fec11ff82d8c5b36cc930db91310711c6593a3975ba2f2e59836249e4754e40"
37+
"sha512=1770344c7cdce45e40568b1e1730bf2fed5d30600aa9fdb50230953494d1a2c43e5affcdad4cf14b7163358425e3bb04c3a24f0dfe63020abb8b0891d5be4716"
38+
]
39+
}
40+
x-commit-hash: "1f334ef97e042b3367d54fbe8fbcf03b84841a38"
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 <dk505@cam.ac.uk>" "Hannes Mehnert <hannes@mehnert.org>" ]
7+
maintainer: "Hannes Mehnert <hannes@mehnert.org>"
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.13.0"}
17+
"dune" {>= "2.7"}
18+
"duration"
19+
"logs"
20+
"mirage-crypto-rng" {=version}
21+
"mtime" {>= "1.0.0"}
22+
"lwt" {>= "4.0.0"}
23+
]
24+
description: """
25+
Mirage-crypto-rng-lwt provides entropy collection code for the RNG using Lwt.
26+
"""
27+
x-maintenance-intent: [ "(latest)" ]
28+
url {
29+
src:
30+
"https://github.com/mirage/mirage-crypto/releases/download/v1.2.0/mirage-crypto-1.2.0.tbz"
31+
checksum: [
32+
"sha256=0fec11ff82d8c5b36cc930db91310711c6593a3975ba2f2e59836249e4754e40"
33+
"sha512=1770344c7cdce45e40568b1e1730bf2fed5d30600aa9fdb50230953494d1a2c43e5affcdad4cf14b7163358425e3bb04c3a24f0dfe63020abb8b0891d5be4716"
34+
]
35+
}
36+
x-commit-hash: "1f334ef97e042b3367d54fbe8fbcf03b84841a38"
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: ["Romain Calascibetta <romain.calascibetta@gmail.com>" ]
7+
maintainer: "Romain Calascibetta <romain.calascibetta@gmail.com>"
8+
license: "ISC"
9+
synopsis: "Feed the entropy source in an miou.unix-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+
"miou" {>= "0.2.0"}
19+
"logs"
20+
"mirage-crypto-rng" {=version}
21+
"duration"
22+
"mtime" {>= "1.0.0"}
23+
"digestif" {>= "1.2.0"}
24+
"ohex" {with-test & >= "0.2.0"}
25+
]
26+
description: """
27+
Mirage-crypto-rng-miou-unix feeds the entropy source for Mirage_crypto_rng-based
28+
random number generator implementations, in an miou.unix-friendly way.
29+
"""
30+
x-maintenance-intent: [ "(latest)" ]
31+
url {
32+
src:
33+
"https://github.com/mirage/mirage-crypto/releases/download/v1.2.0/mirage-crypto-1.2.0.tbz"
34+
checksum: [
35+
"sha256=0fec11ff82d8c5b36cc930db91310711c6593a3975ba2f2e59836249e4754e40"
36+
"sha512=1770344c7cdce45e40568b1e1730bf2fed5d30600aa9fdb50230953494d1a2c43e5affcdad4cf14b7163358425e3bb04c3a24f0dfe63020abb8b0891d5be4716"
37+
]
38+
}
39+
x-commit-hash: "1f334ef97e042b3367d54fbe8fbcf03b84841a38"
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 <dk505@cam.ac.uk>" "Hannes Mehnert <hannes@mehnert.org>" ]
7+
maintainer: "Hannes Mehnert <hannes@mehnert.org>"
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.13.0"}
17+
"dune" {>= "2.7"}
18+
"mirage-crypto-rng" {=version}
19+
"duration"
20+
"logs"
21+
"lwt" {>= "4.0.0"}
22+
"mirage-runtime" {>= "3.8.0"}
23+
"mirage-time" {>= "2.0.0"}
24+
"mirage-clock" {>= "3.0.0"}
25+
"mirage-unix" {with-test & >= "5.0.0"}
26+
"mirage-time-unix" {with-test & >= "2.0.0"}
27+
"mirage-clock-unix" {with-test & >= "3.0.0"}
28+
"ohex" {with-test & >= "0.2.0"}
29+
]
30+
description: """
31+
Mirage-crypto-rng-mirage provides entropy collection code for the RNG.
32+
"""
33+
x-maintenance-intent: [ "(latest)" ]
34+
url {
35+
src:
36+
"https://github.com/mirage/mirage-crypto/releases/download/v1.2.0/mirage-crypto-1.2.0.tbz"
37+
checksum: [
38+
"sha256=0fec11ff82d8c5b36cc930db91310711c6593a3975ba2f2e59836249e4754e40"
39+
"sha512=1770344c7cdce45e40568b1e1730bf2fed5d30600aa9fdb50230953494d1a2c43e5affcdad4cf14b7163358425e3bb04c3a24f0dfe63020abb8b0891d5be4716"
40+
]
41+
}
42+
x-commit-hash: "1f334ef97e042b3367d54fbe8fbcf03b84841a38"
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 <dk505@cam.ac.uk>" "Hannes Mehnert <hannes@mehnert.org>" ]
7+
maintainer: "Hannes Mehnert <hannes@mehnert.org>"
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.14.0"}
17+
"dune" {>= "2.7"}
18+
"dune-configurator" {>= "2.0.0"}
19+
"duration"
20+
"logs"
21+
"mirage-crypto" {=version}
22+
"digestif" {>= "1.1.4"}
23+
"ounit2" {with-test}
24+
"randomconv" {with-test & >= "0.2.0"}
25+
"ohex" {with-test & >= "0.2.0"}
26+
]
27+
conflicts: [ "mirage-runtime" {< "3.8.0"} ]
28+
description: """
29+
Mirage-crypto-rng provides a random number generator interface, and
30+
implementations: Fortuna, HMAC-DRBG, getrandom/getentropy based (in the unix
31+
sublibrary)
32+
"""
33+
x-maintenance-intent: [ "(latest)" ]
34+
url {
35+
src:
36+
"https://github.com/mirage/mirage-crypto/releases/download/v1.2.0/mirage-crypto-1.2.0.tbz"
37+
checksum: [
38+
"sha256=0fec11ff82d8c5b36cc930db91310711c6593a3975ba2f2e59836249e4754e40"
39+
"sha512=1770344c7cdce45e40568b1e1730bf2fed5d30600aa9fdb50230953494d1a2c43e5affcdad4cf14b7163358425e3bb04c3a24f0dfe63020abb8b0891d5be4716"
40+
]
41+
}
42+
x-commit-hash: "1f334ef97e042b3367d54fbe8fbcf03b84841a38"
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 <dk505@cam.ac.uk>" "Hannes Mehnert <hannes@mehnert.org>" ]
7+
maintainer: "Hannes Mehnert <hannes@mehnert.org>"
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.13.0"}
17+
"dune" {>= "2.7"}
18+
"dune-configurator" {>= "2.0.0"}
19+
"ounit2" {with-test}
20+
"ohex" {with-test & >= "0.2.0"}
21+
"eqaf" {>= "0.8"}
22+
]
23+
conflicts: [
24+
"ocaml-freestanding"
25+
"result" {< "1.5"}
26+
]
27+
description: """
28+
Mirage-crypto provides symmetric ciphers (DES, AES, RC4, ChaCha20/Poly1305).
29+
"""
30+
x-maintenance-intent: [ "(latest)" ]
31+
url {
32+
src:
33+
"https://github.com/mirage/mirage-crypto/releases/download/v1.2.0/mirage-crypto-1.2.0.tbz"
34+
checksum: [
35+
"sha256=0fec11ff82d8c5b36cc930db91310711c6593a3975ba2f2e59836249e4754e40"
36+
"sha512=1770344c7cdce45e40568b1e1730bf2fed5d30600aa9fdb50230953494d1a2c43e5affcdad4cf14b7163358425e3bb04c3a24f0dfe63020abb8b0891d5be4716"
37+
]
38+
}
39+
x-commit-hash: "1f334ef97e042b3367d54fbe8fbcf03b84841a38"

0 commit comments

Comments
 (0)