Skip to content

Zanrose/PassPhrase-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PassPhrase Generator — Alfred Workflow

Generate secure, memorable XKCD-style passphrases directly from Alfred.

Inspired by correcthorsebatterystaple.net.


Requirements

  • Alfred 5 with a Powerpack licence
  • macOS (uses the built-in /usr/share/dict/words wordlist — no extra dependencies)

Installation

  1. Download PassPhrase-Generator.alfredworkflow
  2. Double-click it — Alfred will import it automatically
  3. Configure your defaults in the User Configuration panel (see below)

Usage

Input Result
pp Generates 9 passphrases using your saved defaults
pp 6 Generates passphrases with 6 words (one-off override)
Copies the selected passphrase to the clipboard
⌘↩ Pastes the selected passphrase into the frontmost app

Configuration

Open Alfred Preferences → Workflows → PassPhrase Generator and click [x] (User Configuration) to set your defaults:

Setting Default Description
Keyword pp Alfred keyword that triggers the generator
Minimum Words 4 Fewest words per passphrase (slider, 2–10)
Minimum Length 20 Fewest total characters; extra words are added until met
Separator - Character placed between words (e.g. -, ., _, or leave blank)
Capitalise first letter Title-cases the first letter of each word
Include a number Appends a random 2-digit number after the last word

Security

  • Uses Python's secrets module (secrets.SystemRandom) for cryptographically secure random selection — not the weaker random module.
  • Words are drawn from macOS's built-in system dictionary, filtered to clean alphabetical words of 4–8 characters. No network requests are made.
  • No data is logged or transmitted.

License

MIT

About

Alfred 5 workflow — generate secure, memorable XKCD-style passphrases

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages