From d8e80f8bbc06321008cf342ef8f525d7057a35df Mon Sep 17 00:00:00 2001 From: Hannes Mehnert Date: Tue, 29 Mar 2022 18:06:18 +0200 Subject: [PATCH] [new release] mirage-crypto, mirage-crypto-rng, mirage-crypto-rng-mirage, mirage-crypto-rng-async, mirage-crypto-pk and mirage-crypto-ec (0.10.6) CHANGES: - Use _WIN32 instead of __WIN32__, as proposed by @jonahbeckford in mirage/mirage-crypto#137 - PKG_CONFIG_PATH via cygpath on Window (mirage/mirage-crypto#150 @MisterDA) - ocaml-solo5 (formerly ocaml-freestanding) defines __ocaml_solo5__, use this in ifdef (arm only, mirage/mirage-crypto#152 @hannesm) - mirag-crypto-rng-mirage test: require mirage-unix >= 5.0.0 (mirage/mirage-crypto#151 @hannesm) - use oUnit2 as dependency, instead of oUnit (mirage/mirage-crypto#149 @MisterDA) - support mipsel and mips64el compilation (mirage/mirage-crypto#148 @glondu) - bugfix: define _POSIX_C_SOURCE in entropy_cpu_stubs.c (otherwise clock_gettime is not defined - at least on armhf) (mirage/mirage-crypto#148 @glondu) - bugfix: compilation on kfreebsd-* (adding __FreeBSD_kernel__ to ifdef) (mirage/mirage-crypto#148 @glondu) --- .../mirage-crypto-ec.0.10.6/opam | 64 +++++++++++++++++++ .../mirage-crypto-pk.0.10.6/opam | 43 +++++++++++++ .../mirage-crypto-rng-async.0.10.6/opam | 39 +++++++++++ .../mirage-crypto-rng-mirage.0.10.6/opam | 41 ++++++++++++ .../mirage-crypto-rng.0.10.6/opam | 43 +++++++++++++ .../mirage-crypto/mirage-crypto.0.10.6/opam | 43 +++++++++++++ 6 files changed, 273 insertions(+) create mode 100644 packages/mirage-crypto-ec/mirage-crypto-ec.0.10.6/opam create mode 100644 packages/mirage-crypto-pk/mirage-crypto-pk.0.10.6/opam create mode 100644 packages/mirage-crypto-rng-async/mirage-crypto-rng-async.0.10.6/opam create mode 100644 packages/mirage-crypto-rng-mirage/mirage-crypto-rng-mirage.0.10.6/opam create mode 100644 packages/mirage-crypto-rng/mirage-crypto-rng.0.10.6/opam create mode 100644 packages/mirage-crypto/mirage-crypto.0.10.6/opam diff --git a/packages/mirage-crypto-ec/mirage-crypto-ec.0.10.6/opam b/packages/mirage-crypto-ec/mirage-crypto-ec.0.10.6/opam new file mode 100644 index 00000000000..a82679e7202 --- /dev/null +++ b/packages/mirage-crypto-ec/mirage-crypto-ec.0.10.6/opam @@ -0,0 +1,64 @@ +opam-version: "2.0" +synopsis: "Elliptic Curve Cryptography with primitives taken from Fiat" +description: """ +An implementation of key exchange (ECDH) and digital signature (ECDSA/EdDSA) +algorithms using code from Fiat (). + +The curves P224 (SECP224R1), P256 (SECP256R1), P384 (SECP384R1), +P521 (SECP521R1), and 25519 (X25519, Ed25519) are implemented by this package. +""" +maintainer: "Hannes Mehnert " +authors: [ + "Hannes Mehnert " + "Nathan Rebours " + "Clément Pascutto " + "Etienne Millon " +# and from the fiat-crypto AUTHORS file + "Andres Erbsen " + "Google Inc." + "Jade Philipoom " + "Massachusetts Institute of Technology" + "Zoe Paraskevopoulou " +] +license: "MIT" +homepage: "https://github.com/mirage/mirage-crypto" +doc: "https://mirage.github.io/mirage-crypto/doc" +bug-reports: "https://github.com/mirage/mirage-crypto/issues" +depends: [ + "conf-pkg-config" {build} + "dune" {>= "2.6"} + "ocaml" {>= "4.08.0"} + "cstruct" {>= "6.0.0"} + "dune-configurator" + "eqaf" {>= "0.7"} + "mirage-crypto" {=version} + "mirage-crypto-rng" {=version} + "mirage-crypto-pk" {with-test & =version} + "hex" {with-test} + "alcotest" {with-test} + "asn1-combinators" {with-test & >= "0.2.5"} + "ppx_deriving_yojson" {with-test} + "ppx_deriving" {with-test} + "yojson" {with-test & >= "1.6.0"} +] +depopts: ["ocaml-freestanding"] +conflicts: [ + "mirage-xen" {< "6.0.0"} + "ocaml-freestanding" {< "0.4.1"} +] +build: [ + ["dune" "subst"] {dev} + ["dune" "build" "-p" name "-j" jobs] + ["dune" "runtest" "-p" name "-j" jobs] {with-test} +] +dev-repo: "git+https://github.com/mirage/mirage-crypto.git" +tags: ["org:mirage"] +url { + src: + "https://github.com/mirage/mirage-crypto/releases/download/v0.10.6/mirage-crypto-0.10.6.tbz" + checksum: [ + "sha256=01d6477a4edcad007b56983955d327f0e61c3f36494822f3755017d26e8f9410" + "sha512=870b7d0d32acde970afcd3fac2cb51131ac74bb20c887d07ddfccd239467a5dc8b700adf463427fa916393c503f106feb733cba5bf4b9d1f8eb57f52b5af9f9c" + ] +} +x-commit-hash: "cb946119d60f180e2e5ff1eecfa3ff79c249cd9e" diff --git a/packages/mirage-crypto-pk/mirage-crypto-pk.0.10.6/opam b/packages/mirage-crypto-pk/mirage-crypto-pk.0.10.6/opam new file mode 100644 index 00000000000..7ecc14c8c35 --- /dev/null +++ b/packages/mirage-crypto-pk/mirage-crypto-pk.0.10.6/opam @@ -0,0 +1,43 @@ +opam-version: "2.0" +homepage: "https://github.com/mirage/mirage-crypto" +dev-repo: "git+https://github.com/mirage/mirage-crypto.git" +bug-reports: "https://github.com/mirage/mirage-crypto/issues" +doc: "https://mirage.github.io/mirage-crypto/doc" +authors: ["David Kaloper " "Hannes Mehnert " ] +maintainer: "Hannes Mehnert " +license: "ISC" +synopsis: "Simple public-key cryptography for the modern age" + +build: [ ["dune" "subst"] {dev} + ["dune" "build" "-p" name "-j" jobs ] + ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] + +depends: [ + "conf-gmp-powm-sec" {build} + "ocaml" {>= "4.08.0"} + "dune" {>= "2.6"} + "ounit2" {with-test} + "randomconv" {with-test & >= "0.1.3"} + "cstruct" {>="6.00"} + "mirage-crypto" {=version} + "mirage-crypto-rng" {=version} + "sexplib0" + "zarith" {>= "1.4"} + "eqaf" {>= "0.8"} + (("mirage-no-solo5" & "mirage-no-xen") | "zarith-freestanding" | "mirage-runtime" {>= "4.0"}) +] +conflicts: [ + "mirage-xen" {< "6.0.0"} +] +description: """ +Mirage-crypto-pk provides public-key cryptography (RSA, DSA, DH). +""" +url { + src: + "https://github.com/mirage/mirage-crypto/releases/download/v0.10.6/mirage-crypto-0.10.6.tbz" + checksum: [ + "sha256=01d6477a4edcad007b56983955d327f0e61c3f36494822f3755017d26e8f9410" + "sha512=870b7d0d32acde970afcd3fac2cb51131ac74bb20c887d07ddfccd239467a5dc8b700adf463427fa916393c503f106feb733cba5bf4b9d1f8eb57f52b5af9f9c" + ] +} +x-commit-hash: "cb946119d60f180e2e5ff1eecfa3ff79c249cd9e" diff --git a/packages/mirage-crypto-rng-async/mirage-crypto-rng-async.0.10.6/opam b/packages/mirage-crypto-rng-async/mirage-crypto-rng-async.0.10.6/opam new file mode 100644 index 00000000000..939db63a78d --- /dev/null +++ b/packages/mirage-crypto-rng-async/mirage-crypto-rng-async.0.10.6/opam @@ -0,0 +1,39 @@ +opam-version: "2.0" +homepage: "https://github.com/mirage/mirage-crypto" +dev-repo: "git+https://github.com/mirage/mirage-crypto.git" +bug-reports: "https://github.com/mirage/mirage-crypto/issues" +doc: "https://mirage.github.io/mirage-crypto/doc" +authors: ["David Kaloper " "Hannes Mehnert " ] +maintainer: "Hannes Mehnert " +license: "ISC" +synopsis: "Feed the entropy source in an Async-friendly way" + +build: [ ["dune" "subst"] {dev} + ["dune" "build" "-p" name "-j" jobs ] + ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] + +depends: [ + "ocaml" {>= "4.08.0"} + "dune" {>= "2.6"} + "dune-configurator" {>= "2.0.0"} + "async" {>= "v0.14"} + "logs" + "mirage-crypto" {=version} + "mirage-crypto-rng" {=version} +] +available: os != "win32" +description: """ + +Mirage-crypto-rng-async feeds the entropy source for Mirage_crypto_rng-based +random number genreator implementations, in an Async-friendly way. +""" +url { + src: + "https://github.com/mirage/mirage-crypto/releases/download/v0.10.6/mirage-crypto-0.10.6.tbz" + checksum: [ + "sha256=01d6477a4edcad007b56983955d327f0e61c3f36494822f3755017d26e8f9410" + "sha512=870b7d0d32acde970afcd3fac2cb51131ac74bb20c887d07ddfccd239467a5dc8b700adf463427fa916393c503f106feb733cba5bf4b9d1f8eb57f52b5af9f9c" + ] +} +x-commit-hash: "cb946119d60f180e2e5ff1eecfa3ff79c249cd9e" + diff --git a/packages/mirage-crypto-rng-mirage/mirage-crypto-rng-mirage.0.10.6/opam b/packages/mirage-crypto-rng-mirage/mirage-crypto-rng-mirage.0.10.6/opam new file mode 100644 index 00000000000..e7465fdf98e --- /dev/null +++ b/packages/mirage-crypto-rng-mirage/mirage-crypto-rng-mirage.0.10.6/opam @@ -0,0 +1,41 @@ +opam-version: "2.0" +homepage: "https://github.com/mirage/mirage-crypto" +dev-repo: "git+https://github.com/mirage/mirage-crypto.git" +bug-reports: "https://github.com/mirage/mirage-crypto/issues" +doc: "https://mirage.github.io/mirage-crypto/doc" +authors: ["David Kaloper " "Hannes Mehnert " ] +maintainer: "Hannes Mehnert " +license: "BSD-2-Clause" +synopsis: "Entropy collection for a cryptographically secure PRNG" + +build: [ ["dune" "subst"] {dev} + ["dune" "build" "-p" name "-j" jobs ] + ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] + +depends: [ + "ocaml" {>= "4.08.0"} + "dune" {>= "2.6"} + "mirage-crypto-rng" {=version} + "duration" + "cstruct" {>= "4.0.0"} + "logs" + "lwt" {>= "4.0.0"} + "mirage-runtime" {>= "3.8.0"} + "mirage-time" {>= "2.0.0"} + "mirage-clock" {>= "3.0.0"} + "mirage-unix" {with-test & >= "5.0.0"} + "mirage-time-unix" {with-test & >= "2.0.0"} + "mirage-clock-unix" {with-test & >= "3.0.0"} +] +description: """ +Mirage-crypto-rng-mirage provides entropy collection code for the RNG. +""" +url { + src: + "https://github.com/mirage/mirage-crypto/releases/download/v0.10.6/mirage-crypto-0.10.6.tbz" + checksum: [ + "sha256=01d6477a4edcad007b56983955d327f0e61c3f36494822f3755017d26e8f9410" + "sha512=870b7d0d32acde970afcd3fac2cb51131ac74bb20c887d07ddfccd239467a5dc8b700adf463427fa916393c503f106feb733cba5bf4b9d1f8eb57f52b5af9f9c" + ] +} +x-commit-hash: "cb946119d60f180e2e5ff1eecfa3ff79c249cd9e" diff --git a/packages/mirage-crypto-rng/mirage-crypto-rng.0.10.6/opam b/packages/mirage-crypto-rng/mirage-crypto-rng.0.10.6/opam new file mode 100644 index 00000000000..4074b2961c9 --- /dev/null +++ b/packages/mirage-crypto-rng/mirage-crypto-rng.0.10.6/opam @@ -0,0 +1,43 @@ +opam-version: "2.0" +homepage: "https://github.com/mirage/mirage-crypto" +dev-repo: "git+https://github.com/mirage/mirage-crypto.git" +bug-reports: "https://github.com/mirage/mirage-crypto/issues" +doc: "https://mirage.github.io/mirage-crypto/doc" +authors: ["David Kaloper " "Hannes Mehnert " ] +maintainer: "Hannes Mehnert " +license: "ISC" +synopsis: "A cryptographically secure PRNG" + +build: [ ["dune" "subst"] {dev} + ["dune" "build" "-p" name "-j" jobs ] + ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] + +depends: [ + "ocaml" {>= "4.08.0"} + "dune" {>= "2.6"} + "dune-configurator" {>= "2.0.0"} + "duration" + "cstruct" {>= "6.0.0"} + "logs" + "mirage-crypto" {=version} + "ounit2" {with-test} + "randomconv" {with-test & >= "0.1.3"} +# lwt sublibrary + "mtime" {>= "1.0.0"} + "lwt" {>= "4.0.0"} +] +conflicts: [ "mirage-runtime" {< "3.8.0"} ] +description: """ +Mirage-crypto-rng provides a random number generator interface, and +implementations: Fortuna, HMAC-DRBG, getrandom/getentropy based (in the unix +sublibrary) +""" +url { + src: + "https://github.com/mirage/mirage-crypto/releases/download/v0.10.6/mirage-crypto-0.10.6.tbz" + checksum: [ + "sha256=01d6477a4edcad007b56983955d327f0e61c3f36494822f3755017d26e8f9410" + "sha512=870b7d0d32acde970afcd3fac2cb51131ac74bb20c887d07ddfccd239467a5dc8b700adf463427fa916393c503f106feb733cba5bf4b9d1f8eb57f52b5af9f9c" + ] +} +x-commit-hash: "cb946119d60f180e2e5ff1eecfa3ff79c249cd9e" diff --git a/packages/mirage-crypto/mirage-crypto.0.10.6/opam b/packages/mirage-crypto/mirage-crypto.0.10.6/opam new file mode 100644 index 00000000000..a484ca7bdc6 --- /dev/null +++ b/packages/mirage-crypto/mirage-crypto.0.10.6/opam @@ -0,0 +1,43 @@ +opam-version: "2.0" +homepage: "https://github.com/mirage/mirage-crypto" +dev-repo: "git+https://github.com/mirage/mirage-crypto.git" +bug-reports: "https://github.com/mirage/mirage-crypto/issues" +doc: "https://mirage.github.io/mirage-crypto/doc" +authors: ["David Kaloper " "Hannes Mehnert " ] +maintainer: "Hannes Mehnert " +license: "ISC" +synopsis: "Simple symmetric cryptography for the modern age" + +build: [ ["dune" "subst"] {dev} + ["dune" "build" "-p" name "-j" jobs ] + ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] + +depends: [ + "conf-pkg-config" {build} + "ocaml" {>= "4.08.0"} + "dune" {>= "2.6"} + "dune-configurator" {>= "2.0.0"} + "ounit2" {with-test} + "cstruct" {>="6.0.0"} + "eqaf" {>= "0.8"} +] +depopts: [ + "ocaml-freestanding" +] +conflicts: [ + "mirage-xen" {< "6.0.0"} + "ocaml-freestanding" {< "0.6.0"} +] +description: """ +Mirage-crypto provides symmetric ciphers (DES, AES, RC4, ChaCha20/Poly1305), and +hashes (MD5, SHA-1, SHA-2). +""" +url { + src: + "https://github.com/mirage/mirage-crypto/releases/download/v0.10.6/mirage-crypto-0.10.6.tbz" + checksum: [ + "sha256=01d6477a4edcad007b56983955d327f0e61c3f36494822f3755017d26e8f9410" + "sha512=870b7d0d32acde970afcd3fac2cb51131ac74bb20c887d07ddfccd239467a5dc8b700adf463427fa916393c503f106feb733cba5bf4b9d1f8eb57f52b5af9f9c" + ] +} +x-commit-hash: "cb946119d60f180e2e5ff1eecfa3ff79c249cd9e"