https://github.com/dsheets/ocaml-libmacaroons
An OCaml ctypes binding to libmacaroons
https://github.com/dsheets/ocaml-libmacaroons
Last synced: 10 months ago
JSON representation
An OCaml ctypes binding to libmacaroons
- Host: GitHub
- URL: https://github.com/dsheets/ocaml-libmacaroons
- Owner: dsheets
- Created: 2014-11-05T10:22:59.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-11-07T10:08:32.000Z (over 11 years ago)
- Last Synced: 2025-08-25T07:25:39.211Z (10 months ago)
- Language: OCaml
- Size: 91.8 KB
- Stars: 7
- Watchers: 8
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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`.