Skip to content

Commit

Permalink
[new release] tls, tls-mirage, tls-lwt, tls-eio and tls-async (0.17.3)
Browse files Browse the repository at this point in the history
CHANGES:

* tls: provide Engine.export_key_material, which implements RFC 5705 (and 8446)
  TLS EKM (mirleft/ocaml-tls#482 @hannesm)
* tls: fix protocol_version in Engine.epoch (TLS 1.3 always pretended TLS 1.0)
  (mirleft/ocaml-tls#482 @hannesm)
* tls: add the side (`` `Client `` or `` `Server ``) to epoch_data
  (mirleft/ocaml-tls#482 @hannesm)
* BREAKING tls: Engine.epoch - return result instead of custom variant
  (mirleft/ocaml-tls#483 @hannesm)
  • Loading branch information
hannesm committed Nov 20, 2023
1 parent 2dcd868 commit 8e4a280
Show file tree
Hide file tree
Showing 5 changed files with 252 additions and 0 deletions.
47 changes: 47 additions & 0 deletions packages/tls-async/tls-async.0.17.3/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
opam-version: "2.0"
homepage: "https://github.com/mirleft/ocaml-tls"
dev-repo: "git+https://github.com/mirleft/ocaml-tls.git"
bug-reports: "https://github.com/mirleft/ocaml-tls/issues"
doc: "https://mirleft.github.io/ocaml-tls/doc"
maintainer: ["Hannes Mehnert <hannes@mehnert.org>" "David Kaloper <david@numm.org>"]
license: "BSD-2-Clause"

build: [
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]

depends: [
"ocaml" {>= "4.08.0"}
"dune" {>= "3.0"}
"tls" {= version}
"x509" {>= "0.14.0"}
"ptime" {>= "0.8.1"}
"async" {>= "v0.16"}
"async_unix" {>= "v0.16"}
"core" {>= "v0.16"}
"cstruct-async"
"ppx_jane" {>= "v0.16"}
"mirage-crypto-rng-async"
]
tags: [ "org:mirage"]
synopsis: "Transport Layer Security purely in OCaml, Async layer"
description: """
Tls-async provides Async-friendly tls bindings
"""
authors: [
"David Kaloper <david@numm.org>"
"Hannes Mehnert <hannes@mehnert.org>"
"Eric Ebinger <github@eric.theebingers.com>"
"Calascibetta Romain <romain.calascibetta@gmail.com>"
]
url {
src:
"https://github.com/mirleft/ocaml-tls/releases/download/v0.17.3/tls-0.17.3.tbz"
checksum: [
"sha256=47e5decdd30ed1c367736458a63ae077474147b3dd675c14590b81a92d5031d4"
"sha512=da0765852ebaa0badab2600e77b9f602e7b68784d35845bcf44ee87639b14247abdeb08190df5882dd99aa59d534dbc5119c32994446604eb38e4c72d30c0f06"
]
}
x-commit-hash: "766eb22f5f7562899c653c5ec5ce5b95070fc8ec"
55 changes: 55 additions & 0 deletions packages/tls-eio/tls-eio.0.17.3/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
opam-version: "2.0"
homepage: "https://github.com/mirleft/ocaml-tls"
dev-repo: "git+https://github.com/mirleft/ocaml-tls.git"
bug-reports: "https://github.com/mirleft/ocaml-tls/issues"
doc: "https://mirleft.github.io/ocaml-tls/doc"
authors: ["Thomas Leonard"]
maintainer: ["Hannes Mehnert <hannes@mehnert.org>" "David Kaloper <david@numm.org>"]
license: "BSD-2-Clause"

build: [
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test & os != "macos"}
]

depends: [
"ocaml" {>= "5.0.0"}
"dune" {>= "3.0"}
"tls" {= version}
"mirage-crypto-rng" {>= "0.11.2"}
"mirage-crypto-rng-eio" {>= "0.11.2" with-test}
"x509" {>= "0.15.0"}
"eio" {>= "0.12"}
"eio_main" {>= "0.12" with-test}
"mdx" {with-test}
"crowbar" {>= "0.2.1" with-test}
"logs" {>= "0.7.0" with-test}
"ptime" {>= "1.0.0"}
]
tags: [ "org:mirage"]
synopsis: "Transport Layer Security purely in OCaml - Eio"
description: """
Transport Layer Security (TLS) is probably the most widely deployed security
protocol on the Internet. It provides communication privacy to prevent
eavesdropping, tampering, and message forgery. Furthermore, it optionally
provides authentication of the involved endpoints. TLS is commonly deployed for
securing web services ([HTTPS](http://tools.ietf.org/html/rfc2818)), emails,
virtual private networks, and wireless networks.

TLS uses asymmetric cryptography to exchange a symmetric key, and optionally
authenticate (using X.509) either or both endpoints. It provides algorithmic
agility, which means that the key exchange method, symmetric encryption
algorithm, and hash algorithm are negotiated.

Read [further](https://nqsb.io) and our [Usenix Security 2015 paper](https://usenix15.nqsb.io).
"""
url {
src:
"https://github.com/mirleft/ocaml-tls/releases/download/v0.17.3/tls-0.17.3.tbz"
checksum: [
"sha256=47e5decdd30ed1c367736458a63ae077474147b3dd675c14590b81a92d5031d4"
"sha512=da0765852ebaa0badab2600e77b9f602e7b68784d35845bcf44ee87639b14247abdeb08190df5882dd99aa59d534dbc5119c32994446604eb38e4c72d30c0f06"
]
}
x-commit-hash: "766eb22f5f7562899c653c5ec5ce5b95070fc8ec"
41 changes: 41 additions & 0 deletions packages/tls-lwt/tls-lwt.0.17.3/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
opam-version: "2.0"
homepage: "https://github.com/mirleft/ocaml-tls"
dev-repo: "git+https://github.com/mirleft/ocaml-tls.git"
bug-reports: "https://github.com/mirleft/ocaml-tls/issues"
doc: "https://mirleft.github.io/ocaml-tls/doc"
maintainer: ["Hannes Mehnert <hannes@mehnert.org>" "David Kaloper <david@numm.org>"]
license: "BSD-2-Clause"

build: [
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]

depends: [
"ocaml" {>= "4.08.0"}
"dune" {>= "3.0"}
"tls" {= version}
"mirage-crypto-rng-lwt" {>= "0.11.0"}
"x509" {>= "0.15.0"}
"lwt" {>= "3.0.0"}
"cmdliner" {>= "1.1.0"}
]
conflicts: [ "result" {< "1.5"} ]
tags: [ "org:mirage"]
synopsis: "Transport Layer Security purely in OCaml, Lwt layer"
description: """
Tls-lwt provides an effectful Tls_lwt module to be used with Lwt.
"""
authors: [
"David Kaloper <david@numm.org>" "Hannes Mehnert <hannes@mehnert.org>"
]
url {
src:
"https://github.com/mirleft/ocaml-tls/releases/download/v0.17.3/tls-0.17.3.tbz"
checksum: [
"sha256=47e5decdd30ed1c367736458a63ae077474147b3dd675c14590b81a92d5031d4"
"sha512=da0765852ebaa0badab2600e77b9f602e7b68784d35845bcf44ee87639b14247abdeb08190df5882dd99aa59d534dbc5119c32994446604eb38e4c72d30c0f06"
]
}
x-commit-hash: "766eb22f5f7562899c653c5ec5ce5b95070fc8ec"
46 changes: 46 additions & 0 deletions packages/tls-mirage/tls-mirage.0.17.3/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
opam-version: "2.0"
homepage: "https://github.com/mirleft/ocaml-tls"
dev-repo: "git+https://github.com/mirleft/ocaml-tls.git"
bug-reports: "https://github.com/mirleft/ocaml-tls/issues"
doc: "https://mirleft.github.io/ocaml-tls/doc"
maintainer: ["Hannes Mehnert <hannes@mehnert.org>" "David Kaloper <david@numm.org>"]
license: "BSD-2-Clause"

build: [
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]

depends: [
"ocaml" {>= "4.08.0"}
"dune" {>= "3.0"}
"tls" {= version}
"x509" {>= "0.13.0"}
"fmt" {>= "0.8.7"}
"lwt" {>= "3.0.0"}
"mirage-flow" {>= "2.0.0"}
"mirage-kv" {>= "3.0.0"}
"mirage-clock" {>= "3.0.0"}
"ptime" {>= "0.8.1"}
"mirage-crypto"
"mirage-crypto-pk"
]
tags: [ "org:mirage"]
synopsis: "Transport Layer Security purely in OCaml, MirageOS layer"
description: """
Tls-mirage provides an effectful FLOW module to be used in the MirageOS
ecosystem.
"""
authors: [
"David Kaloper <david@numm.org>" "Hannes Mehnert <hannes@mehnert.org>"
]
url {
src:
"https://github.com/mirleft/ocaml-tls/releases/download/v0.17.3/tls-0.17.3.tbz"
checksum: [
"sha256=47e5decdd30ed1c367736458a63ae077474147b3dd675c14590b81a92d5031d4"
"sha512=da0765852ebaa0badab2600e77b9f602e7b68784d35845bcf44ee87639b14247abdeb08190df5882dd99aa59d534dbc5119c32994446604eb38e4c72d30c0f06"
]
}
x-commit-hash: "766eb22f5f7562899c653c5ec5ce5b95070fc8ec"
63 changes: 63 additions & 0 deletions packages/tls/tls.0.17.3/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
opam-version: "2.0"
homepage: "https://github.com/mirleft/ocaml-tls"
dev-repo: "git+https://github.com/mirleft/ocaml-tls.git"
bug-reports: "https://github.com/mirleft/ocaml-tls/issues"
doc: "https://mirleft.github.io/ocaml-tls/doc"
maintainer: ["Hannes Mehnert <hannes@mehnert.org>" "David Kaloper <david@numm.org>"]
license: "BSD-2-Clause"

build: [
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]

depends: [
"ocaml" {>= "4.08.0"}
"dune" {>= "3.0"}
"cstruct" {>= "6.0.0"}
"mirage-crypto" {>= "0.11.0"}
"mirage-crypto-ec" {>= "0.10.0"}
"mirage-crypto-pk"
"mirage-crypto-rng" {>= "0.8.0"}
"x509" {>= "0.15.0"}
"domain-name" {>= "0.3.0"}
"fmt" {>= "0.8.7"}
"cstruct-unix" {with-test & >= "3.0.0"}
"ounit2" {with-test & >= "2.2.0"}
"hkdf"
"logs"
"ipaddr"
"alcotest" {with-test}
"randomconv" {with-test}
]
conflicts: [ "result" {< "1.5"} ]
tags: [ "org:mirage"]
synopsis: "Transport Layer Security purely in OCaml"
description: """
Transport Layer Security (TLS) is probably the most widely deployed security
protocol on the Internet. It provides communication privacy to prevent
eavesdropping, tampering, and message forgery. Furthermore, it optionally
provides authentication of the involved endpoints. TLS is commonly deployed for
securing web services ([HTTPS](http://tools.ietf.org/html/rfc2818)), emails,
virtual private networks, and wireless networks.

TLS uses asymmetric cryptography to exchange a symmetric key, and optionally
authenticate (using X.509) either or both endpoints. It provides algorithmic
agility, which means that the key exchange method, symmetric encryption
algorithm, and hash algorithm are negotiated.

Read [further](https://nqsb.io) and our [Usenix Security 2015 paper](https://usenix15.nqsb.io).
"""
authors: [
"David Kaloper <david@numm.org>" "Hannes Mehnert <hannes@mehnert.org>"
]
url {
src:
"https://github.com/mirleft/ocaml-tls/releases/download/v0.17.3/tls-0.17.3.tbz"
checksum: [
"sha256=47e5decdd30ed1c367736458a63ae077474147b3dd675c14590b81a92d5031d4"
"sha512=da0765852ebaa0badab2600e77b9f602e7b68784d35845bcf44ee87639b14247abdeb08190df5882dd99aa59d534dbc5119c32994446604eb38e4c72d30c0f06"
]
}
x-commit-hash: "766eb22f5f7562899c653c5ec5ce5b95070fc8ec"

0 comments on commit 8e4a280

Please sign in to comment.