//! The keys a PERSON holds, as opposed to the keys a device holds. //! //! A device key (`cotton_devices`) says which machine wrote something. A //! person key says WHO: it is what an admission, a device statement and an //! invite are signed with, and it is the same on every device of one person //! because its private half lives sealed in that person's personal database. //! //! **This module is PURE**, as [`crate::vault`] is: bytes in and bytes out, no //! file, no clock, no database. The one exception is the OS random source in //! [`person::PersonKey::mint`], which has a `from_seed` sibling for vectors. /// Structured actions a member signs locally before a serving Mac applies them. pub mod member_actions; /// A WebAuthn passkey: make, attest, assert (ES256). pub mod passkey; /// A Credential Exchange (FIDO CXF 1.0) export read into the passkeys it carries. pub mod cxf; /// A passkey sealed into its `passkey` row under the vault master key, and reopened. pub mod passkey_row; /// Passwords handed over by another app (Apple Passwords' CSV), read into logins. pub mod password_import; /// A password sealed into its `secret` row under the vault master key, and reopened. pub mod password_row; /// The rule a new password is made by: length and classes, as data. pub mod password_rule; /// The one rule a device seals a value into a row by (passkeys and passwords). pub mod sealed_row; /// What AutoFill asks of the core: ranked logins for a site, and the offer after a manual fill. pub mod autofill; /// A login's earlier passwords (sealed) and the bin's thirty days. pub mod history; /// What Cotton Keys hands another app: a CSV of logins, or a CXF export of everything. pub mod export; /// Which saved logins belong to the site asking (the Public Suffix List, bundled). pub mod domain; /// Health: weak, reused (keyed hash), old and breached (k-anonymity range), on the device. pub mod health; /// New passwords (random or EFF words) and a strength estimate. pub mod generator; pub mod dashlane; pub mod share; /// A one-time code: RFC 6238 TOTP and the otpauth:// address it comes in. pub mod totp; /// Cotton Vault's screens as data: the wire shapes, the list and search, the look. pub mod app; pub mod person; /// The bytes each membership fact is signed over, and the check of a signature (KS3). pub mod statements; pub use person::{fingerprint, PersonKey};