-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #468 from hannesm/split-tls-lwt
update to mirage-crypto 0.11, split tls-lwt away
- Loading branch information
Showing
13 changed files
with
107 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
(library | ||
(name tls_lwt) | ||
(public_name tls.lwt) | ||
(public_name tls-lwt) | ||
(wrapped false) | ||
(libraries tls lwt lwt.unix ptime.clock.os mirage-crypto-rng.lwt)) | ||
(libraries tls lwt lwt.unix ptime.clock.os mirage-crypto-rng-lwt)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,64 +1,64 @@ | ||
(library | ||
(name ex_common) | ||
(libraries lwt lwt.unix sexplib tls tls.lwt cmdliner fmt.cli logs.fmt fmt.tty logs.cli) | ||
(libraries lwt lwt.unix sexplib tls tls-lwt cmdliner fmt.cli logs.fmt fmt.tty logs.cli) | ||
(modules ex_common)) | ||
|
||
(executable | ||
(name starttls_server) | ||
(modules starttls_server) | ||
(libraries tls.lwt lwt.unix)) | ||
(libraries tls-lwt lwt.unix)) | ||
|
||
(executable | ||
(name echo_server) | ||
(modules echo_server) | ||
(libraries tls.lwt lwt.unix ex_common)) | ||
(libraries tls-lwt lwt.unix ex_common)) | ||
|
||
(executable | ||
(name echo_server_sni) | ||
(modules echo_server_sni) | ||
(libraries tls.lwt lwt.unix ex_common)) | ||
(libraries tls-lwt lwt.unix ex_common)) | ||
|
||
(executable | ||
(name echo_server_alpn) | ||
(modules echo_server_alpn) | ||
(libraries tls.lwt lwt.unix ex_common)) | ||
(libraries tls-lwt lwt.unix ex_common)) | ||
|
||
(executable | ||
(name echo_client) | ||
(modules echo_client) | ||
(libraries tls.lwt lwt.unix ex_common)) | ||
(libraries tls-lwt lwt.unix ex_common)) | ||
|
||
(executable | ||
(name echo_client_alpn) | ||
(modules echo_client_alpn) | ||
(libraries tls.lwt lwt.unix ex_common)) | ||
(libraries tls-lwt lwt.unix ex_common)) | ||
|
||
(executable | ||
(name test_server) | ||
(modules test_server) | ||
(libraries tls.lwt lwt.unix ex_common)) | ||
(libraries tls-lwt lwt.unix ex_common)) | ||
|
||
(executable | ||
(name test_client) | ||
(modules test_client) | ||
(libraries tls.lwt lwt.unix ex_common)) | ||
(libraries tls-lwt lwt.unix ex_common)) | ||
|
||
(executable | ||
(name http_client) | ||
(modules http_client) | ||
(libraries tls.lwt lwt.unix ex_common)) | ||
(libraries tls-lwt lwt.unix ex_common)) | ||
|
||
(executable | ||
(name fuzz_server) | ||
(modules fuzz_server) | ||
(libraries tls.lwt lwt.unix ex_common)) | ||
(libraries tls-lwt lwt.unix ex_common)) | ||
|
||
(executable | ||
(name resume_client) | ||
(modules resume_client) | ||
(libraries tls.lwt lwt.unix ex_common)) | ||
(libraries tls-lwt lwt.unix ex_common)) | ||
|
||
(executable | ||
(name resume_echo_server) | ||
(modules resume_echo_server) | ||
(libraries randomconv tls.lwt lwt.unix ex_common)) | ||
(libraries randomconv tls-lwt lwt.unix ex_common)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
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" | ||
author: ["David Kaloper <david@numm.org>" "Hannes Mehnert <hannes@mehnert.org>"] | ||
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" | ||
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). | ||
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters