JSON web tokens in OCaml
1(lang dune 3.21)
2(name jsonwt)
3
4(generate_opam_files true)
5
6(license ISC)
7(authors "Anil Madhavapeddy")
8(maintainers "Anil Madhavapeddy <anil@recoil.org>")
9(source (tangled anil.recoil.org/ocaml-jsonwt))
10
11(package
12 (name jsonwt)
13 (synopsis "JSON Web Token (JWT) and CBOR Web Token (CWT) for OCaml")
14 (description
15 "An implementation of RFC 7519 JSON Web Tokens (JWT) and RFC 8392
16 CBOR Web Tokens (CWT) for OCaml. Supports token parsing, validation,
17 and creation with HMAC, ECDSA (ES256/384/512), and EdDSA signature
18 algorithms. Includes JWK (RFC 7517) and COSE key support, plus
19 integrated CBOR codec for CWT serialization.")
20 (depends
21 (ocaml (>= 5.1))
22 (jsont (>= 0.2.0))
23 (bytesrw (>= 0.1.0))
24 (mirage-crypto (>= 1.0.0))
25 (mirage-crypto-pk (>= 1.0.0))
26 (mirage-crypto-ec (>= 1.0.0))
27 (mirage-crypto-rng (>= 1.0.0))
28 (digestif (>= 1.0.0))
29 (eqaf (>= 0.9))
30 (cstruct (>= 6.0.0))
31 (base64 (>= 3.0.0))
32 (ptime (>= 1.0.0))
33 cbort
34 (alcotest :with-test)
35 (odoc :with-doc)))