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

#1 in #keystore

Download history 25805/week @ 2024-12-02 31383/week @ 2024-12-09 25428/week @ 2024-12-16 8561/week @ 2024-12-23 10366/week @ 2024-12-30 23756/week @ 2025-01-06 29100/week @ 2025-01-13 25011/week @ 2025-01-20 33032/week @ 2025-01-27 34958/week @ 2025-02-03 32853/week @ 2025-02-10 30430/week @ 2025-02-17 30211/week @ 2025-02-24 29033/week @ 2025-03-03 34104/week @ 2025-03-10 29769/week @ 2025-03-17

124,098 downloads per month
Used in 4 crates (3 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

~8MB
~145K SLoC