Cotton code
18 lines · 826 B · RustRaw
//! What a machine does with the vault's rows, as opposed to what the crypto is.//!//! The crypto is `cotton_core::vault` and it is pure. What is HERE is the one//! thing a client machine does with an opened secret that no other device//! does: it writes it onto its own disk as a file, because something on that//! machine reads credentials out of a file and always will —//! `~/.config/…/token`, a `.env.local`, a signing key an Xcode build expects at//! a path.//!//! A machine that HOSTS, never a phone: a phone has no filesystem a person//! keeps credentials in, and `cotton_secret_placements.device_id` never names//! one./// Which devices wait to open the vault, and the approval that lets one in:/// every device's, a phone's as a Mac's.pub mod devices;#[cfg(feature = "host")]pub mod placements;