PINENTRY-GTK-2(1)
π PINENTRY-GTK-2 π
okay bestie, gather round, because we're about to talk about a lil program from the General Commands Manual section of your system, and it's genuinely iconic. it's called pinentry-gtk-2 and yes, the name is a mouthful, we'll get through it together π«Ά
β¨ NAME β¨
pinentry-gtk-2 β PIN or pass-phrase entry dialog for GnuPG πΈ
π SYNOPSIS π
pinentry-gtk-2 [OPTION...]
that's it. that's the whole vibe. options go in, dialog comes out π
π¦ DESCRIPTION π¦
so like. pinentry-gtk-2 is a program that lets you securely type in PINs or pass phrases. and when I say securely, I mean it literally tries its absolute best to make sure the stuff you typed does not get swapped to disk or temporarily stored anywhere. no cap. that's the whole point.
this is especially useful when you're entering pass phrases while using encryption software like GnuPG, or email clients that use the same thing. and because it uses an open protocol, it is not tied to any particular software. free agent behavior, honestly π
pinentry-gtk-2 implements a PIN entry dialog using the GTK+ tool kit version 2, so it's especially suitable for users of GNOME. and here's the cute part: if the X Window System is not active, then an alternative text-mode dialog will be used instead. it always has a backup plan, we love a resilient queen β¨
there are other flavors that implement PIN entry dialogs using other tool kits. (they're in SEE ALSO, we'll get there, don't worry.)
and ngl, the biggest tea: pinentry-gtk-2 is typically used internally by gpg-agent. users don't normally have a reason to call it directly. so if you're here just to hang out, that's valid, but you probably don't need to invoke it yourself π
π OPTIONS π
--versionβ prints the program version and licensing information. cute lil receipts moment π§Ύ--helpβ prints a usage message summarizing the most useful command-line options. your bestie when you're lost β¨--debug,-dβ turns on some debugging. mostly useful for the maintainers.
β οΈ heads up bestie: this may reveal sensitive information like the entered pass phrase. so like, be careful with this one, fr fr π
--enhanced,-eβ asks for timeouts and insurance, too. note that this is currently not fully supported. it's giving "coming soon" energy π--no-global-grab,-gβ grabs the keyboard only when the window is focused. use this option if you're debugging software usingpinentry-gtk-2; otherwise you may not be able to to access your X session anymore (unless you have other means to connect to the machine to killpinentry-gtk-2). yes that sentence really does say what you think it says. the keyboard grab is serious business π₯--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. lowkey a suggestion more than a promise π«Ά--display STRING,--ttyname STRING,--ttytype STRING,--lc-ctype STRING,--lc-messages STRINGβ these options are used to pass localization information topinentry-gtk-2. they're required becausepinentry-gtk-2is usually called by some background process which does not have any information on the locale and terminal to use. Assuan protocol options are an alternative way to pass these information. so basically: somebody's gotta tell this program where it is and what language to speak, and it's usually these guys π
π SEE ALSO π
pinentry-curses(1)pinentry-qt(1)pinentry-fltk(1)pinentry-gnome3(1)pinentry-tty(1)gpg(1)gpg-agent(1)
the full documentation for pinentry-gtk-2 is maintained as a Texinfo manual. if the pinentry-doc package is installed, the command
info pinentry
should give you access to the complete manual. go read it, it's giving scholar behavior πβ¨
πΈ AUTHOR πΈ
this manual page was written by Peter Eisentraut for the Debian project. thank you for your service, king π«‘π
and that's the whole page bestie!! this one came from the General Commands Manual and it's dated 27 Jan 2005, so yeah, it's an elder but it still slays π β¨ mwah, go type your pass phrase securely ππ¦π
π¦ where this page comes from
- debian bookworm: pinentry-gtk2 1.2.1-1 Β· GPL-2.0-or-later
- debian trixie: pinentry-gtk2 1.3.1-2 Β· GPL-2.0-or-later
- ubuntu noble: pinentry-gtk2 1.2.1-3ubuntu5 Β· GPL-2.0-or-later
- ubuntu questing: pinentry-gtk2 1.3.1-2ubuntu3
- ubuntu resolute: pinentry-gtk2 1.3.2-3ubuntu1 Β· 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