https://github.com/morphy2k/pki-rs
Simple library to validate X.509 certificates and trust chains, written in pure Rust.
https://github.com/morphy2k/pki-rs
certificate pki rust validation x509
Last synced: 5 months ago
JSON representation
Simple library to validate X.509 certificates and trust chains, written in pure Rust.
- Host: GitHub
- URL: https://github.com/morphy2k/pki-rs
- Owner: morphy2k
- License: apache-2.0
- Created: 2023-07-11T15:39:08.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-01-17T23:53:46.000Z (over 2 years ago)
- Last Synced: 2025-02-12T08:29:25.767Z (over 1 year ago)
- Topics: certificate, pki, rust, validation, x509
- Language: Rust
- Homepage:
- Size: 29.3 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# PKI-RS
A (simple) X.509 certificate and trust chain validation library written in pure Rust and built on [RustCrypto](https://github.com/RustCrypto) crates.
> [!WARNING]
> This is work in progress and not ready for production use. Use at your own risk!
## Supported algorithms
| Algorithm | Supported | Implementation |
| --------- | --------- | -------------- |
| RSA SHA-256 | :x: | |
| RSA SHA-384 | :x: | |
| RSA SHA-512 | :x: | |
| ECDSA NIST P-256 | ✅ | [p256](https://github.com/RustCrypto/elliptic-curves/tree/master/p256) |
| ECDSA NIST P-384 | ✅ | [p384](https://github.com/RustCrypto/elliptic-curves/tree/master/p384) |
| ECDSA NIST P-521 | :x: | |
| EdDSA | ✅ | [ed25519-dalek](https://github.com/dalek-cryptography/curve25519-dalek) |
## Motivation
Since there is no simple library written in pure Rust to validate and verify X.506 trust chains (as of July 2023), but needed for a personal project, I decided to write one myself, at least as a temporary solution until the development of some [RustCrypto](https://github.com/RustCrypto) crates is completed.