![]()
Generate passwords, passphrases, PINs, API keys, and usernames in VS Code — from passwords.lu. Copy to clipboard, insert at the cursor, or share via PrivateNote.
Features
- Sidebar panel — generate with live strength and breach badges
- Command palette — generate, check selection, check clipboard
- Strength check — local zxcvbn analysis (no network)
- Breach check — optional Have I Been Pwned lookup via k-anonymity (hash prefix only)
- Cryptographically secure — Node
crypto.randomFillSyncwith rejection sampling
Privacy
- Generation is 100% local.
- Strength check is 100% local.
- Breach check sends only the first 5 characters of a SHA-1 hash to Have I Been Pwned - your password never leaves your device in plain text.
- Share opens PrivateNote in your browser (secret in URL hash only).
Commands
| Command | Description |
|---|---|
Passwords: Generate… |
Pick a type, then copy / insert / share / regenerate |
Passwords: Generate and Copy… |
Pick a type, copy immediately |
Passwords: Check Selection for Breaches |
HIBP k-anonymity check on selected text |
Passwords: Check Clipboard for Breaches |
HIBP check on clipboard |
Passwords: Check Selection Strength |
Local zxcvbn strength on selected text |
Passwords: Generate Password |
Password using workspace defaults |
Passwords: Generate Passphrase |
EFF long wordlist passphrase |
Passwords: Generate PIN |
Numeric PIN |
Passwords: Generate API Key |
Base64url / hex / alphanumeric with prefix |
Passwords: Generate Username |
Adjective+noun or random string |
Passwords: Open Panel |
Focus the sidebar panel |
Settings
passwords-lu.passwordLength(default20)passwords-lu.passphraseWords(default5)passwords-lu.pinLength(default6)passwords-lu.apiKeyPrefix(defaultsk_)passwords-lu.usernameMode(compositeorrandom)passwords-lu.breachCheckEnabled(defaultfalse) - auto breach check after generating passwords/passphrases
Development
cd vscode-extension
npm install
npm run compile
Press F5 (open the vscode-extension folder) to launch an Extension Development Host.
License
MIT