PASS-GENPHRASE(1)

πŸ“¦ version 0.3, in nixos 26.05, nixpkgs unstable

πŸ’– 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, which pass(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 using qrencode(1) without echoing the text to the terminal. see pass(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 to pass genphrase btw 🫢)
  • -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 (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