#certificate #macos #rustls #native #keychain #store #system

bin+lib deno_native_certs

deno-native-certs loads native certificate store into rustls

3 unstable releases

0.2.0 Nov 5, 2023
0.1.1 Mar 9, 2023
0.1.0 Mar 8, 2023

#1068 in Cryptography

Download history 1692/week @ 2023-12-17 788/week @ 2023-12-24 1299/week @ 2023-12-31 1588/week @ 2024-01-07 1310/week @ 2024-01-14 1657/week @ 2024-01-21 1861/week @ 2024-01-28 1922/week @ 2024-02-04 1808/week @ 2024-02-11 1904/week @ 2024-02-18 1988/week @ 2024-02-25 1907/week @ 2024-03-03 2278/week @ 2024-03-10 2021/week @ 2024-03-17 1812/week @ 2024-03-24 2472/week @ 2024-03-31

8,663 downloads per month
Used in 24 crates (via deno_tls)

MIT license

14KB
370 lines

deno-native-certs loads native certificate store into rustls.

On macOS, certificates are loaded from the system keychain. The user, admin and system trust settings are merged together as documented by Apple. The Security framework is dynamically loaded using dlopen to avoid initial dyld overhead.

On Linux and Windows, the rustls-native-certs crate is used.

Dependencies

~0.2–9.5MB
~59K SLoC