Skip to main content
Security White Paper

LifeVault Secure Security Architecture

Version 1.0 — Published 2026 — Applies to the LifeVault Secure web application, API, and mobile clients

Security at a glance

  • ✓In standard vaults (client-mode, the default for new vaults), the text of your notes and the files you upload are encrypted on your device with AES-256-GCM before they are transmitted; the server stores only opaque ciphertext for that content. Documents that LifeVault generates for you (such as legal-template PDFs) are encrypted with server-side AES-256 at rest; file metadata (name, type, size) is stored server-side and readable by our server. Voice recordings are not yet encrypted on the device.
  • ✓Your master password is processed through PBKDF2-SHA256 (600,000 iterations) locally to unlock your keys. On the website, it stays in your browser: the browser sends only a separate sign-in key derived from it, apart from a one-time switch-over described in Section 10. LifeVault phone apps before version 1.0.11, the LifeVault browser extension and the LifeVault Obsidian plugin still send the password itself, and our server keeps only salted hashes of it.
  • ✓Zero-knowledge design for device-encrypted content in a vault that has never been shared: we don't store the keys needed to read the text of your notes or the files you upload to that vault, and there is no backdoor for that content. Shared vaults work differently today (Section 4).
  • ✓FIDO2/WebAuthn support for hardware security keys, Face ID, Touch ID, and Windows Hello.
  • ✓Defense-in-depth server-side AES-256-GCM envelope encryption on top of the client-side key hierarchy.

1. Architecture Overview

LifeVault Secure uses a hybrid encryption model. In standard vaults, the text of your notes and the files you upload are encrypted on your device, and the server stores only opaque encrypted blobs for that content; its plaintext never reaches our servers. Documents that LifeVault generates for you (legal-template PDFs) are rendered server-side and encrypted with server-side AES-256 at rest. File metadata (name, type, size) is stored server-side and readable by our server. Voice recordings are not yet encrypted on the device.

The security architecture has two separate encryption layers, each covering different content:

Layer 1 — Account Key Hierarchy (client-side, zero-knowledge)

Device-encrypted content (note text and uploaded files in standard vaults) is protected by a random account key that the browser or mobile app wraps on your device under keys derived from your master password or your 12-word recovery phrase. We do not store your master password. For a vault that has never been shared, we hold no key that can decrypt that content. The website sends our server only a sign-in key derived from your password, apart from the one-time switch-over in Section 10; LifeVault phone apps before version 1.0.11, the browser extension and the Obsidian plugin still send the password itself.

Layer 2 — Server-side Envelope Encryption (generated documents)

Documents that LifeVault generates for you are encrypted on the server with AES-256-GCM. Each document's data-encryption key is wrapped by Azure Key Vault or, where Key Vault is not configured, by a server-managed master key (ENCRYPTION_MASTER_KEY). Device-encrypted content (note text and uploaded files in standard vaults) gets no extra server-side layer: the server stores the ciphertext your device produced, and the storage provider applies its own at-rest encryption. The server never receives the plaintext of that content. In a vault that has never been shared, it cannot unwrap that content's key either; in a shared vault it can (Section 4). File metadata (name, type, size) is stored server-side and readable by our server.

Key architectural guarantee: The client unwraps the full key hierarchy locally, starting from the master password. In standard vaults, the plaintext of your note text and uploaded file contents never leaves the client. Besides that ciphertext, the server stores a hash of your sign-in key and its salt; a salted (bcrypt) hash of your master password, if your password was last set in a LifeVault phone app before version 1.0.11 or before Nov 17, 2026; an account key verifier, wrapped keys, KDF salts, public keys, a SHA-256 hash of your recovery phrase, and one key used for vault sharing (see the table in Section 5). In a vault that has never been shared, none of these lets the server decrypt that content without your master password or recovery phrase. Documents that LifeVault generates for you are encrypted with server-side AES-256 at rest.

Encryption flow summary

LayerWhereAlgorithmPurpose
Content encryptionClientAES-256-GCMEncrypt note text before upload (standard vaults)
File content encryptionClientAES-256-GCM (HKDF lifevault-files subkey)Encrypt uploaded file bytes on the device before upload (client-mode vaults — the default)
Generated-document encryptionServerAES-256-GCMEncrypt LifeVault-generated documents (legal-template PDFs) at rest; DEK wrapped in Azure Key Vault
Key wrappingClientAES-KW (RFC 3394)Wrap DEKs and ASK for server-side storage
Envelope encryptionServerAES-256-GCMAdditional server-side protection of stored blobs

2. Encryption

Symmetric cipher

All vault content is encrypted using AES-256-GCM (Advanced Encryption Standard, 256-bit key, Galois/Counter Mode).

ParameterValueNotes
AlgorithmAES-GCMAuthenticated Encryption with Associated Data (AEAD)
Key length256 bitsMaximum AES key size
IV (nonce)96 bits (12 bytes)Randomly generated per encryption operation using a CSPRNG
Authentication tag128 bitsGCM default; detects any tampering with ciphertext
IV sourcewindow.crypto.getRandomValues() / OS CSPRNGCryptographically secure

GCM mode provides both confidentiality and integrity — any modification to ciphertext or metadata will cause decryption to fail with an authentication error rather than silently producing corrupted output.

Where encryption happens

Device-encrypted content (note text and uploaded files in standard vaults) is encrypted entirely on the client before it is transmitted to the server; for that content, the API receives only ciphertext. Documents LifeVault generates, file metadata, and voice recordings are not encrypted this way (see §4).

The Web Crypto API (window.crypto.subtle) is used on web and admin clients. The mobile app uses react-native-quick-crypto, which provides the same Web Crypto API surface backed by native platform cryptography primitives.

Subkey isolation

Each vault's DEK is not used directly for encryption. Instead, it is used as input material for HKDF to derive four independent, purpose-specific AES-256-GCM subkeys:

Purpose info stringUsed for
lifevault-filesFile content encryption
lifevault-notesNote content encryption
lifevault-passwordsWeb password-entry encryption
lifevault-verifierPassword verification token

Each subkey is non-extractable (marked extractable: false in the Web Crypto API). Compromise of one subkey does not compromise others, and none of the subkeys can be used to reconstruct the DEK.

3. Key Derivation

Master Password to Master KEK

When a user creates an account or unlocks their vault, their master password is processed through PBKDF2-HMAC-SHA256 to produce a Key Encryption Key (KEK):

ParameterValueStandard
AlgorithmPBKDF2-HMAC-SHA256NIST SP 800-132
Iterations (v2, current)600,000OWASP 2023 minimum recommendation
Iterations (v1, legacy)100,000Applied to accounts created before the v2 migration
Salt32 bytes, random per accountGenerated via CSPRNG at account creation
Output length256 bits
Key purposeAES-KW (key wrapping only — never used for data encryption)

The KDF version is stamped on each vault and user account record. Accounts on v1 are prompted to migrate on next password change.

Key hierarchy

The full key hierarchy from password to content:

Master Password
    └─ PBKDF2-SHA256 (600K iters, 32-byte salt)
        └─ Master KEK [AES-KW, 256-bit, in-memory only]
            └─ unwraps Account Symmetric Key (ASK) [stored as wrapped bytes]
                ├─ HKDF(“lifevault-vault-wrapping”) → Vault Wrapping Key [AES-KW]
                │   └─ unwraps per-vault DEK [stored as wrapped bytes]
                │       └─ HKDF subkeys: files, notes, passwords, verifier
                └─ HKDF(“lifevault-public-wrapping”) → Public Wrapping Key [for vault sharing]
                └─ HKDF(“lifevault-account-verifier”) → Account Verifier [non-extractable]

  • Our server does not store the master password. Sign-in uses a separate branch: PBKDF2-SHA256 (600,000 iterations, its own 32-byte salt), then HKDF-SHA256 (“lifevault-auth-verifier-v1”), gives a sign-in key. The website sends only that key, and the server stores its SHA-256 hash. The branch shares no salt or key with the hierarchy above, so the sign-in key cannot unwrap the ASK.
  • The Master KEK exists only in memory during an active session.
  • Changing the master password only re-wraps the ASK; vault DEKs are unaffected and existing shared vault memberships remain valid.
  • Each content type uses a cryptographically isolated key.

Recovery phrase

Users can optionally generate a 12-word BIP39-compatible recovery phrase from 128 bits of cryptographic entropy (128 bits + 4-bit SHA-256 checksum = 132 bits). This phrase serves as a second way to unwrap the ASK:

  • The phrase is processed through PBKDF2-SHA256 (600,000 iterations) with a fixed, publicly-known salt (lifevault-recovery-salt-v1).
  • The resulting Recovery KEK wraps the same ASK and is stored server-side as recoveryWrappedAccountKey.
  • The full phrase itself is never stored anywhere — only the AES-KW-wrapped ASK.
  • A SHA-256 hash of the phrase is stored server-side. The server checks it before it returns your recovery-wrapped ASK, and when you confirm at setup that you saved the phrase.

The security of the recovery path is entirely dependent on the secrecy of the recovery phrase. Users are advised to store it offline, physically separated from their devices.

4. Zero-Knowledge Design

What the server can see

DataServer access
User email addressYes — used for account identification and recovery email delivery
Display nameYes
KDF parameters (salt, KDF version)Yes — required to reconstruct the KEK on the client
Wrapped Account Symmetric Key (ASK)Yes — stored as encrypted bytes; cannot be decrypted without the master password
Account key verifierYes — used to confirm your password on your device; it does not contain your password
Sign-in key hash and sign-in saltYes — a SHA-256 hash of the sign-in key your device derives from your password, and the salt used to derive it. Used to check sign-ins; it cannot decrypt your data.
Password hash (bcrypt)Yes, if your password was last set in a LifeVault phone app before version 1.0.11, or before Nov 17, 2026. It cannot decrypt your data.
Per-vault wrapped DEKsYes — stored as AES-KW-wrapped bytes. Your own copy needs your ASK. A copy wrapped for a member you invited can be unwrapped with that member's public_wrapping_key, which the server also stores (see Shared vaults below).
Vault metadata (name, icon, type)Yes
Note text and uploaded files in standard vaultsYes — ciphertext only. In a vault that has never been shared, the server cannot decrypt these; in a shared vault it can (see below).
Voice recordingsYes — not yet encrypted on the device; the server can read them
Generated documents (legal-template PDFs)Yes — encrypted at rest with server-side AES-256; the server can decrypt them to render and deliver the document
File metadata (name, type, size)Yes — stored server-side (used for listing, quota, and audit)
Subscription and billing statusYes

What the server cannot see

DataStatus
Master passwordNot stored by the server. On the website, the server receives only a sign-in key derived from it, apart from the one-time switch-over in Section 10. LifeVault phone apps before version 1.0.11, the browser extension and the Obsidian plugin still send it; the server keeps only salted hashes of it.
Account Symmetric Key (ASK) in plaintextNever transmitted or stored
Per-vault Data Encryption Keys (DEKs) in plaintextNever transmitted or stored
Note text and uploaded file contents in standard vaults that have never been sharedNever in plaintext; only end-to-end-encrypted blobs are stored, which the server cannot decrypt

Documents that LifeVault generates for you — such as legal-template PDFs — are a separate category: because LifeVault renders them server-side, they are stored encrypted at rest with server-side AES-256, and LifeVault can decrypt them to deliver the document back to you. Generated documents, file metadata (name, type, size) and, today, voice recordings are not part of the zero-knowledge set above. Files that you upload yourself to a standard vault that has never been shared ARE part of the zero-knowledge set: they are encrypted on your device before upload, and LifeVault cannot decrypt them.

Shared vaults. When you invite someone who already has a LifeVault account to a vault, your device wraps that vault's key with a key derived from their account, and our server stores both. So from the moment that invite is sent, whether or not it is accepted, our server could unwrap the vault's key and read everything your device encrypted in it, including note text, uploaded files and saved passwords. Declining or revoking the invite, or removing the member, does not undo this, because the vault's key does not change. Keep content you don't want us to be able to read in a vault no one has ever been invited to.

Verification without server knowledge

When a user unlocks a vault, the client derives the key hierarchy locally and attempts to decrypt a small verifier token (lifevault-account-verifier) that was encrypted at account creation time. If decryption succeeds and the output matches the expected constant, the password is confirmed correct — entirely on the client, with no server round-trip and no password-equivalent data sent over the wire.

5. Data at Rest

Vault content

Vault content is stored in two places:

PostgreSQL (Supabase): Notes, password entries, passkey metadata, and vault configuration are stored in byte columns (BYTEA). In standard vaults, note text arrives as ciphertext produced on your device, so its plaintext never reaches the database layer.

Object Storage (Supabase Storage / S3-compatible): Files you upload to a standard vault are encrypted on your device (client-side, with a per-vault lifevault-files key derived from your master password) before they are stored; those blobs are opaque ciphertext that LifeVault cannot decrypt unless the vault has been shared. Voice recordings are not yet encrypted on the device. Documents that LifeVault generates for you (legal-template PDFs) are encrypted server-side with AES-256-GCM, the data-encryption key envelope-wrapped in Azure Key Vault — LifeVault manages those keys and can decrypt generated documents to deliver them. Object storage may apply its own at-rest encryption to all blobs, but for files you upload to a standard vault this is layered on top of client-side ciphertext and does not give LifeVault access to your file contents. File metadata (name, type, size) is stored server-side (server-readable; used for listing, quota, and audit).

Account key material

The following encrypted key material is stored in the users table:

ColumnContentsServer-decryptable
account_key_salt32-byte random KDF saltNot applicable (public parameter)
wrapped_account_keyAES-KW(Master KEK, ASK)No — requires master password
account_key_verifierAES-GCM ciphertext of known constantNo
public_wrapping_keyRaw AES-KW key bytes derived from your ASK, used for vault sharingYes — this key also unwraps the vault keys that other members wrap for you, so the server can decrypt vaults shared with you
recovery_wrapped_account_keyAES-KW(Recovery KEK, ASK)No — requires recovery phrase

Server-side encryption layer

As an additional layer of defense, the API wraps certain sensitive fields with a server-managed AES-256-GCM master key (ENCRYPTION_MASTER_KEY), stored as a 256-bit hex environment variable. This key is never committed to source control and is managed via deployment secrets. Even if the database were exfiltrated without the server environment, the attacker would face the server-side encryption layer in addition to the user's client-side key hierarchy.

6. Data in Transit

TLS

All communication between clients (web, mobile, browser extension) and the LifeVault Secure API is encrypted using TLS 1.2 or higher, enforced by the hosting platform (Vercel). HTTP connections are automatically redirected to HTTPS.

API request security

  • All API responses that return user-specific data include Cache-Control: private, no-store, max-age=0. This prevents any intermediate proxy or CDN from caching authenticated responses.
  • ETags are globally disabled on the API to prevent Vercel's CDN from serving stale 304 responses that could omit CORS headers on cross-origin authenticated requests.
  • CORS is configured to allowlist only the production web origin and explicitly registered extension IDs. Wildcard origins are not permitted in production.
  • The API uses the helmet middleware to set security-relevant HTTP headers (including X-Content-Type-Options, X-Frame-Options, Strict-Transport-Security, and X-XSS-Protection).

File upload proxy

File uploads are proxied through a Next.js server-side route (/upload-proxy) rather than allowing direct browser-to-storage requests. This route enforces an allowlist of permitted storage hostnames, preventing SSRF (Server-Side Request Forgery). The client transmits encrypted blobs only — the proxy has no ability to decrypt them.

7. Authentication

Password authentication

On the website, your browser first asks our API for your account’s sign-in salt. It then derives a sign-in key with PBKDF2-SHA256 (600,000 iterations) and HKDF-SHA256 and sends only that key. Our server stores a SHA-256 hash of the sign-in key and compares it in constant time. The derivation settings are fixed in our app code, so the server cannot tell a browser to make a weaker key. LifeVault phone apps before version 1.0.11, the browser extension and the Obsidian plugin still send the password itself. The server checks it against the stored hashes; a password set from one of those phone apps, or before Nov 17, 2026, is also stored as a bcrypt hash (cost factor 10). The plaintext password is not logged or stored.

Authentication responses return a JWT (JSON Web Token) signed with a secret that must be a 256-bit+ random value in production. The token includes user ID, email, subscription tier, and email verification status. Token expiry is set to 7 days.

Dedicated rate limiting applies to all authentication endpoints: 15 requests per 15-minute window per IP. This applies to login, signup, password reset, email verification, and resend flows. The sign-in salt lookup has its own limit of 15 requests per 15 minutes per IP.

The API uses constant-time responses and generic error messages (Invalid email or password) on authentication failure to prevent user enumeration.

Email verification

When email verification is enabled, accounts cannot access protected endpoints until the registered email is confirmed via a 6-digit OTP. OTPs are:

  • Generated with crypto.randomInt() (CSPRNG-backed)
  • Hashed with bcrypt before storage (the raw OTP is never stored)
  • Valid for 15 minutes
  • Subject to a 5-attempt lockout before requiring a new code
  • Subject to a 60-second resend cooldown

WebAuthn / Hardware security keys

LifeVault Secure supports FIDO2/WebAuthn for strong second-factor authentication and passwordless flows. Users can register hardware security keys or platform authenticators (Face ID, Touch ID, Windows Hello). Challenges are generated with crypto.randomBytes(32) per authentication ceremony. Sign count is tracked and incremented on each use.

Microsoft Entra ID (Azure AD)

Enterprise and Microsoft account users can authenticate via Microsoft's OAuth2 / OIDC flow. The server validates the Microsoft-issued b2cSubject identifier and does not process or store the user's Microsoft password.

Session model

Sessions are stateless JWT tokens. There is no server-side session store to compromise. Token revocation is implemented at the application layer for security events. The API enforces requireAuth middleware on all authenticated routes; high-impact admin operations use requireAuthStrict, which explicitly disallows development auth bypasses.

8. Emergency Access

Design model

Any current member of a vault can file an emergency access request. What happens next depends on whether the vault owner set up automatic release for that member. With automatic release, access opens when the waiting time ends unless the owner denies the request first, and the owner can approve it sooner, so emergency access can work when the owner cannot respond. Without it, only the owner's approval changes anything: approval matters for a member whose access is time-limited, who keeps view-only membership when that share expires or is removed, and records the decision without granting anything new for a member whose access does not expire. Scheduled unlock is the other release path.

Mechanism

Emergency access is governed by an AccessPolicy with type emergency_access, configured by the vault owner. A request is accepted only when:

  • the requester is a current member of the vault (ensureVaultMembership);
  • the vault owner's plan includes emergency access (Pro or higher); and
  • the vault has an active emergency access policy.

The policy sets a waiting time (default: 48 hours), shown on each request.

When a vault member submits an emergency access request, it is recorded as pending with that deadline, and the vault owner gets an email and an in-app notification. The owner can approve or deny it at any time.

Automatic release

Automatic release is available for vaults whose note text and uploaded files are encrypted on the owner's device with account-based keys. When the owner sets it up for a member, the owner's browser wraps the vault key to that member's public sharing key (P-256 ECDH, HKDF-SHA256, AES-256-GCM), bound to the vault, the policy and the member's key version. The server stores only this wrapped copy and cannot open it. A scheduled job runs every five minutes. For each request whose waiting time has ended, it locks the policy and vault, then re-checks that the request is still pending and not denied, the policy is active, the requester is still a standing member, and the wrapped key matches the requester's current sharing key and email. It then records the decision, releases the wrapped key to the member and writes an audit entry in one transaction. An owner's early approval uses the same step. The member keeps the role they already had, and the owner gets an in-app notice that the waiting time ended.

Threat model

The waiting time and the owner's right to deny are the protection for emergency requests. An attacker who takes over a member's account gets that member's existing access. An emergency request from that account notifies the owner by email and in the app. Without automatic release, it adds nothing until the owner approves it; with automatic release, it adds the vault key only if the owner does not deny it during the waiting time. Choose automatic-release members you trust, and keep your account email current.

The vault owner can deny any pending request. Denying a request that was released automatically ends that access, and the owner can revoke access they approved. Ending access removes the key LifeVault released for that request; it cannot take back anything the member already opened or downloaded.

Without automatic release, emergency access works at the authorization layer: an approved request grants view-only vault membership and does not hand over the keys to device-encrypted content (note text and the files you upload to a standard vault). With automatic release, the member receives the vault key the owner's browser prepared, so they can open that content with their role. In both cases the server never receives the plaintext of that content or an unwrapped vault key.

9. Infrastructure

Hosting

ComponentPlatform
Web application and APIVercel (serverless functions, edge CDN)
DatabaseSupabase (managed PostgreSQL with PgBouncer connection pooling)
File storageSupabase Storage (S3-compatible object storage, private bucket)
Mobile appDistributed via App Store and Google Play

Database security

  • The database is a managed Supabase PostgreSQL instance. Direct database access is restricted to application connection strings stored as deployment secrets.
  • The application uses Supabase's PgBouncer pooler (port 6543) for runtime connections and the direct connection (port 5432) only for schema migrations.
  • Row-level security and access control are enforced at the application layer via Prisma ORM with explicit user-ownership checks on every query.

Secrets management

Application secrets (JWT signing key, encryption master key, database credentials, Stripe keys) are stored as Vercel environment variables and never committed to source control. The ENCRYPTION_MASTER_KEY must be a 64-character hex string (256-bit) in production; the API will refuse to start if this requirement is not met.

Dependency management

The application is built on a TypeScript monorepo. Dependencies are managed with pnpm and locked via pnpm-lock.yaml. Security-relevant cryptographic operations use the browser's built-in Web Crypto API (window.crypto.subtle) rather than third-party cryptographic libraries, minimizing the supply chain attack surface for the core encryption path.

10. What We Do Not Do

We do not store your master password.

On the website, your master password stays in your browser. To sign you in, the browser derives a separate sign-in key from your password and sends only that key. Our server checks it against a stored hash of the sign-in key; neither the key nor its hash can decrypt your data. LifeVault phone apps before version 1.0.11 still send the password itself when you sign up, sign in, or change or reset it, and the LifeVault browser extension and Obsidian plugin still send it when you sign in. Our server keeps only salted hashes of it. If your account has not signed in with your password since we switched sign-in over on Nov 17, 2026, your first password sign-in on the website sends your password one last time to switch the account over. After that, the website sends only the sign-in key. (If your password is 72 bytes or longer, the switch waits until you reset your password, and until then each website sign-in sends it.) The website’s code is delivered by our servers, so a compromised server could change it. The LifeVault phone apps are installed from the App Store and Google Play, so our servers cannot change their code.

Besides those hashes, we store only these items for your password and recovery phrase: the salt for your sign-in key, the cryptographic salt for your account key, the account key verifier, the AES-wrapped Account Symmetric Key that your password unlocks and, if you created a 12-word recovery phrase, a second wrapped copy of that key, which the phrase unlocks, and a SHA-256 hash of the phrase. Like the wrapped key, these hashes could only be used to try guesses at your password, so a strong password is what protects you if our servers are ever breached.

We do not have a backdoor to device-encrypted content in a vault that has never been shared.

We don't store the keys needed to decrypt your device-encrypted content — the text of your notes and the files you upload to a standard vault that has never been shared. There is no master override key and no recovery path for that content that does not require either your master password or your recovery phrase. Shared vaults are the exception today (Section 4).

We do not mine or analyze your vault data.

The text of your notes and the files you upload to a standard vault reach our servers only as ciphertext. If the vault has never been shared, we cannot decrypt it, and we have no mechanism to read, analyze, categorize, or monetize that content. Documents that LifeVault generates for you are encrypted at rest with server-side AES-256, and file metadata is readable by our server.

We do not use advertising-based tracking inside the application.

The application does not include advertising SDKs, behavioral analytics platforms, or any third-party integrations that receive vault content or browsing behavior within the authenticated application.

We do not sell data to third parties.

We do not share user data — including email addresses, usage patterns, or any vault metadata — with data brokers or advertising networks.

We do not transmit passwords in cleartext for breach checking.

Breach detection via Have I Been Pwned uses the k-anonymity model: only the first 5 hex characters of a SHA-1 hash of the password being checked are sent to the HIBP API. The full password hash never leaves the client. This check runs client-side before encryption.

Appendix A — Cryptographic Primitive Summary

PrimitiveAlgorithmParametersUsed for
Symmetric encryptionAES-GCM256-bit key, 96-bit IV, 128-bit auth tagAll vault content encryption
Key derivation (password)PBKDF2-HMAC-SHA256600,000 iterations, 32-byte saltMaster KEK derivation
Key derivation (subkeys)HKDF-SHA256Fixed zero salt, unique info string per purposeSubkey and wrapping key derivation
Key wrappingAES-KW (RFC 3394)256-bitASK and DEK wrapping
Password hashingbcryptCost factor 10Passwords set from phone apps before 1.0.11, or before Nov 17, 2026; OTP storage
Sign-in keyPBKDF2-SHA256, then HKDF-SHA256; stored as a SHA-256 hash600,000 iterations, 32-byte salt, 256-bit keyWebsite sign-in without sending the password
Token generationcrypto.randomBytes(32)256 bitsPassword reset tokens, secret link tokens
Random number generationwindow.crypto.getRandomValues() / OS CSPRNGPer-operationIVs, salts, challenges
Recovery phraseBIP39-compatible, 12 words128-bit entropy + 4-bit checksumAccount recovery
FIDO2/WebAuthnPlatform-nativeECDSA P-256 (-7), RSA-PKCS1v1.5 (-257)Hardware authenticator support

Appendix B — KDF Version History

VersionIterationsStatusNotes
v1100,000LegacyApplied to accounts created before the OWASP hardening migration
v2600,000CurrentOWASP 2023 minimum for PBKDF2-SHA256

All new accounts and vault creations use v2. Legacy v1 accounts are prompted to migrate on next password change, at which point the ASK is re-wrapped using v2 KDF parameters.

This document describes the security architecture as implemented in the current LifeVault Secure codebase. It is updated when significant architectural changes are made. For security disclosures, contact security@lifevaultsecure.com.

← Back to Security Overview