xkcdpass(1)
π xkcdpass β the iconic passphrase generator π
okay so this is the xkcdpass(1) page from the General Commands Manual, and bestie, itβs giving password-generator main character energy β¨
πΈ NAME πΈ
xkcdpass β generate memorable, secure multiword passphrases. literally the assignment, no cap π
β¨ SYNOPSIS β¨
run it like this:
xkcdpass [ options ]
xkcdpass --help
π¦ DESCRIPTION π¦
okay so xkcdpass is a flexible and scriptable password generator which generates strong passphrases, inspired by XKCD 936:
$ xkcdpass
> correct horse battery staple
iconic. periodt. π΄ππ
π OPTIONS π
hereβs the full menu, bestie β no skips, no summaries, fr fr:
--helpβ describes how to use this command. read it, bestie π«Ά--wordfile WORDFILE,-w WORDFILEβ specify that the fileWORDFILEcontains the list of valid words from which to generate passphrases.--min MIN_LENGTHβ minimum number of letters required in words used to make password. (Default: 5)--max MAX_LENGTHβ maximum number of letters allowed in words used to make password. (Default: 9)--numwords NUM_WORDS,-n NUM_WORDSβ generate passphrases containing exactlyNUM_WORDSwords. (Default: 6)--interactive,-iβ generate and output a passphrase, query the user to accept it, and loop until one is accepted. itβs giving try-again energy π--valid_chars VALID_CHARS,-v VALID_CHARSβ limit passphrases to only include words matching the regex patternVALID_CHARS(e.g.'[a-z]').--verbose,-Vβ report various metrics for given options. numbers girlies rise β¨--acrostic ACROSTIC,-a ACROSTICβ generate passphrases with an acrostic matchingACROSTIC. structured AND cute π--count COUNT,-c COUNTβ generateCOUNTpassphrases. (Default: 1)--delimiter DELIM,-d DELIMβ separate words within a passphrase withDELIM. (Default:' ')--separator SEP,-s SEPβ separate generated passphrases withSEP. (Default:' ')
π EXAMPLES π
xkcdpassβ generates one passphrase with the default options. Example output:
pinball previous deprive militancy bereaved numeric
xkcdpass --count=5 --acrostic='chaos' --delimiter='|' --min=5 --max=6 --valid_chars='[a-z]'β generates 5 passphrases, all from lower-case words and meeting the acrostic "chaos", delimited by the "|" character. Example output:
collar|highly|asset|ovoid|sultan
caper|hangup|addle|oboist|scroll
couple|honcho|abbot|obtain|simple
cutler|hotly|aortae|outset|stool
cradle|helot|axial|ordure|shale
π HISTORY π
the xkcdpass command invokes the Python program xkcd_password.py.
the inspiration for the program's purpose is the XKCD 936 "Password Strength" cartoon.
no cap, thatβs the origin story π¦
thatβs the whole page, bestie β xkcdpass(1) from the General Commands Manual. thereβs no extra source/version/date line in this copy, so this is the cute sign-off: stay memorable, stay secure, and slay those passphrases π
β¨
π¦ where this page comes from
- arch rolling: xkcdpass 1.30.0-1 Β· BSD-3-Clause
- nixos 26.05: python3.13-xkcdpass 1.30.0
- nixos 26.05: python3.14-xkcdpass 1.30.0
- nixpkgs unstable: python3.13-xkcdpass 1.30.0
- nixpkgs unstable: python3.14-xkcdpass 1.30.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms