package castore

  1. Overview
  2. Docs
A portable CA Store with a global .crt and .pem files

Install

Dune Dependency

Authors

Maintainers

Sources

castore-0.0.1.tbz
sha256=881ab402b92a8bcfe56d0c2083962e3a1ec8fd250ca18e60e9ce1ff2b19b67e1
sha512=2d6fecf03bcd2baf445e1b9d00dd7b957d32c73a5f2bd8377055f851a27c493fe1c5a02df03ffc23f1672f062dd7ce96998556bf662a98b3e820b2967a5bb8a0

Description

README

CAStore 🦫

A portable pure OCaml CA Store, with no dependencies, inspired by Elixir's :castore.

Getting Started

First, install castore in your switch:

# latest published version
opam install castore

# latest development version
opam pin castore git+https://github.com/leostera/castore

Now we can add it to your dune project dependencies:

(package
 ;...
 (depends
   (castore (>= "0.0.0")
   ...)
 ...)

And to your dune stanzas:

(executable
  (name my_app)
  (libraries castore))

And finally we can use it when creating your applications TLs config:

let authenticator = make_auth Ca_store.pem in
(* ... *)

For an example of how to use this, check out the Blink.Transport.Ssl.Auth module.

Dependencies (2)

  1. dune >= "3.11"
  2. ocaml >= "5.1"

Dev Dependencies (1)

  1. odoc with-doc

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.