PINENTRY-CURSES(1)
๐ PINENTRY-CURSES(1) โ like, the manual page, but make it make sense ๐
okay so real talk: this page is filed under pinentry-curses(1) in the General Commands Manual, but the whole thing is actually about pinentry-tty. iconic of them. anyway bestie, let's get into it ๐ซถ
โจ NAME โจ
pinentry-tty โ a PIN or pass-phrase entry dialog for GnuPG ๐
๐ธ SYNOPSIS ๐ธ
pinentry-tty [OPTION...]
๐ฆ DESCRIPTION ๐ฆ
So pinentry-tty is a lil program that lets you type in PINs or pass phrases securely. Like, it genuinely tries to make sure the stuff you typed does not get swapped to disk and does not get temporarily stored anywhere. no cap. That's the whole vibe.
And why do you care? Because this is lowkey essential when you're entering pass phrases for encryption software like GnuPG, or for email clients that use the same thing. It runs on an open protocol, so it's not tied down to any particular software โ it's free to be its own main character ๐ .
Here's the tea: pinentry-tty implements the PIN entry prompt directly on the controlling tty. It has minimal dependencies and a comparably minimal feature set. Which makes it genuinely great for people working with dumb terminals and other similarly constrained environments ๐.
But bestie, listen โ there are other pinentry flavors that do more user-friendly PIN entry dialogs, either in text mode with the curses toolkit, or using graphical X11 toolkits. Please use one of those other flavors unless you know what you are doing. fr fr ๐
Also pinentry-tty is typically used internally by gpg-agent. Regular users don't normally have any reason to call it directly. it's giving backstage pass only ๐๏ธ
๐ OPTIONS ๐
--versionโ prints the program version and the licensing info โจ--helpโ prints a usage message summarizing the most useful command-line options ๐ซถ--debug,-dโ turns on some debugging. Mostly useful for the maintainers ngl. โ ๏ธ Careful though: this may reveal sensitive information like the entered pass phrase. so like, don't do this casually ๐--enhanced,-eโ asks for timeouts and insurance, too. heads up: this is currently not fully supported ๐--no-global-grab,-gโ grabs the keyboard only when the window is focused. Use this if you're debugging software that usespinentry-tty; otherwise you may not be able to access your X session anymore (unless you have other means to connect to the machine to killpinentry-tty). not me warning you before you lock yourself out ๐ญ--parent-wid Nโ use window ID N as the parent window for positioning the window. note that this is not fully supported by all flavors of pinentry ๐--display STRINGโ one of the localization-info options, passing localization information topinentry-tty๐ธ--ttyname STRINGโ same deal, another localization-info option passed topinentry-tty๐ธ--ttytype STRINGโ yep, another one of those localization-info options ๐ธ--lc-ctype STRINGโ still in the localization-info gang ๐ธ--lc-messages STRINGโ last of the localization-info squad ๐ธ
okay so about that whole --display STRING, --ttyname STRING, --ttytype STRING, --lc-ctype STRING, --lc-messages STRING group โ these options are how you pass localization information to pinentry-tty. They're required because pinentry-tty is usually called by some background process that has zero information about the locale and terminal to use. And psst โ Assuan protocol options are an alternative way to pass this information. two ways to do the same thing, we love options ๐
๐ฅ SEE ALSO ๐ฅ
pinentry-gtk-2(1)pinentry-qt(1)pinentry-fltk(1)pinentry-gnome3(1)pinentry-curses(1)gpg(1)gpg-agent(1)
The full documentation for pinentry-tty is maintained as a Texinfo manual. If the pinentry-doc package is installed, this command
info pinentry
should give you access to the complete manual. go read it, it's giving โจscholarโจ
๐ AUTHOR ๐
This manual page was written by Daniel Kahn Gillmor for the Debian project, derived from other pinentry manual pages written by Peter Eisentraut. we stan both of them ๐ซถ
and that's the whole page bestie!! source: the General Commands Manual, dated 19 Apr 2015 ๐ the PINENTRY-CURSES(1) page, no matter what the title says. slay, stay secure, and don't --debug your pass phrase into existence ๐โจ๐ฆ๐ธ๐
๐ฅ๐๐โญ๐
๐ฆ where this page comes from
- debian bookworm: pinentry-tty 1.2.1-1 ยท GPL-2.0-or-later
- debian trixie: pinentry-tty 1.3.1-2 ยท GPL-2.0-or-later
- ubuntu noble: pinentry-tty 1.2.1-3ubuntu5 ยท GPL-2.0-or-later
- ubuntu questing: pinentry-tty 1.3.1-2ubuntu3
- ubuntu resolute: pinentry-tty 1.3.2-3ubuntu1 ยท GPL-2.0-or-later
- ubuntu stonking: pinentry-tty 1.3.3-2ubuntu1 ยท GPL-2.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms