Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace rustls-native-certs with rustls-platform-verifier for enhanced security and performance #193

Open
msk opened this issue Jan 30, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@msk
Copy link
Contributor

msk commented Jan 30, 2024

The switch to rustls-platform-verifier presents several key benefits:

  1. Improved Security and Correctness: rustls-platform-verifier takes into account the CA constraints of the OS, providing a more robust and secure approach to certificate validation.

  2. Better Integration with OS Certificate Stores: This dependency offers enhanced compatibility with operating system certificate stores and enterprise CA deployments, which is crucial for our project's adaptability and reliability in different environments.

  3. Revocation Support: It supports certificate revocation checks using OCSP (Online Certificate Status Protocol) and CRLs (Certificate Revocation Lists), thereby ensuring that our application remains secure against revoked certificates.

  4. Reduced I/O and Memory Overhead: Unlike rustls-native-certs, rustls-platform-verifier does not require loading and parsing all platform CAs, resulting in lower I/O and memory usage.

@msk msk added the enhancement New feature or request label Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant