GETPWD(1)

πŸ“¦
version 2.0.4 Β· 3 versions
, in nixos 26.05, nixpkgs unstable, ubuntu stonking

✨ getpwd(1) β€” the password whisperer ✨

okay bestie, pull up a chair 🫢 you're in section 1 of the manual, and this is getpwd β€” a lil tool in the <pink>pwdsphinx</pink> family. it's a <green>simple</green> tool that queries a password from a user and writes it to standard output. that's the whole vibe. πŸ’…


🌸 NAME 🌸

getpwd β€” simple tool that queries a password from a user and writes it to standard output <rainbow>periodt</rainbow>


πŸ’– SYNOPSIS πŸ’–

getpwd ["prompt"] | sphinx get username hostname

✨ DESCRIPTION ✨

so here's the tea πŸ“: getpwd <hotpink>securely</hotpink> prompts you for a password using pinentry from the GnuPG project, and then it outputs that password straight to standard output.

the way that it does this is <cyan>safer</cyan> than echoing passwords directly into commands, no cap 😀 β€” because it stops your passwords from showing up in <red>process lists</red> or <red>command history</red> where literally anyone with a ps habit could peek at them. not cute. we do not do that here. πŸ™ˆ

this tool supports various pinentry interfaces, bestie, including:

  • <mint>curses</mint> (terminal girlie πŸ–₯️)
  • <mint>GTK</mint> (desktop princess πŸŽ€)
  • <mint>Qt</mint> variants (also desktop, also slay πŸ’…)

so you can choose the interface that best fits your desktop environment. main character energy for every setup, fr fr 🌈

🌟 arguments 🌟

  • "prompt" β€” this parameter specifies the prompt text displayed when asking for the password. it's optional, it's literally just the lil message you wanna see pop up when it's time to type your secret. πŸŽ€

⚠️ side note bestie: the whole point of this tool is that your password goes <green>in the pipe</green> instead of into your shell history. keep it that way. do not pipe it through something that's gonna log it. iykyk πŸ’€

πŸ› REPORTING BUGS πŸ›

found a bug? not the vibe, but it happens 😭 take it here:

https://github.com/stef/pwdsphinx/issues/

πŸ‘‘ AUTHOR πŸ‘‘

Written by Stefan Marsiske. iconic behavior tbh πŸ’œ


Copyright © 2023 Stefan Marsiske. License <green>GPLv3+</green>: 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 <red>NO WARRANTY</red>, to the extent permitted by law. 😌


🌈 SEE ALSO 🌈

  • sphinx(1) β€” go read it, bestie, it's the whole point of this pipeline πŸ¦‹

and that's the page!! this lil getpwd(1) lives in <lavender>section 1</lavender> of the manual β€” it's a <pink>pwdsphinx</pink> thing πŸ’– no date stamp made it into this copy so i'm not gonna invent one, that would be lying and we don't do that here. mwah, go type your passwords safely βœ¨πŸ’…πŸ«Ά

πŸ“¦ where this page comes from