#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

#1268 in Cryptography

Download history 1705/week @ 2024-01-22 1804/week @ 2024-01-29 1933/week @ 2024-02-05 1841/week @ 2024-02-12 1935/week @ 2024-02-19 2112/week @ 2024-02-26 1899/week @ 2024-03-04 2163/week @ 2024-03-11 2028/week @ 2024-03-18 1813/week @ 2024-03-25 2499/week @ 2024-04-01 2282/week @ 2024-04-08 2456/week @ 2024-04-15 3877/week @ 2024-04-22 2992/week @ 2024-04-29 4949/week @ 2024-05-06

14,520 downloads per month
Used in 26 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–8.5MB
~52K SLoC