Open samoht opened 2 years ago
I guess this is a duplicate of https://github.com/ocaml/opam/issues/4389 -- and https://github.com/mirage/ca-certs/issues/13
I suspect macOS has some API to retrieve the trust anchors, without using a command line utility. Someone with a macOS at their hands could dive into that and propose a PR here.
This is how certstore in go does it: https://github.com/github/certstore/blob/main/certstore_darwin.go
From https://opam.ci.ocaml.org/github/ocaml/opam-repository/commit/5dabe051724f251b15da92cd9a9133442ab9cd19/variant/opam-2.0,distributions,macos-homebrew,irmin-http.2.10.0,tests
/cc @patricoferris