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

#255 in Cryptography

Download history 28529/week @ 2024-10-22 24948/week @ 2024-10-29 24930/week @ 2024-11-05 29307/week @ 2024-11-12 28699/week @ 2024-11-19 25722/week @ 2024-11-26 26392/week @ 2024-12-03 31595/week @ 2024-12-10 21987/week @ 2024-12-17 7871/week @ 2024-12-24 11809/week @ 2024-12-31 25999/week @ 2025-01-07 28781/week @ 2025-01-14 26122/week @ 2025-01-21 33068/week @ 2025-01-28 28835/week @ 2025-02-04

122,191 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
~136K SLoC