|
| 1 | +opam-version: "2.0" |
| 2 | +homepage: "https://github.com/mirleft/ocaml-tls" |
| 3 | +dev-repo: "git+https://github.com/mirleft/ocaml-tls.git" |
| 4 | +bug-reports: "https://github.com/mirleft/ocaml-tls/issues" |
| 5 | +doc: "https://mirleft.github.io/ocaml-tls/doc" |
| 6 | +maintainer: ["Hannes Mehnert < [email protected]>" "David Kaloper < [email protected]>"] |
| 7 | +license: "BSD-2-Clause" |
| 8 | + |
| 9 | +build: [ |
| 10 | + ["dune" "subst"] {dev} |
| 11 | + ["dune" "build" "-p" name "-j" jobs] |
| 12 | + ["dune" "runtest" "-p" name "-j" jobs] {with-test} |
| 13 | +] |
| 14 | + |
| 15 | +depends: [ |
| 16 | + "ocaml" {>= "4.13.0"} |
| 17 | + "dune" {>= "3.0"} |
| 18 | + "mirage-crypto" {>= "1.1.0"} |
| 19 | + "mirage-crypto-ec" {>= "1.0.0"} |
| 20 | + "mirage-crypto-pk" {>= "1.0.0"} |
| 21 | + "mirage-crypto-rng" {>= "1.2.0"} |
| 22 | + "x509" {>= "1.0.0"} |
| 23 | + "domain-name" {>= "0.3.0"} |
| 24 | + "fmt" {>= "0.8.7"} |
| 25 | + "ounit2" {with-test & >= "2.2.0"} |
| 26 | + "kdf" {>= "1.0.0"} |
| 27 | + "logs" |
| 28 | + "ipaddr" |
| 29 | + "ohex" {>= "0.2.0"} |
| 30 | + "digestif" {>= "1.2.0"} |
| 31 | + "ptime" {>= "1.2.0"} |
| 32 | + "alcotest" {with-test} |
| 33 | + "cmdliner" {with-test & >= "1.3.0"} |
| 34 | +] |
| 35 | +conflicts: [ "result" {< "1.5"} ] |
| 36 | +tags: [ "org:mirage"] |
| 37 | +synopsis: "Transport Layer Security purely in OCaml" |
| 38 | +description: """ |
| 39 | +Transport Layer Security (TLS) is probably the most widely deployed security |
| 40 | +protocol on the Internet. It provides communication privacy to prevent |
| 41 | +eavesdropping, tampering, and message forgery. Furthermore, it optionally |
| 42 | +provides authentication of the involved endpoints. TLS is commonly deployed for |
| 43 | +securing web services ([HTTPS](http://tools.ietf.org/html/rfc2818)), emails, |
| 44 | +virtual private networks, and wireless networks. |
| 45 | + |
| 46 | +TLS uses asymmetric cryptography to exchange a symmetric key, and optionally |
| 47 | +authenticate (using X.509) either or both endpoints. It provides algorithmic |
| 48 | +agility, which means that the key exchange method, symmetric encryption |
| 49 | +algorithm, and hash algorithm are negotiated. |
| 50 | + |
| 51 | +Read our [Usenix Security 2015 paper](https://www.usenix.org/conference/usenixsecurity15/technical-sessions/presentation/kaloper-mersinjak). |
| 52 | +""" |
| 53 | +available: [ arch != "arm32" ] # see SIGBUS failures at https://github.com/ocaml/opam-repository/pull/26387 |
| 54 | +x-maintenance-intent: [ "(latest)" ] |
| 55 | +authors: [ |
| 56 | + "David Kaloper < [email protected]>" "Hannes Mehnert < [email protected]>" |
| 57 | +] |
| 58 | +url { |
| 59 | + src: |
| 60 | + "https://github.com/mirleft/ocaml-tls/releases/download/v2.0.3/tls-2.0.3.tbz" |
| 61 | + checksum: [ |
| 62 | + "sha256=d7159ba745f3da2e73844353f020fdbc767393882b47565f8b61b941c351c3d7" |
| 63 | + "sha512=fc136c13bd4c8ff1e69250809c63495299d6e00a58252ed2dd76bd704f7b95f8baa45bde3c5f0f27152767f9986fa3ba183f28d68d336dbf25a25482bd8b44b7" |
| 64 | + ] |
| 65 | +} |
| 66 | +x-commit-hash: "ba8ce3191bab369c698bd9dc4540873ee3a35c3e" |
0 commit comments