Expand description
User identity: Ed25519 keypair persisted to disk.
The keypair can be stored in two formats:
- Plaintext (
identity.key) — raw protobuf bytes, no passphrase. - Encrypted (
identity.key.enc) — JSON envelope produced by Argon2id key-derivation + ChaCha20-Poly1305 symmetric encryption. Used when the user supplies--passphraseatbp login.
The encrypted format is automatically detected at load time. The plaintext format remains supported for backwards compatibility and for headless/CI environments.
Structs§
- Encrypted
KeyFile - On-disk representation of a passphrase-protected keypair.
- Exported
Identity - Portable JSON bundle that carries a complete BillPouch identity.
- Identity
- In-memory identity: the loaded keypair and all derived or persisted metadata.
- User
Profile - Persistent user metadata stored alongside the keypair.
Enums§
- Exported
KeyData - Key data carried inside an
ExportedIdentity.
Functions§
- fingerprint
- Human-readable fingerprint of a public key (hex-encoded SHA-256, first 16 bytes).
- fingerprint_
pubkey - Fingerprint of a public key (hex-encoded SHA-256[0..8]).