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

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

#323 in Cryptography

Download history 2418/week @ 2024-07-23 2493/week @ 2024-07-30 1927/week @ 2024-08-06 1708/week @ 2024-08-13 2233/week @ 2024-08-20 2336/week @ 2024-08-27 2494/week @ 2024-09-03 2306/week @ 2024-09-10 2190/week @ 2024-09-17 2646/week @ 2024-09-24 2488/week @ 2024-10-01 3286/week @ 2024-10-08 3030/week @ 2024-10-15 2851/week @ 2024-10-22 2900/week @ 2024-10-29 2512/week @ 2024-11-05

11,742 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–7MB
~46K SLoC