Hi, On Sat, Jan 04, 2014 at 05:23:04PM +0100, Guilhem Moulin wrote: > Since the upgrade to 0.8.3-1 pinentry-curses is no longer able to show > multiline prompts. This is problematic when used with gpg-agent, since for > instance the key ID that is being unlocked is no longer visible. > > Here is a minimal example: > > pinentry-curses --lc-ctype=en_US.UTF8 --ttyname=$(tty) <<END > SETDESC This is%0Aa multiline%0Aprompt.%0A > SETPROMPT > GETPIN > END > > 0.8.3-1 shows some garbage after the first linefeed (encoded as %0A as per the > PIN-entry protocol), whereas 0.8.1-1 shows a correct 3-lines prompt. > > FWIW, the following (multiline) prompt used by gpg2 (2.0.22-3) is properly > passed to the gpg-agent (2.0.22-3) as shown in the log, but pinentry-curses > 0.8.3-1 only shows the first line. > > SETDESC Please enter the passphrase to unlock the secret key for the OpenPGP > certificate:%0A%22Guilhem Moulin <guil...@fripost.org>%22%0A4096-bit RSA key, > ID 0xC27306B86774D6F7,%0Acreated 2012-11-05 (main key ID > 0x39278DA8109E6244).%0A
I found out that adding libncursesw5-dev to build-dep will solve this bug. See also: http://bugs.debian.org/728512 Cheers, GUO Yixuan
signature.asc
Description: Digital signature