Linux "pinentry" Command Line Options and Examples
PIN or pass-phrase entry dialog for GnuPG

pinentry-curses is a program that allows for secure entry of PINs or pass phrases. That means it tries to take care that the entered information is not swapped to disk or temporarily stored anywhere. This function‐ ality is particularly useful for entering pass phrases when using encryption software such as GnuPG or e-mail clients using the same.


Usage:

pinentry-curses [OPTION...]






Command Line Options:

--version
Print the program version and licensing information.
pinentry --version ...
--help
Print a usage message summarizing the most useful command-line options.
pinentry --help ...
--debug
Turn on some debugging. Mostly useful for the maintainers. Note that this may reveal sensitive infor‐mation like the entered pass phrase.
pinentry --debug ...
--enhanced
Ask for timeouts and insurance, too. Note that this is currently not fully supported.
pinentry --enhanced ...
--no-global-grab
Grab the keyboard only when the window is focused. Use this option if you are debugging software usingpinentry-curses; otherwise you may not be able to to access your X session anymore (unless you haveother means to connect to the machine to kill pinentry-curses).
pinentry --no-global-grab ...
--parent-wid
Use window ID N as the parent window for positioning the window. Note, that this is not fully sup‐ported by all flavors of pinentry.
pinentry --parent-wid ...
--display
These options are used to pass localization information to pinentry-curses. They are required becausepinentry-curses is usually called by some background process which does not have any information on thelocale and terminal to use. Assuan protocol options are an alternative way to pass these information.
pinentry --display ...