trifid/trifid-pki/src/lib.rs

28 lines
1.0 KiB
Rust
Raw Normal View History

2023-02-27 02:58:45 +00:00
//! # trifid-pki
//! trifid-pki is a crate for interacting with the Nebula PKI system. It was created to prevent the need to make constant CLI calls for signing operations in Nebula.
//! It is designed to be interoperable with the original Go implementation and as such has some oddities with key management to ensure compatability.
//!
//! This crate has not received any format security audits, however the underlying crates used for actual cryptographic operations (ed25519-dalek and curve25519-dalek) have been audited with no major issues.
#![warn(clippy::pedantic)]
#![warn(clippy::nursery)]
#![deny(clippy::unwrap_used)]
#![deny(clippy::expect_used)]
#![deny(missing_docs)]
#![deny(clippy::missing_errors_doc)]
#![deny(clippy::missing_panics_doc)]
#![deny(clippy::missing_safety_doc)]
#![allow(clippy::must_use_candidate)]
#![allow(clippy::too_many_lines)]
#![allow(clippy::module_name_repetitions)]
2023-02-26 04:16:30 +00:00
2023-02-27 15:04:10 +00:00
extern crate core;
2023-02-27 02:58:45 +00:00
pub mod ca;
pub mod cert;
2023-02-27 18:45:02 +00:00
#[cfg(not(tarpaulin_include))]
2023-02-27 02:58:45 +00:00
pub(crate) mod cert_codec;
#[cfg(test)]
#[macro_use]
pub mod test;