CliPassGen
Console Smart Password Generator
Terminal-based smart password generator with deterministic password generation. Generate passwords from secret phrases — same secret always produces the same password, no storage required.
clipassgen — Console Smart Password Generator. Terminal-based smart password generator with deterministic password generation. Generate passwords from secret phrases — same secret always produces the same password, no storage required.
Decentralized by Design: Unlike traditional password managers that store encrypted vaults on central servers, Smart Password Generator stores nothing. Your secrets never leave your device. Passwords are regenerated on-demand — no cloud, no database, no trust required.
⚠️ Breaking Change (v4.0.0)
This release uses smartpasslib v4.0.0, which is NOT backward compatible with v2.x.x or v3.x.x. Smart passwords created with older versions will be different when generated with v4.0.0.
What changed: Dynamic iterations (15-30/45-60), expanded character set, min 12 chars secret, code length extended to 100, salt separation.
📖 Full migration instructions → see MIGRATION.md
- Zero-Storage Security — no passwords or secret phrases are ever stored or transmitted
- Decentralized Architecture — no central servers, no cloud dependency
- Deterministic Generation — same secret + same length = same password, every time
- Memory-Based Security — your brain is the only password database
- Terminal-First — optimized for CLI workflows and scripting
- Multi-Mode Generation — smart passwords, strong random, base passwords, auth codes, public keys, verification
- Decentralized & Serverless — no central database, no cloud lock-in
- Deterministic Security — identical input → identical output, always
- Six Generation Modes — Smart, Strong, Base, Code, Public Key, Verify
- Public Key Verification — generate and verify keys to prove secret knowledge
- Interactive & CLI Modes — both menu-driven and command-line interfaces
- Hidden Input — secret phrase entry via getpass (hidden typing)
- Length Flexibility — 12-100 characters for passwords, 4-100 for codes
- No Internet Required — all cryptographic operations local
- Proof of Knowledge — public keys verify secrets without exposing them
- Decentralized Trust — no third party needed
- Deterministic Certainty — mathematical certainty in password regeneration
- Ephemeral Passwords — passwords exist only in memory during generation
- Local Computation — no data leaves your terminal
- No Recovery Backdoors — lost secret = permanently lost passwords
Powered by smartpasslib v4.0.0+ — The core library for deterministic password generation.
Key derivation (same as Python/JS/Kotlin/Go/C# versions v4.0.0):
| Key Type | Iterations | Purpose |
|---|---|---|
| Private Key | 15-30 (dynamic) | Password generation (never stored, never transmitted) |
| Public Key | 45-60 (dynamic) | Verification (stored locally) |
Character Set:
!@#$%^&*()_+-=[]{};:,.<>?/ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyz
Validation Rules: Secret phrase: min 12 chars · Password length: 12-100 chars · Code: 4-100 chars
Generation Modes:
- Smart Password — deterministic from secret phrase
- Strong Password — cryptographically secure random
- Base Password — simple random password
- Authentication Code — secure code for 2FA/MFA (max length extended to 100)
- Public Key — generate verification key from secret phrase
- Verify — check secret against stored public key
git clone https://github.com/smartlegionlab/clipassgen cd clipassgen python app.py
Via PyPI:
pip install clipassgen==4.0.0
Interactive Mode:
clipassgen
Command-Line Mode:
# Smart password (deterministic, CROSS-PLATFORM!) clipassgen --smart -s "MyStrongSecretPhrase2026!" -l 16 # Strong random password clipassgen --strong -l 20 # Base random password clipassgen --base -l 16 # Authentication code (2FA) - now up to 100 chars clipassgen --code -l 8 # Generate public key from secret clipassgen --public -s "MyStrongSecretPhrase2026!" # Verify secret against public key clipassgen --verify -s "MyStrongSecretPhrase2026!" -k "public_key_here"
-
Pointer-Based Security Paradigm
— 10.5281/zenodo.17204738
Architectural Shift from Data Protection to Data Non-Existence -
Local Data Regeneration Paradigm
— 10.5281/zenodo.17264327
Ontological Shift from Data Transmission to Synchronous State Discovery
clipassgen produces identical passwords to:
Core Libraries:
- smartpasslib — Python
- smartpasslib-js — JavaScript
- smartpasslib-kotlin — Kotlin
- smartpasslib-go — Go
- smartpasslib-csharp — C#
CLI Applications:
By using this software, you agree to the full disclaimer terms.
Software provided "AS IS" without warranty. You assume all risks.
Full legal disclaimer: See DISCLAIMER.md
License: BSD 3-Clause License