Implements ECDH key wrapping via HKDF-SHA256 + ChaCha20Poly1305, bech32 encode/decode for age1... recipients and AGE-SECRET-KEY-1... identities. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
23 lines
542 B
Rust
23 lines
542 B
Rust
pub mod error;
|
|
pub mod format;
|
|
pub mod identities;
|
|
pub mod recipients;
|
|
pub mod sources;
|
|
pub mod _legacy;
|
|
|
|
pub use error::AgeError;
|
|
pub use identities::{FileKey, Header, Identity, Stanza, X25519Identity};
|
|
pub use recipients::{Recipient, X25519Recipient};
|
|
pub use sources::{BitwardenSource, FileSource, PromptSource};
|
|
|
|
// Legacy API — kept for notstrap compatibility until Task 12.
|
|
#[allow(deprecated)]
|
|
pub use _legacy::{
|
|
AgeKeySource,
|
|
install_age_key,
|
|
install_age_key_at,
|
|
resolve_age_key,
|
|
decrypt_sops,
|
|
sops_args,
|
|
};
|