PASS-GENPHRASE(1)
π PASS-GENPHRASE π
okay so bestie, the manual name on this one is PASS-GENPHRASE(1) β it lives in the PASS EXTENSION COMMANDS section, and it's about to become your new favorite thing, no cap.
β¨ NAME β¨
pass-genphrase β it's a passphrase generator extension for pass(1). literally that's the whole job and it slays at it π
πΈ SYNOPSIS πΈ
pass genphrase [ options ] pass-name [ word-count ]
π¦ DESCRIPTION π¦
So pass-genphrase is an extension for pass(1) that gives you the pass genphrase command β which securely creates memorable passphrases using a Diceware[β’]-compatible dictionary file. It's a drop-in replacement for the pass generate command, which is giving "glow up but functionally identical" and honestly? iconic. π
By default, the dictionary file is the EFF Long Word List created by Joseph Bonneau / The Electronic Frontier Foundation, based on linguistic studies of the English language. (the original links to it at https://www.eff.org/files/2016/07/18/eff_large_wordlist.txt β go look, it's a whole vibe π)
But you're not locked in, babes β you can also specify an alternative dictionary using the -d/--dict option. customization is the moment. β¨
π OPTIONS AND ARGUMENTS π
The options closely follow those of pass generate. Listing them all out for you, in order, because we do NOT skip details in this house:
-h,--helpβ displays help and dips out. exit stage left πͺ-c,--clipβ writes the generated passphrase to the clipboard, whichpass(1)will later erase automatically. it cleans up after itself, we love a responsible icon π-f,--forceβ replaces an existing password entry with zero prompting. no questions, just vibes π₯-i,--in-placeβ generates non-interactively. it only replaces the first line of the stored password file with the newly generated passphrase. super useful for non-interactively editing a multi-line password file. surgical precision, honestly π-q,--qrcodeβ encodes the generated passphrase as a QR code usingqrencode(1)without echoing the text to the terminal. seepass(1)for more info about using QR codes. stealth mode activated π₯·- *
-d*path,--dict=path β specifies the path to a dictionary file. (this one's specific topass genphrasebtw π«Ά) -n,--no-spacesβ separates words with dashes instead of spaces. for the girlies who hate whitespace π
The default word count in the passphrase is 6. to change it, just drop a number as the word-count positional argument after the pass-name. You can specify the word count as low as 1 β although, and I cannot stress this enough, this is clearly not recommended. π literally please don't.
π§ NOTES π§
In many cases one could simply generate a passphrase using any tool and pipe it to pass insert. However β and this is the plot twist β that might be problematic when editing an existing password, because pass insert uses the standard input for interactive prompts and confirmations. messy. π
The command uses a helper script written in Python for securely shuffling the dictionary file. So please make sure Python is installed β either version 2.7 or 3.6/3.7. check before you come for the crown, bestie π
π BUGS π
Please report bugs to the Issues page on Github: https://github.com/congma/pass-genphrase/issues π
π SEE ALSO π
pass(1) β that's it. that's the list. quality over quantity, iykyk β
π COPYRIGHT π
Copyright (C) 2017--2019 Cong Ma and contributors. License GPLv3+: GNU GPL version 3 or later β https://gnu.org/licenses/gpl.html π«Ά
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. (say it louder for the people in the back, NO WARRANTY π€)
See the file CONTRIBUTORS for the source of contributions. π
Diceware[β’] is a trademark of Arnold G. Reinhold. π
and that's the whole page, bestie! π this one's from the PASS corner of the manual, dated 2019 May 12, tucked under the PASS-GENPHRASE(1) header. go forth and generate responsibly β¨πΈπ¦
π¦ where this page comes from
- nixos 26.05: pass-genphrase 0.3
- nixpkgs unstable: pass-genphrase 0.3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms