how can I use/test pinentry?

Richard Bronosky BrunosJunk at Bronosky.com
Mon Oct 1 20:17:08 CEST 2007


I have an app that is barfing trying to call pinentry.  I was to try
calling pinentry manually to make sure that it is doing the right
thing.  Information is very parse.  Based on...

pinentry -h
Usage: pinentry [OPTION]...
Ask securely for a secret and print it to stdout.

      --display DISPLAY Set the X display
      --ttyname PATH    Set the tty terminal node name
      --ttytype NAME    Set the tty terminal type
      --lc-ctype        Set the tty LC_CTYPE value
      --lc-messages     Set the tty LC_MESSAGES value
  -e, --enhanced        Ask for timeout and insurance, too
  -g, --no-global-grab  Grab keyboard only while window is focused
      --parent-wid       Parent window ID (for positioning)
  -d, --debug           Turn on debugging output
  -h, --help            Display this help and exit
      --version         Output version information and exit

I would expect there to be some way for me to call it from the command
line and get prompted for a password.  The best I can do is get it to
prompt me with: "OK Your orders please" and the only thing I have
found that doesn't give an "ERR 103 unknown command" is "OPTION ..."
(which I found in a mailing list post.)  I cannot find any other
commands.

Please advise.

-- 
.!# RichardBronosky #!.



More information about the Gnupg-users mailing list