[go: up one dir, main page]

Module vault

Module vault 

Source
Expand description

Encrypted local vault (secrets at rest) using ChaCha20-Poly1305 and base64 serialization.

§Vault Schema Versions

  • v1: Legacy format where decrypted payload is HashMap<String, String>
  • v2: Current format with SecretEntry containing value, format, hash, timestamps, description

Migration from v1 to v2 is automatic on load; v2 is always written on save.

Structs§

SecretEntry
A single secret with metadata (v2+).
Vault
In-memory vault plus file/key context.

Enums§

SecretFormat
Format hint for secret values.