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.7/otr-v0.3.7.tbz"
  checksum: [
    "sha256=19ca7444fed631be28db03465429f0ab8b615420fc2dbd64f1afca4b82c4c2c6"
    "sha512=c720c24d213f7e26b151351831588136273ced125450ab7438c016187ef4cf2fd86946569a033bd5b3b4e7ec5166c587728d24f1047703f8ac11f27cc21439f0"
  ]
}
available: false
