Skip to content
docs

VAULT_LIMITS

const VAULT_LIMITS: Readonly<{ boxChars: number; envelopeChars: number; iterations: 5000000; passkeys: 32; scrypt: Readonly<{ N: number; p: 4; r: 16; }>; secretBytes: number; secrets: 1000; }>

Defined in: vault.ts:52

Upper bounds on what an envelope (and the options) may carry, checked before any KDF runs: an envelope edited on disk must not make unlock hang (PBKDF2 iterations) or exhaust the worker’s memory (scrypt N × r), and its size stays within what chrome.storage.local holds.