#security-framework #certificate #rustls #macos #deno #native

bin+lib deno_native_certs

deno-native-certs loads native certificate store into rustls

5 unstable releases

0.3.1 Aug 1, 2024
0.3.0 Jun 4, 2024
0.2.0 Nov 5, 2023
0.1.1 Mar 9, 2023
0.1.0 Mar 8, 2023

#272 in Cryptography

Download history 2916/week @ 2024-07-05 2778/week @ 2024-07-12 2205/week @ 2024-07-19 2723/week @ 2024-07-26 2063/week @ 2024-08-02 1838/week @ 2024-08-09 1846/week @ 2024-08-16 2558/week @ 2024-08-23 2239/week @ 2024-08-30 2526/week @ 2024-09-06 1948/week @ 2024-09-13 2715/week @ 2024-09-20 2420/week @ 2024-09-27 3149/week @ 2024-10-04 3110/week @ 2024-10-11 2257/week @ 2024-10-18

11,439 downloads per month
Used in 37 crates (via deno_tls)

MIT license

14KB
376 lines

The purpose of this crate is to improve Deno's startup time on MacOS.

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–8MB
~46K SLoC