An offline-first, zero-knowledge desktop password manager engineered with Rust, Tauri 2, and React 19.
All credentials remain fully local on your device. Yntra Vault operates with zero cloud servers, zero telemetry, and zero mandatory third-party network connections. Full binary format specification is available in VDB_SPEC.md.
For current source behavior, see USB binding and recovery v2, updates and preserved application data and the changelog. Published packages are listed separately on GitHub Releases. Implementation, package publication, and real-device verification are distinct; see those guides for the verified scope and remaining limits.
The 0.2.8 preview makes Windows downloads available before Android and Linux finish. Other packages are added after their checks, with separate platform checksum files. The preview is installed manually; automatic updates continue to use the stable release. Both sync peers must upgrade for reviewed field synchronization. The first save migrates older vaults and creates an encrypted backup; older applications cannot open the migrated file.
Entries can contain multiple usernames, emails, phone numbers, passwords and websites. Reorder them to choose the first non-empty identifier, password and website used by Smart Login. Tags can provide an optional default website that you explicitly copy into an entry. Sync previews compare individual fields, mask secrets until revealed, and let you resolve conflicts before saving.
Warning
Pre-Audit Security Notice: Yntra Vault is currently in active development. While built using multi-layer defense-in-depth cryptography and strict memory zeroization, the codebase has not yet undergone an independent third-party security audit. It is provided for community evaluation and testing. Please review SECURITY.md for vulnerability disclosure and docs/security/cryptographic-proofs.md for design arguments and intended security invariants, not formal verification.
graph TD
PWD["Master Password"] --> ARG["Argon2id KDF<br/>(256 MB RAM, 4 Iterations)"]
ARG --> HKDF["HKDF-SHA512"]
HKDF --> VK["Vault Key<br/>(XChaCha20-Poly1305 + Header AAD)"]
HKDF --> EK["Entry Key<br/>(XChaCha20-Poly1305 / AES-256-GCM)"]
HKDF --> HK["Vault Membership Key<br/>(HMAC-SHA512)"]
HKDF --> SK["Search Key<br/>(Encrypted Index)"]
- Single-Pass Authenticated Header: Header metadata (magic, version, salt, KDF params) is bound as AAD into
XChaCha20-Poly1305, authenticating header and payload before deserialization. - Local network sync and device pairing: PIN or QR pairing explicitly enrolls a separate signing key for each device. Protocol v3 authenticates both devices and uses fresh ECDH transfer keys. Smart Login and the Git credential helper enforce parsed exact HTTPS origins; Smart Login permits only explicitly listed SSO host pairs. The unreleased reviewed-sync protocol requires both peers to update; existing valid device identities remain paired. Removing a device blocks its later authenticated sync locally, but cannot erase old copies or revoke shared keys from snapshots acquired separately.
- Hardware Envelopes (TPM 2.0 & App-Bound DPAPI): Sensitive secrets and biometric session tokens are hardware-bound using Windows TPM 2.0 RSA encryption and BLAKE3 installation-bound DPAPI envelopes.
- Passkey Support: Native ES256 (ECDSA P-256) keypair generation and signing per entry.
- Zeroize Memory Protection: Critical keys and decrypted fields implement
zeroize::ZeroizeOnDropalongside guard-paged locked buffers (PAGE_NOACCESS/mlock+MADV_DONTDUMP).
graph TD
A["React 19 Frontend<br/><code>src/</code>"] -->|"IPC (Tauri Invoke)"| B["Tauri Shell<br/><code>src-tauri/</code>"]
B -->|"Direct Core Calls"| C["Core Engine<br/><code>crates/core/ & crates/crypto/</code>"]
B -->|"CLI Daemon & Tools"| CLI["CLI & Session Daemon<br/><code>crates/cli/</code>"]
C -->|"Encrypted I/O"| D["Storage Payload<br/><code>.vdb File</code>"]
- Item Types: Login, Credit Card, Identity, Secure Note, SSH Key, API Key, Wi-Fi, Crypto Wallet.
- TOTP Authenticator: RFC 6238 compliant 2FA generator (SHA-1, SHA-256, SHA-512) with visual countdown.
- Smart Login (CDP Engine): Automated browser login via Chrome DevTools Protocol with isolated browser sessions, automatic field detection, credential autofill, and elevated UAC token compatibility.
- Password Generator: CSPRNG character-set generator + Diceware passphrase engine.
- Security Audit & Breach Check: Local vault analyzer for weak/reused passwords + k-anonymity Have I Been Pwned lookup (transmitting only 5-character SHA-1 hash prefixes).
- Autotype Engine: OS credential input with field auto-classification (Windows UIA).
- Encrypted Search: Trigram-based fuzzy search executed locally without decrypting full entry payloads.
Yntra Vault includes 24 languages. Automated tests check translation-key coverage; they do not establish native-speaker review of every translation.
| Region | Supported Languages |
|---|---|
| Nordic | Swedish (sv), Danish (da), Norwegian (no), Finnish (fi) |
| Western & Southern Europe | English (en), German (de), Dutch (nl), French (fr), Spanish (es), Italian (it), Portuguese (pt) |
| Central & Eastern Europe | Polish (pl), Czech (cs), Russian (ru), Ukrainian (uk), Greek (el) |
| Middle East & South Asia | Turkish (tr), Hebrew (he), Arabic (ar), Hindi (hi) |
| East Asia | Japanese (ja), Korean (ko), Simplified Chinese (zh-CN), Traditional Chinese (zh-TW) |
| Feature | Backend (crates/) |
Frontend (src) |
Supported OS | Status |
|---|---|---|---|---|
| Vault Create / Unlock / Lock | core::vault |
CreateVaultModal.tsx |
Windows, macOS, Linux | ✅ Complete |
| Entry CRUD + Custom Fields | core::vault |
PasswordDetail.tsx |
Windows, macOS, Linux | ✅ Complete |
| TOTP Authenticator (SHA1/256/512) | core::totp |
TOTPDisplay.tsx |
Windows, macOS, Linux | ✅ Complete |
| Smart Login Engine (CDP) | core::smartlogin |
SmartLoginModal.tsx |
Windows, macOS, Linux | ✅ Complete |
| Passkey Authenticator (ES256) | crypto::passkey |
PasswordDetail.tsx |
Windows, macOS, Linux | ✅ Complete |
| Password Generator & Diceware | core::generator |
PasswordGenerator.tsx |
Windows, macOS, Linux | ✅ Complete |
| Security Audit & Breach Check | core::breach |
SecurityDashboard.tsx |
Windows, macOS, Linux | ✅ Complete |
| Encrypted Search (Trigram) | core::vault::search |
PasswordList.tsx |
Windows, macOS, Linux | ✅ Complete |
| Autotype Engine | core::autotype |
AutotypeButton.tsx |
Windows (UIA) | ✅ Windows |
| Master Password Re-keying | core::vault |
ChangeMasterPasswordModal.tsx |
Windows, macOS, Linux | ✅ Complete |
| Password History & Rollback | core::vault::history |
PasswordDetail.tsx |
Windows, macOS, Linux | ✅ Complete |
| Hardware Envelopes (TPM 2.0 / DPAPI) | crypto::tpm |
Login.tsx |
Windows, macOS | ✅ Complete |
| Shamir Secret Sharing & Emergency Kit | core::vault::emergency |
SecurityTab.tsx |
Cross-Platform | ✅ Complete |
| WebDAV & reviewed P2P sync | core::sync |
SyncReview.tsx, SettingsPanel.tsx |
Cross-Platform | Unreleased; automated checks and selected Pixel/Windows CLI flows verified |
| QR Device Pairing (YQR3) | core::sync |
QrScannerModal.tsx, DevicePairingWizard.tsx |
Cross-Platform | Implemented; physical-device validation is separate |
Command Line Interface (yntra-cli) |
cli/ |
Terminal TUI (yntra tui) |
Cross-Platform | ✅ Complete |
| 24 Locales & RTL Support | — | src/i18n/ |
Cross-Platform | ✅ Complete |
Yntra Vault features an ultra-fast command-line interface (yntra / yntra-cli) built with Rust clap (v4) and ratatui (v0.30).
- Sub-5ms IPC Session Daemon (
yntra unlock): Keeps unlocked vault state in zeroized memory over local Named Pipe / Unix Socket withYNTRA_SESSIONtoken authentication and OS Credential Manager persistence. - Secret Injection Engine (
yntra run): Resolvesyntra://<entry>/<field>references directly in environment variables or.envtemplate files (yntra run --env-file .env.tpl -- <cmd>) without writing secrets to disk. - Interactive Terminal UI (
yntra tui): Ratatui + Crossterm TUI featuring fuzzy search (/), Vim navigation (j/k), live TOTP countdown gauge, modal creation dialogs (a), and defended clipboards (c/t). - Developer Ecosystem Protocols:
yntra git-credential setup: One-click Git HTTPS credential helper setup.yntra ssh-agent: OpenSSH Agent pipe server (SSH_AUTH_SOCK) for in-memory SSH authentication.yntra native-host install <chrome|edge|firefox> --extension-id <ID>: Register the native host for one explicitly trusted browser extension. The extension is installed separately.
- Shell Auto-Completions: Subcommand
yntra completions <zsh|bash|fish|powershell>.
# Build CLI binary
cargo build --release -p yntra-cli
# Unlock vault session daemon (sub-5ms command latency)
yntra unlock
# Launch interactive Terminal UI
yntra tui
# Inject secrets into process environment
yntra run --env-file .env.tpl -- npm start
# Configure Git HTTPS credential helper
yntra git-credential setup
# Generate Zsh completion script
yntra completions zsh > ~/.zsh/completion/_yntra- Rust:
1.95.0, pinned inrust-toolchain.toml(Install Rust). - Bun:
1.4.2, matching the build workflows (Install Bun).
- Windows: Visual Studio 2022 C++ Build Tools (
Desktop development with C++) and Microsoft Edge WebView2 runtime. - Linux: Install development packages:
sudo apt update && sudo apt install -y build-essential pkg-config libssl-dev libdbus-1-dev libglib2.0-dev libgtk-3-dev libwebkit2gtk-4.1-dev libayatana-appindicator3-dev - macOS: Install Xcode Command Line Tools:
xcode-select --install.
# Clone the repository
git clone https://github.com/YntraAB/yntra-vault.git
cd yntra-vault
# Install JavaScript dependencies
bun install
# Launch in development mode
bun run tauri devbun run tauri build# Workspace unit and integration tests
cargo test --workspace
# Frontend localization and unit tests
bun test
# Micro-benchmark suite
bun run bench- Changelog & Releases: CHANGELOG.md
- Security Policy & Vulnerability Reporting: SECURITY.md
- Cryptographic Proofs & Security Model: docs/security/cryptographic-proofs.md
- Storage Format Specification (.vdb): VDB_SPEC.md
- Integration SDK & Architecture Reference: INTEGRATION-SDK.md
- Reproducible Builds Specification & Verification: REPRODUCIBLE_BUILDS.md
- Documentation Index: See docs/README.md
This project is open-source software licensed under the MIT License.