10 releases

0.3.6 Feb 7, 2021
0.3.5 Feb 7, 2021
0.3.3 Jan 22, 2021
0.2.1 Jan 15, 2021
0.1.0 Jan 13, 2021

#680 in Authentication

28 downloads per month

Custom license

81KB
1.5K SLoC

Rustica Keys

Rustica Keys is the library the powers certificate parsing, creation, and signing in the Rustica project. It was originally based on rust-sshkeys by @dnaeon (and his licence is present at the top of mod.rs in the ssh module) but has been significantly expanded to offer a greater writer API, certificate signature validation, issuing new certificates, and more.

The library also contains other key functionality for Yubikeys key management as Rustica only uses hardware devices to hold private keys. The Yubikey management module can be used to provision slot with keys that can never leave the device. When configuring Rustica for the first time, it's recommended you do this for user private keys, but the CA keys should be loaded on outside Rustica (for backup purposes).

Builds

macOS and Ubuntu Builds

API Stability

The API for this crate should not be considered stable and expect breaking changes between versions.

Security Warning

No review has been done. I built it because I thought people could find it useful. Be wary about using this in production without doing a thorough code review.

Licence

This software is provided under the MIT licence so you may use it basically however you wish so long as all distributions and derivatives (source and binary) include the copyright from the LICENSE.

Dependencies

~7.5MB
~225K SLoC