Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dsheets/ocaml-libmacaroons

An OCaml ctypes binding to libmacaroons
https://github.com/dsheets/ocaml-libmacaroons

Last synced: 3 months ago
JSON representation

An OCaml ctypes binding to libmacaroons

Awesome Lists containing this project

README

        

# ocaml-libmacaroons

[Ctypes](https://github.com/ocamllabs/ocaml-ctypes) bindings to
[libmacaroons](https://github.com/rescrv/libmacaroons).

``` ocaml
(* example libmacaroons use *)
```

## Considerations

**This binding has not been thoroughly and independently audited so your
use case must be able to tolerate this uncertainty.**

Despite ocaml-libmacaroons' thin interface on top of *libmacaroons*, it is
still important to be mindful of security invariants. In particular, you
should ensure that nonces used for cryptographic operations are
**never** repeated with the same key set.

## Tests

Internal consistency tests may be found in `lib_test`.