#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

#332 in Cryptography

Download history 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 2697/week @ 2024-10-18 3039/week @ 2024-10-25 2802/week @ 2024-11-01 2320/week @ 2024-11-08 2803/week @ 2024-11-15 2766/week @ 2024-11-22 2613/week @ 2024-11-29

10,974 downloads per month
Used in 39 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
~44K SLoC