Local-First Sovereign Credential Infrastructure

Your Vault. Your Hardware.
Zero Cloud Dependencies.

Simple Credential Manager is a high-assurance, military-grade credential vault and RFC 6238 2FA authenticator. Designed for developers, engineers, and privacy minimalists who refuse to surrender their master keys to the cloud.

scm interactive-shell — zsh / powershell
SHA-256 Verified
user@workstation:~$ python SimpleCredentialManagerCli.py list
Unlocked vault: ~/.simpleCredentialManager/vault.scmdb (Argon2id + SQLite WAL) ┌──────────┬─────────────────────────┬───────────────────┬─────────┬─────────────────────┐ │ Index │ Service / Name │ Username │ 2FA/TOTP│ Last Updated │ ├──────────┼─────────────────────────┼───────────────────┼─────────┼─────────────────────┤ │ 1 │ aws-production-root │ devops@corp.internal │ ENABLED │ 2026-10-29 18:04:12 │ │ 2 │ github-personal-token │ abhishekraha │ ENABLED │ 2026-10-28 09:22:15 │ │ 3 │ gpg-signing-subkeystore │ secops@domain.io │ N/A │ 2026-10-25 14:10:00 │ │ 4 │ postgres-readreplica │ cluster_adm │ N/A │ 2026-10-20 21:44:03 │ └──────────┴─────────────────────────┴───────────────────┴─────────┴─────────────────────┘ Showing 4 encrypted records in memory (SecureBuffer active, lock timeout: 60s)
user@workstation:~$ python SimpleCredentialManagerCli.py get github-personal-token --clip
[1/2] Blind index matched in 0.42ms via HMAC-SHA256(name, Pepper) [2/2] Row-level AEAD decrypted in 0.18ms ✔ Credential copied to system clipboard! • OS Privacy Flags: ExcludeFromClipboardHistory: ACTIVE • Memory Security: SecureBuffer zeroed after transfer • Auto-Erase Timer: Clipboard will overwrite with zeros in 30 seconds
user@workstation:~$ python SimpleCredentialManagerCli.py totp aws-production-root
RFC 6238 Standard Time-based One-Time Password: Service: aws-production-root Account: devops@corp.internal Current Code: 849 201 (22s remaining) Press [Enter] to copy TOTP token directly to clipboard or [Ctrl+C] to abort.
user@workstation:~$ python SimpleCredentialManagerCli.py health --breaches
Running Vault Security & Integrity Diagnostics: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [1/4] Shannon Entropy & Complexity Audit: ✔ 100% of stored passwords exceed 72-bit Shannon entropy floor. [2/4] Password Re-use Cross-Check: ✔ 0 collisions detected across 4 distinct records. [3/4] HaveIBeenPwned k-Anonymity Leak Check (SHA-1 prefix-only 5 chars query): Querying 0.00% plain text over wire... ✔ All credentials clean. Zero breach appearances detected. [4/4] SQLite Integrity Check: ✔ WAL clean, PRAGMA integrity_check == ok. OVERALL VAULT HEALTH SCORE: 100/100 (A+)

Two Sovereign Operational Modes

Choose the deployment model that best fits your workflow. Click either mode below to explore its architectural details and interface workflows.

Workstation Sovereign Security

Air-Gapped, Zero-Cloud Desktop Operation

Mode 1 operates entirely locally on your physical machine with zero network listening sockets or external communication. Designed for developers and security analysts who require immediate access to credentials directly from their desktop or development shell.

  • Modern 3-Pane Desktop GUI (PySide6): Dark & Light themes, live search filter, categories, and tags.
  • RFC 6238 TOTP Arc: Embedded circular SVG/Qt countdown timer with 1-click token copying.
  • Rich / Typer CLI: Terminal tables, clipboard auto-erase in 30 seconds, and scriptable headless JSON output.
  • Inactivity Auto-Lock: Memory is zeroed via SecureBuffer after 60 seconds of idle time.
# Launch Modern Desktop UI
python SimpleCredentialManagerUi.py

# Launch Interactive CLI
python SimpleCredentialManagerCli.py interactive
Desktop Mode Workflow
1. Vault Locked: ~/.simpleCredentialManager/vault.scmdb
Encrypted via Argon2id (64MB) + Two-Tier Envelope (KEK/DEK)

2. Master Password Prompt:
Enter master password: [••••••••••••••••]
Deriving KEK -> Unwrapping 256-bit DEK into SecureBuffer RAM

3. Active Session (60s Inactivity Timer):
• Blind Index lookups in O(1) via HMAC-SHA256
• Sensitive clipboard protected by OS privacy exclusion flags
• 30s automatic clipboard memory erase

Built Without Compromise. Engineered for Paranoia.

Cloud password managers are high-value honeypots susceptible to server-side breaches and supply chain attacks. SCM replaces the cloud with local, cryptographically airtight sovereignty.

Military-Grade Cryptography

Derives master keys using Argon2id (the memory-hard password hashing competition winner), rendering GPU/ASIC attacks ineffective.

  • Two-Tier Envelope Encryption (KEK + DEK)
  • AES-256-GCM authenticated cipher with tag verification
  • Instant master password rotation with zero re-encryption of data

SecureBuffer Memory Zeroing

Python immutable strings leave sensitive artifacts in process memory. SCM overrides memory boundaries using bytearray wiping routines.

  • Explicit C-style memset overwrites RAM with zeros upon lock
  • Automated 60-second inactivity lock clears DEK from memory
  • Prevents core dump, swap file, and cold boot extraction

Zero-Trace OS Clipboard

Copying credentials without leaking to third-party clipboard monitors, cloud syncs, or system history buffers.

  • Sets Windows ClipboardViewerIgnore / ExcludeClipboardContentFromMonitorProcessing
  • macOS org.nspasteboard.ConcealedType isolation
  • Hard 30-second background eraser wiping clipboard automatically

SQLite WAL & Blind Indexing

High performance transactional storage with row-level encryption and zero-knowledge name querying.

  • Write-Ahead Logging (WAL) ensures atomic crash resilience
  • HMAC-SHA256 Blind Indexing enables instant O(1) searches
  • Row-level AEAD: only decrypted when individually queried

RFC 6238 TOTP 2FA Engine

Ditch standalone authenticator apps. SCM generates real-time TOTP tokens directly in your CLI or desktop window.

  • Compatible with Google Authenticator, Authy, and Duo
  • QR code camera scanning and otpauth:// URI ingestion
  • Encrypted TOTP secret storage with row-level AEAD protection

Tamper-Proof Audit Trail

Every authentication event, secret access, export, and failed password attempt is logged into a structured, verifiable trail.

  • Redacts sensitive attributes automatically before writing to disk
  • Exponential lockout timer defends against brute-force attacks
  • Standalone, non-cloud JSONL audit trail with monotonic ordering

Get Up and Running in Seconds

Install SCM as a single standalone binary or through Python pip. No cloud accounts, no subscription keys, no network connection required.

1. Clone the repository and install requirements in your virtual environment:

git clone https://github.com/abhishekraha/SimpleCredentialManager.git
cd SimpleCredentialManager
pip install -r requirements.txt

2. Launch the Modern UI or CLI:

# Launch Desktop UI (Modern PySide6 interface by default)
python SimpleCredentialManagerUi.py

# Or launch Modern CLI
python SimpleCredentialManagerCli.py

1. Install dependencies via Homebrew and pip:

brew install python@3.12
git clone https://github.com/abhishekraha/SimpleCredentialManager.git
cd SimpleCredentialManager && python3 -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt

2. Run Modern UI or CLI:

python3 SimpleCredentialManagerUi.py # Modern PySide6 UI
python3 SimpleCredentialManagerCli.py # Interactive CLI

1. Setup in standard Linux terminal (Wayland and X11 supported):

sudo apt install python3-tk xclip # On Ubuntu/Debian
git clone https://github.com/abhishekraha/SimpleCredentialManager.git
cd SimpleCredentialManager && pip install -r requirements.txt

2. Run Modern UI or CLI:

python3 SimpleCredentialManagerUi.py # Modern PySide6 UI
python3 SimpleCredentialManagerCli.py # Interactive CLI

Two-Tier Envelope Cryptography

How SCM protects your credentials through cryptographic isolation between Master Passwords and Data Encryption Keys.

Cryptographic Lifecycle

Traditional vaults derive an encryption key straight from your master password and encrypt the entire file. SCM decouples key verification from data decryption using an Envelope Model:

1

Master Password → Argon2id KDF

Computes a 256-bit Key Encryption Key (KEK) using 64MB memory cost factor, completely neutralizing brute-force hardware.

2

Encrypted DEK Unwrap

The KEK decrypts the randomized Data Encryption Key (DEK). If the master password is modified, only the DEK envelope is re-encrypted in 1ms.

3

Row-Level SQLite AEAD

Each secret payload is independently encrypted with a unique 96-bit AES-GCM IV and verified with HMAC blind indexing.

DATA FLOW // ENVELOPE ENCRYPTION ARCHITECTURE
+──────────────────────────────────────────────────────────+
│                 USER MASTER PASSWORD                     │
+──────────────────────────────────────────────────────────+
                             │
                             ▼
  [ Argon2id KDF ] (Salt: 16B, m=64MB, t=3 iterations)
                             │
            ┌────────────────┴────────────────┐
            ▼                                 ▼
   [ Password Verifier ]              [ Key Encryption Key ]
  (hmac.compare_digest)                       (KEK)
            │                                 │
     (Auth Approved)                          ▼
            │                   [ Decrypt DEK Envelope ]
            │                    AES-256-GCM authenticated
            │                                 │
            └───────────────┬─────────────────┘
                            ▼
              [ Data Encryption Key (DEK) ]
                (In-Memory SecureBuffer)
                            │
       ┌────────────────────┼────────────────────┐
       ▼                    ▼                    ▼
[ Blind Index ]     [ Row-Level Enc ]    [ RFC 6238 TOTP ]
HMAC-SHA256(Name)     AES-256-GCM(Payload)  Decrypted in RAM
       │                    │                    │
       ▼                    ▼                    ▼
+──────────────────────────────────────────────────────────+
│             SQLITE WAL ENGINE (~/vault.scmdb)            │
+──────────────────────────────────────────────────────────+
          

How SCM Compares

Compare SCM against traditional browser storage and commercial cloud password managers.

Security Vector Simple Credential Manager (SCM) Commercial Cloud Vaults Browser Password Storage
Storage Topology 100% Local / Zero-Cloud Remote AWS / Azure Cloud Sync Local Browser Profile / Vendor Cloud
KDF Algorithm Argon2id / Scrypt 64-byte Split PBKDF2-HMAC (Vulnerable to GPU) OS Keychain / DPAPI
Envelope Encryption Two-Tier KEK / DEK Single-Tier Full DB Key None
Memory Zeroing SecureBuffer (Explicit RAM Zeroing) Garbage Collector Dependent Plaintext RAM strings
Clipboard Guard OS Privacy Flags + 30s Auto-Erase Basic Timer (No privacy flags) Unprotected Clipboard
Dual CLI / UI Support Rich Interactive CLI + Desktop UI GUI Only (CLI via slow wrapper) Browser UI Only
Telemetry & Analytics Absolute Zero Telemetry Usage Tracking & Third-party SDKs Full Vendor Telemetry