pinentry fails for no apparent reason (ERR canceled)
Yuri
yuri at rawbw.com
Mon Mar 9 04:43:20 CET 2015
I have pinentry failing in case it is invoked from gpg4usb, and
succeeding when called from gpg itself.
The succeeding case is when I paste an encrypted text into console with
running gpg.
Successful case has these options set, failing doesn't have them:
OPTION ttyname=/dev/pts/16
OPTION lc-ctype=en_US.UTF-8
OPTION lc-messages=en_US.UTF-8
Failure message: ERR 83886179 canceled
Why would pinentry fail like this?
pinentry-0.9.0
gnupg-2.1.2
All from ports on FreeBSD 10.1
Yuri
--- log: successful input (called from gpg) ---
OPTION grab
OPTION ttyname=/dev/pts/16
OPTION ttytype=xterm
OPTION lc-ctype=en_US.UTF-8
OPTION lc-messages=en_US.UTF-8
OPTION default-ok=_OK
OPTION default-cancel=_Cancel
OPTION default-prompt=PIN:
OPTION touch-file=/home/yuri/.gnupg/S.gpg-agent
GETINFO pid
SETDESC Please enter the passphrase to unlock the OpenPGP secret
key:%0A%22MyKey1 (Main Key) <xxx at xxx.xxx>%22%0A4096-bit RSA key, ID
97C87935,%0Acreated 2015-03-08 (main key ID D4C77447).%0A
SETPROMPT Passphrase:
GETPIN
BYE
--- log: successful output (called from gpg) ---
OK Your orders please
OK
OK
OK
OK
OK
OK
OK
OK
OK
D 29030
OK
OK
OK
D ActualPasswordHere
OK
OK closing connection
--- log: failing input (called from gpg4usb) ---
OPTION grab
OPTION ttytype=xterm
OPTION default-ok=_OK
OPTION default-cancel=_Cancel
OPTION default-prompt=PIN:
OPTION touch-file=/home/yuri/.gnupg/S.gpg-agent
GETINFO pid
SETDESC Please enter the passphrase to unlock the OpenPGP secret
key:%0A%22MyKey1 (Main Key) <xxx at xxx.xxx>%22%0A4096-bit RSA key, ID
97C87935,%0Acreated 2015-03-08 (main key ID D4C77447).%0A
SETPROMPT Passphrase:
GETPIN
BYE
--- log: failing output (called from gpg4usb) ---
OK Your orders please
OK
OK
OK
OK
OK
OK
D 29082
OK
OK
OK
ERR 83886179 canceled
OK closing connection
More information about the Gnupg-devel
mailing list