1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
//! # age-authenticator
//!
//! A secure authentication library built on the [age](https://age-encryption.org) encryption
//! protocol. Provides key generation, validation, memory-safe secret storage, and persistent
//! configuration management via [`neuxcfg`](https://crates.io/crates/neuxcfg).
//!
//! ## Quick Start
//!
//! ```no_run
//! use age_setup::{build_keypair, init_config};
//!
//! // Initialize configuration store
//! init_config()?;
//!
//! // Generate a new key pair
//! let keypair = build_keypair()?;
//! println!("Public key: {}", keypair.public);
//! # Ok::<(), Box<dyn std::error::Error>>(())
//! ```
//!
//! ## Modules
//!
//! | Module | Purpose |
//! |--------|---------|
//! | [`keypair`] | Key pair container with redacted debug |
//! | [`public_key`] | Age public key wrapper with validation |
//! | [`secret_key`] | Zeroizing secret key wrapper |
//! | [`generator`] | Age X25519 identity generation |
//! | [`validation`] | Prefix validation for age keys |
//! | [`security`] | Memory wiping utilities |
//! | [`config`] | Persistent configuration via neuxcfg |
//! | [`errors`] | Structured error types |
pub use init as init_config;
pub use ;
pub use build_keypair;
pub use KeyPair;
pub use PublicKey;
pub use SecretKey;