opam-version: "2.0"
maintainer: "Hannes Mehnert <hannes@mehnert.org>"
authors: "Hannes Mehnert <hannes@mehnert.org>"
license: "BSD2"
homepage: "https://github.com/hannesm/ocaml-otr"
doc: "https://hannesm.github.io/ocaml-otr/doc"
bug-reports: "https://github.com/hannesm/ocaml-otr/issues"
depends: [
  "ocaml" {>= "4.07.0"}
  "dune"
  "cstruct" {>= "1.9.0"}
  "sexplib0" {< "v0.15"}
  "mirage-crypto"
  "mirage-crypto-pk"
  "astring"
  "rresult"
  "base64" {>= "3.0.0"}
  "mirage-crypto-rng" {with-test}
]
build: [
  ["dune" "subst"] {pinned}
  ["dune" "build" "-p" name "-j" jobs]
  ["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
dev-repo: "git+https://github.com/hannesm/ocaml-otr.git"
synopsis: "Off the record implementation purely in OCaml"
description: """
This is an implementation of version 2 and 3 of the Off-the-record
protocol (https://otr.cypherpunks.ca/Protocol-v3-4.0.0.html) in OCaml.

Including the socialist millionairs protocol to authenticate a
communication partner over an encrypted channel providing a shared
secret.
"""
url {
  src:
    "https://github.com/hannesm/ocaml-otr/releases/download/v0.3.8/otr-v0.3.8.tbz"
  checksum: [
    "sha256=6d2434ee8394922197de3146ce2c409d0567c6b517062705a416dbcf114d16a2"
    "sha512=3e9885fba19e1b7316bccb7c9f4ec92d94104ab706458b9ca6f1c989eadbbd472da60c8a57b7cd2f7855a3bb08b0271772666cc0d4927516f27892ead145b6f3"
  ]
}
