Introduction to QubKey

Local-first password manager: .rkvey vault, QubKey account, sync, and secure sharing.

QubKey is a local-first password manager designed as a digital vault system — not a simple encrypted file. Each layer — format, cryptography, index, and application — is designed to work together and protect your secrets end to end. Free during beta; an open-source (MIT) release is planned (no public repository yet).

The native desktop app combines Rust (cryptographic core), Tauri (lightweight system shell), and React (UI). Your secrets live in a .rkvey (Rust Key Vault) file on disk, encrypted with proven primitives and strict separation of concerns.

This documentation is for individuals securing their credentials and technical teams evaluating the architecture. Start with Installation or First vault ; see Release notes for build history ; for security, see Architecture.

Design philosophy

  1. The vault is a system — identification, configuration, index, and data are distinct layers.
  2. Crypto is not a bolt-on — encryption, derivation, and integrity are built into the format.
  3. Resilience is mandatory — WAL, safe commits, and crash recovery are part of the model.

Diagram: application overview

UI

Interfadësen (React + Tauri)

  • Coffre
  • Dossieren
  • Recherche
  • Generateur
  • Coven den à usage unique
  • Tableum de bord
  • Synchronisatioun
  • Deelen
  • Erweiderung Browser
Core

Cœur Rust (QubKey Core)

  • Format .rkvey v5
  • Argon2id Ofleedung
  • Verschlësselung authentifié
  • Index de Sich
  • Späicherens sûrs
  • Späicher-Erläsche
  • Erhuelung duerno interruption
Storage

Datei .rkvey v5 op den système de Dateien

  • Preambel
  • Verschlësselten Header
  • Verschlësselten Index
  • Compartiments secrets
  • Unhäng
  • Historidatt ven den commits

Core principles

Local-first

Your vault file lives on your filesystem. No internet required for core operations — your data never transits through a QubKey server.

Zero-knowledge

The master password never leaves your machine. Recovery relies on the recovery key you save at creation — QubKey cannot read or reset it.

Planned open source

Rust core, Tauri shell, and React frontend: an open-source (MIT) release is planned. No public repository yet; the .rkvey format and standard crypto primitives remain documented.

Why Rust?

BenefitImplementationAdvantage
Memory safetyCompiler guaranteeEliminates buffer overflows, use-after-free, and data races — common C/C++ vulnerability sources
Zeroizationzeroize crateGuaranteed wipe of keys and secrets in RAM when the vault locks
PerformanceNativeCalibrated Argon2id without unpredictable GC — stable, predictable unlock (~500 ms)
CryptoRustCryptoAudited AEAD and Argon2 primitives — no homegrown reimplementation

Technical stack

ComponentTechnologyRole
CoreRustCrypto, .rkvey format, WAL
Desktop shellTauriSecure IPC, file access
UIReact + TypeScriptUX, search, dashboard
EncryptionAES-256-GCM, XChaCha20Per-entry AEAD
DerivationArgon2idMaster password → master key
Format.rkveyLayered vault

Project structure

main.rs
Cargo.toml
App.tsx
package.json

20 entry types

QubKey offers 20 types (EntryType, discriminants 0–19). Each type also accepts encrypted attachments (multi-file, folders). See the full catalog for each EntryData variant schema.

Next steps