5 releases

0.1.4 Jan 29, 2025
0.1.3 May 20, 2024
0.1.2 Apr 3, 2024
0.1.1 Mar 19, 2024
0.1.0 Mar 19, 2024

#280 in Cryptography

Download history 23580/week @ 2024-10-26 26974/week @ 2024-11-02 27681/week @ 2024-11-09 29377/week @ 2024-11-16 25852/week @ 2024-11-23 25455/week @ 2024-11-30 31126/week @ 2024-12-07 26047/week @ 2024-12-14 8566/week @ 2024-12-21 10409/week @ 2024-12-28 23577/week @ 2025-01-04 29371/week @ 2025-01-11 25004/week @ 2025-01-18 32700/week @ 2025-01-25 34228/week @ 2025-02-01 28962/week @ 2025-02-08

126,644 downloads per month
Used in 3 crates (2 directly)

MIT/Apache

40KB
851 lines

PKCS#12 library written in pure Rust

github actions crates license license docs.rs

Overview

This project contains a simple to use high-level library to work with PKCS#12/PFX keystores, written in pure Rust, modeled after Java KeyStore API.

Features:

  • Single- and multi-keychain PKCS#12
  • Support for 'truststores' with only CA root certificates
  • Modern and legacy encryption schemes
  • Able to read and write Java-compatible keystores

Limitations:

  • MD5-based encryption schemes are not supported
  • Single password is used to encrypt both private keys and certificate data in one store
  • Non-encrypted stores are not supported

Documentation

License

Licensed under MIT or Apache license (LICENSE-MIT or LICENSE-APACHE)

Dependencies

~7.5MB
~137K SLoC