Page MenuHome GnuPG
Feed Advanced Search

Jun 25 2015

werner added projects to T1998: Can't use extended characters in passphrase: Not A Bug, pinentry.
Jun 25 2015, 2:59 PM · pinentry, Not A Bug, Bug Report, gnupg

Jun 23 2015

neal added a comment to T2020: Delete/backspace does nothing in pinentry 0.9.4 in OSX.

chdiza: In the future, please open one issue per bug report. FWIW, I've also
fixed this new bug.

Given that this bug has existed since forever on Max OS X, I don't think this
issue is important enough to immediately do a release. However, there should be
a new release within the month.

Jun 23 2015, 8:59 PM · Bug Report, pinentry
neal closed T2020: Delete/backspace does nothing in pinentry 0.9.4 in OSX as Resolved.
Jun 23 2015, 8:59 PM · Bug Report, pinentry
chdiza added a comment to T2020: Delete/backspace does nothing in pinentry 0.9.4 in OSX.

Also, the OSX community would much appreciate it if you guys would cut a release
containing this fix as soon as possible. We aren't any less likely to misenter our own
passwords than anyone else :)

Jun 23 2015, 8:25 PM · Bug Report, pinentry
chdiza added a comment to T2020: Delete/backspace does nothing in pinentry 0.9.4 in OSX.

Neal: It works!

However you should be aware that I had to manually --disable-pinentry-emacs, or else
I got this:

-----8<-----------------------------
Making all in emacs
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/Cellar/gnoopeegee/1.8.0/include -
I/usr/local/Cellar/gnoopeegee/1.8.0/include -I../pinentry -Wall -g -O2 -Wall -
Wcast-align -Wshadow -Wstrict-prototypes -Wformat -Wno-format-y2k -Wformat-security
-W -Wno-sign-compare -Wno-missing-field-initializers -Wdeclaration-after-statement -
Wno-pointer-sign -Wpointer-arith -MT pinentry-emacs.o -MD -MP -MF .deps/pinentry-
emacs.Tpo -c -o pinentry-emacs.o pinentry-emacs.c
mv -f .deps/pinentry-emacs.Tpo .deps/pinentry-emacs.Po
make[2]: * No rule to make target ../assuan/libassuan.a', needed by pinentry-
emacs'. Stop.
make[1]:
* [all-recursive] Error 1
make: *** [all] Error 2
------------8<----------------------------

I myself don't use emacs, but probably there are some OSX users who'd want pinentry-
emacs.

Jun 23 2015, 8:14 PM · Bug Report, pinentry
chdiza reopened T2020: Delete/backspace does nothing in pinentry 0.9.4 in OSX as "Open".
Jun 23 2015, 8:14 PM · Bug Report, pinentry
dkg added a comment to T2023: pinentry should not prompt for saving in a password manager when secret service is not available.

Looks to me like it just fails silently.

Jun 23 2015, 8:11 PM · Bug Report, pinentry
neal added a comment to T2020: Delete/backspace does nothing in pinentry 0.9.4 in OSX.

chdiza: Thanks for your help! I'm sorry about the confusion. I overlooked your
previous message. I've change pinentry-curses to recognize 0xf7 (127) as
backspace (6ce1d0c curses: Recognize ASCII DEL as backspace.) If this change
didn't fix the issue, please reopen.

Jun 23 2015, 7:59 PM · Bug Report, pinentry
neal closed T2020: Delete/backspace does nothing in pinentry 0.9.4 in OSX as Resolved.
Jun 23 2015, 7:59 PM · Bug Report, pinentry
neal added a comment to T2023: pinentry should not prompt for saving in a password manager when secret service is not available.

Thanks for this report: you are absolutely right, we need to check if the actual
secret service is usable and not only if the library is available.

How exactly does pinentry fail? Does it just silently fail to save the
password? Does it still return the entered password to gpg-agent?

Thanks.

Jun 23 2015, 7:47 PM · Bug Report, pinentry
dkg added projects to T2023: pinentry should not prompt for saving in a password manager when secret service is not available: pinentry, Bug Report.
Jun 23 2015, 7:34 PM · Bug Report, pinentry
chdiza added a comment to T2020: Delete/backspace does nothing in pinentry 0.9.4 in OSX.

Can you still try building with the supplied patch and sending me the scancodes

for delete.

Sorry, I don't understand. I did build with the supplied patch, as I reported below,
and I included the output of /tmp/pinentry-curses-output.txt as instructed.

Jun 23 2015, 5:46 PM · Bug Report, pinentry
neal added a comment to T2020: Delete/backspace does nothing in pinentry 0.9.4 in OSX.

If get back as far as 0.9.1 and the bug is still present, then it wasn't
introduced by recent changes. That's good to know.

Can you still try building with the supplied patch and sending me the scancodes
for delete.

Thanks.

Jun 23 2015, 10:36 AM · Bug Report, pinentry

Jun 22 2015

chdiza added a comment to T2020: Delete/backspace does nothing in pinentry 0.9.4 in OSX.

I attempted to bisect, but when I when back to version 0.8.1, I could not build. I get
stuff I don't understand and don't know how to fix, like:

config.status: error: cannot find input file: `gtk/Makefile.in'

And other stuff that seems related to older checkouts needing different versions of
autoconf/automake. I simply don't have the expertise to deal with that, or the time to
curate multiple versions of autotools. So I can't git bisect.

I did however find that the oldest release version of pinentry that I could build on my
system was 0.7.1, and it also had broken backspace/delete/whatever.

I also tried on OSX 10.5.8, same thing.

I suspect pinentry was always broken on OSX.

Jun 22 2015, 6:50 PM · Bug Report, pinentry
chdiza added a comment to T2020: Delete/backspace does nothing in pinentry 0.9.4 in OSX.

It sounds like you are missing some build dependencies. Perhaps something

related to iconv?

Well, I don't know. I'm not a programmer. I am not missing any deps when I build the
released versions of pinentry. I don't know what's different about the git repo
versions.

I made sure gettext was in my path and tried again, having applied your patch. It
compiled.

I then followed your original instructions. I typed:

onetwo<the-key-called-Delete-on-Mac>

and hit OK.

The contents of pinentry-curses-output.txt was:
6f
6e
65
74
77
6f
7f

Needless to say, "backspacing" still failed.

Jun 22 2015, 6:20 PM · Bug Report, pinentry
neal added a comment to T2020: Delete/backspace does nothing in pinentry 0.9.4 in OSX.

It sounds like you are missing some build dependencies. Perhaps something
related to iconv?

Looking at the keyboard, that appears to be the backspace key. (The last Mac I
used was an Apple 2E in school.) The backspace key works fine for me and I
don't have access to a Mac to debug the issue, so I'm going to need help. It
would be great if you could get pinentry to compile and used git bisect to find
the change that caused the problem (I'm assuming that the bug didn't exist at
some point).

Thanks.

Jun 22 2015, 1:48 PM · Bug Report, pinentry

Jun 20 2015

chdiza added a comment to T2020: Delete/backspace does nothing in pinentry 0.9.4 in OSX.

The delete key never did anything, because the cursor is always at the end of

the line. (Delete deletes the character in front of the cursor.) Perhaps you
mean the backspace key.

I mean the key which has the word "delete" on it, as seen in the gallery here:
https://www.apple.com/keyboard/. It is in the same spot, and is labeled "delete",
on all Mac keyboards, not just the model shown in that gallery. They key in
question is the one that Mac users press to simultaneously back up the cursor and
delete whatever char was in the arrive-at position.

Probably now someone will tell me that the key is improperly labeled by Apple :)

Jun 20 2015, 5:44 PM · Bug Report, pinentry
chdiza added a comment to T2020: Delete/backspace does nothing in pinentry 0.9.4 in OSX.

The delete key never did anything, because the cursor is always at the end of

the line. (Delete deletes the character in front of the cursor.) Perhaps you
mean the backspace key.

I had to clone the git repo first. Once there, I applied the patch and I ran
autogen.sh. I can't get the resulting configure script to work. Both "./configure"
and "./configure --enable-maintainer-mode" result in the following:

---8<-----------------------------------
checking for ncursesw... no
checking for ncurses... no
checking for initscr in -lncursesw... no
checking for initscr in -lncurses... yes
checking for ncurses include dir... none
./configure: line 8466: syntax error near unexpected token `iconv'
./configure: line 8466: ` AC_LIB_LINKFLAGS_BODY(iconv)'
---8<-----------------------------------

Jun 20 2015, 5:41 PM · Bug Report, pinentry
neal added a comment to T2020: Delete/backspace does nothing in pinentry 0.9.4 in OSX.

D313: 647_0001-Add-debuging-output.patch

Jun 20 2015, 9:55 AM · Bug Report, pinentry
neal added a comment to T2020: Delete/backspace does nothing in pinentry 0.9.4 in OSX.

The delete key never did anything, because the cursor is always at the end of
the line. (Delete deletes the character in front of the cursor.) Perhaps you
mean the backspace key.

Please apply the following patch. The run: build-dir/curses/pinentry-curses and
type getpin. You'll be prompted for a pin. Type in some text and then press
"delete". Then please reply to this issue with the exact text that you typed
and the file /tmp/pinentry-curses-output.txt

Thanks.

Jun 20 2015, 9:55 AM · Bug Report, pinentry
chdiza set Version to 0.9.4 on T2020: Delete/backspace does nothing in pinentry 0.9.4 in OSX.
Jun 20 2015, 4:50 AM · Bug Report, pinentry
chdiza added projects to T2020: Delete/backspace does nothing in pinentry 0.9.4 in OSX: pinentry, Bug Report.
Jun 20 2015, 4:50 AM · Bug Report, pinentry

Jun 16 2015

neal added projects to T2013: pinentry-curses / pinentry-tty should emit a bell when showing a dialog: Feature Request, pinentry.
Jun 16 2015, 1:09 PM · pinentry, Feature Request
werner added a comment to T2011: gnupg should notify cancellation of its operation to gpg-agent to kill pinentry.

Just checked:

  /* Reset the pinentry (in case of popup messages). */
  agent_reset_query (ctrl);

Thus the pinentry is only closed if it is used as a simple popup winode (e.g.
"Insert card with serial number xxx") but not for a regular Pinentry.

Jun 16 2015, 9:10 AM · Bug Report, gpgagent
werner added a comment to T2011: gnupg should notify cancellation of its operation to gpg-agent to kill pinentry.

Actually there should be no need for gpg to notigy gpg-agent and thus pinentry
about a Ctrl-C. Due to Ctrl-C the gpg process dies and thus the connection to
gpg-agent receives an EOF/SIGPIPE and gpg-agent will shuot it down. Thus the
connection cleanup handler of gpg-agent needs to kill an open pinentry - I
tought this is already done.

Or is it the case that gpg does not see the Ctrl-C?

Jun 16 2015, 9:07 AM · Bug Report, gpgagent
gniibe added projects to T2011: gnupg should notify cancellation of its operation to gpg-agent to kill pinentry: gpgagent, pinentry, gnupg, Bug Report.
Jun 16 2015, 4:40 AM · Bug Report, gpgagent

Jun 12 2015

neal added a comment to T1992: pinentry in text mode is skewed when using PuTTY and GNU screen.

Hi Brian,

Jun 12 2015, 4:26 PM · Bug Report, Debian, pinentry
bjmgeek added a comment to T1992: pinentry in text mode is skewed when using PuTTY and GNU screen.

Jun 12 2015, 4:26 PM · Bug Report, Debian, pinentry
bjmgeek added a comment to T1992: pinentry in text mode is skewed when using PuTTY and GNU screen.

I tried it in PuTTY without screen and it was not skewed. The line draw
characters looked funny (which I'm assuming is a Unicode thing), but they
were in a rectangle.

Jun 12 2015, 4:26 PM · Bug Report, Debian, pinentry
neal added a comment to T1992: pinentry in text mode is skewed when using PuTTY and GNU screen.

bjmgeek: ping

Jun 12 2015, 3:16 PM · Bug Report, Debian, pinentry
neal added a project to T1391: pinentry-curses does not work when caller does not own the tty (for example, when su'ed): Info Needed.
Jun 12 2015, 3:15 PM · Too Old, Info Needed, Bug Report, pinentry

Jun 5 2015

neal added a comment to T1996: pinentry-gtk-2 returns an empty passphrase string if typed passphrase is longer than 32 chars.

I've now applied the patch.

Jun 5 2015, 5:18 PM · Bug Report, Debian, pinentry
neal closed T1996: pinentry-gtk-2 returns an empty passphrase string if typed passphrase is longer than 32 chars as Resolved.
Jun 5 2015, 5:18 PM · Bug Report, Debian, pinentry
dkg added a comment to T1996: pinentry-gtk-2 returns an empty passphrase string if typed passphrase is longer than 32 chars.

ah, right! the other option is to pass mb->size instead of size in the memset call.

We should really synchronize secmem.c between libgcrypt:src/secmem.c,
pinentry:secmem/secmem.c, and gpg-STABLE-BRANCH-1-4:util/secmem.c :/

Jun 5 2015, 5:46 AM · Bug Report, Debian, pinentry
neal set External Link to https://bugs.debian.org/787690 on T1996: pinentry-gtk-2 returns an empty passphrase string if typed passphrase is longer than 32 chars.
Jun 5 2015, 5:34 AM · Bug Report, Debian, pinentry
neal added a comment to T1996: pinentry-gtk-2 returns an empty passphrase string if typed passphrase is longer than 32 chars.

D305: 627_0001-secmem-When-clearing-memory-don-t-clear-beyond-the-e.patch

Jun 5 2015, 5:32 AM · Bug Report, Debian, pinentry
neal added a comment to T1996: pinentry-gtk-2 returns an empty passphrase string if typed passphrase is longer than 32 chars.

Well, that's embarrassing. It looks like it was my bug. The attached patch
seems to fix the problem.

Jun 5 2015, 5:32 AM · Bug Report, Debian, pinentry
neal added a comment to T1996: pinentry-gtk-2 returns an empty passphrase string if typed passphrase is longer than 32 chars.

I've been debugging this issue for about an hour and I tentatively came to the
same conclusion.

Jun 5 2015, 5:02 AM · Bug Report, Debian, pinentry
dkg added a comment to T1996: pinentry-gtk-2 returns an empty passphrase string if typed passphrase is longer than 32 chars.

OK, something is definitely wrong with the secmem allocators.

I applied this patch:

diff --git a/secmem/secmem.c b/secmem/secmem.c
index 9a478cf..bf97a2a 100644

  • a/secmem/secmem.c

+++ b/secmem/secmem.c
@@ -381,11 +381,16 @@ secmem_realloc( void *p, size_t newsize )

mb = (MEMBLOCK*)((char*)p - ((size_t) &((MEMBLOCK*)0)->u.aligned.c));
size = mb->size;

+ printf("A: %d\n", mb->size);

    if( newsize < size )
	return p; /* it is easier not to shrink the memory */

+ printf("B: %d\n", mb->size);

a = secmem_malloc( newsize );

+ printf("C: %d\n", mb->size);

memcpy(a, p, size);

+ printf("D: %d\n", mb->size);

memset((char*)a+size, 0, newsize-size);

+ printf("E: %d\n", mb->size);

secmem_free(p);
return a;

}

and ran pinentry-gtk-2 with "getpin" as an input and typed in 32 characters for
the dialog box. at character 16, it printed:

A: 32
B: 32
C: 32
D: 32
E: 32

and at character 32 it printed:

A: 0
B: 0
C: 0
D: 0
E: 0

I'm beginning to suspect that this allocator never worked quite right, and that
1d3583a2562e83496ac515276e9bd63a7f1abbc7 just exposes a flaw in the addressing.

Jun 5 2015, 4:56 AM · Bug Report, Debian, pinentry
dkg assigned T1996: pinentry-gtk-2 returns an empty passphrase string if typed passphrase is longer than 32 chars to neal.
Jun 5 2015, 4:11 AM · Bug Report, Debian, pinentry
dkg updated subscribers of T1996: pinentry-gtk-2 returns an empty passphrase string if typed passphrase is longer than 32 chars.
Jun 5 2015, 4:11 AM · Bug Report, Debian, pinentry
dkg added a comment to T1996: pinentry-gtk-2 returns an empty passphrase string if typed passphrase is longer than 32 chars.

Tracking this down further, it appears to be caused by
1d3583a2562e83496ac515276e9bd63a7f1abbc7.

If i revert that commit, the problem goes away.

This makes me think something is wrong with secmem_realloc or secmem_malloc.

Jun 5 2015, 3:35 AM · Bug Report, Debian, pinentry
dkg added projects to T1996: pinentry-gtk-2 returns an empty passphrase string if typed passphrase is longer than 32 chars: pinentry, Debian, Bug Report.
Jun 5 2015, 2:05 AM · Bug Report, Debian, pinentry
dkg set Version to 0.9.3 on T1996: pinentry-gtk-2 returns an empty passphrase string if typed passphrase is longer than 32 chars.
Jun 5 2015, 2:05 AM · Bug Report, Debian, pinentry

Jun 4 2015

bjmgeek added a comment to T1992: pinentry in text mode is skewed when using PuTTY and GNU screen.

Jun 4 2015, 6:41 PM · Bug Report, Debian, pinentry
bjmgeek added a comment to T1992: pinentry in text mode is skewed when using PuTTY and GNU screen.

OK, I'll try that too.

Jun 4 2015, 6:41 PM · Bug Report, Debian, pinentry
bjmgeek added a comment to T1992: pinentry in text mode is skewed when using PuTTY and GNU screen.

Jun 4 2015, 6:27 PM · Bug Report, Debian, pinentry
bjmgeek added a comment to T1992: pinentry in text mode is skewed when using PuTTY and GNU screen.

I will try this afternoon.

Jun 4 2015, 6:27 PM · Bug Report, Debian, pinentry
neal added a comment to T1992: pinentry in text mode is skewed when using PuTTY and GNU screen.

Also, see if you can reproduce the problem without screen. Thanks.

Jun 4 2015, 6:08 PM · Bug Report, Debian, pinentry
neal added a comment to T1992: pinentry in text mode is skewed when using PuTTY and GNU screen.

I tried your screen configuration and I couldn't reproduce the problem.

Perhaps putty is configuring something differently. Can you reproduce the
problem when putty is not used (e.g., directly on the console or ssh'ing from a
GNU/Linux box)?

Jun 4 2015, 5:56 PM · Bug Report, Debian, pinentry

Jun 3 2015

bjmgeek added a comment to T1992: pinentry in text mode is skewed when using PuTTY and GNU screen.

Jun 3 2015, 7:10 AM · Bug Report, Debian, pinentry
bjmgeek added a comment to T1992: pinentry in text mode is skewed when using PuTTY and GNU screen.

On Tue, Jun 2, 2015, 11:19 PM Neal Walfield via BTS <gnupg@bugs.g10code.com>
wrote:

Jun 3 2015, 7:10 AM · Bug Report, Debian, pinentry
bjmgeek added a comment to T1992: pinentry in text mode is skewed when using PuTTY and GNU screen.

Jun 3 2015, 6:04 AM · Bug Report, Debian, pinentry
bjmgeek added a comment to T1992: pinentry in text mode is skewed when using PuTTY and GNU screen.

Here is my .screenrc

#change the hardstatus settings to give
an window list at the bottom of the
#screen, with the time and date and with
the current window highlighted
hardstatus alwayslastline
hardstatus string '%{= bK}%-Lw%{=
KW}%50>%n%f* %t%{= bK}%+Lw%< %{= kG}%-=%D
%d %M %Y %c:%s%{+b y} %H %l'

deflogin on
shell /usr/bin/bash
vbell on

Jun 3 2015, 5:59 AM · Bug Report, Debian, pinentry
neal added a comment to T1992: pinentry in text mode is skewed when using PuTTY and GNU screen.

Thanks for your quick reply. I meant: what program were you running on your
Debian box in screen? I doubt you directly called pinentry. Were you running
mutt? Were you running gpg?

Thanks.

Jun 3 2015, 5:19 AM · Bug Report, Debian, pinentry
bjmgeek added a comment to T1992: pinentry in text mode is skewed when using PuTTY and GNU screen.

Jun 3 2015, 12:56 AM · Bug Report, Debian, pinentry
bjmgeek added a comment to T1992: pinentry in text mode is skewed when using PuTTY and GNU screen.

I was using PuTTY 6.4 on Windows 7 64 bit.

Jun 3 2015, 12:56 AM · Bug Report, Debian, pinentry

Jun 1 2015

neal closed T1981: pinentry-qt4 shows up behind some windows as Resolved.
Jun 1 2015, 5:05 PM · Bug Report, pinentry
neal added a comment to T1981: pinentry-qt4 shows up behind some windows.

dkg: Thanks for pointing that out. I need to fix my git config on this machine.

Jun 1 2015, 5:05 PM · Bug Report, pinentry
neal added a comment to T1992: pinentry in text mode is skewed when using PuTTY and GNU screen.

Jun 1 2015, 5:03 PM · Bug Report, Debian, pinentry
neal added a comment to T1992: pinentry in text mode is skewed when using PuTTY and GNU screen.

I just tried running pinentry-curses under screen on debian in an
xfce4-terminal. (You can run it directly from the command line by running
pinentry-curses and then typing 'getpin'.) I wasn't able to reproduce what I
saw in your screenshot. Also, I saw the proper symbolic characters to paint the
widget's borders (see screenshot).

I've make some changes to pinentry-curses recently. Perhaps you can try that
version (git). If you get the same results, does hitting control-L correctly
repaint the screen?

What program were you running? Perhaps it messed with the terminal settings.

Jun 1 2015, 5:03 PM · Bug Report, Debian, pinentry
dkg reopened T1981: pinentry-qt4 shows up behind some windows as "Open".
Jun 1 2015, 1:06 AM · Bug Report, pinentry
dkg added a comment to T1981: pinentry-qt4 shows up behind some windows.

thanks, neal. I see this committed as eab03a469d82018e53380f26390594f47bb4c5c8,
with a committer of "us <us@chu.huenfield.org>" -- since huenfield.org is
registered to you, i assume that's you? I'm used to seeing your commits as
coming from "Neal H. Walfield <neal@gnu.org>"

Jun 1 2015, 1:06 AM · Bug Report, pinentry

May 31 2015

neal added a comment to T1981: pinentry-qt4 shows up behind some windows.

After chatting with Werner, we decided to apply the patch. If Andre has any
objections, he is still welcome to voice them.

May 31 2015, 8:15 PM · Bug Report, pinentry
neal closed T1981: pinentry-qt4 shows up behind some windows as Resolved.
May 31 2015, 8:15 PM · Bug Report, pinentry
neal updated subscribers of T1981: pinentry-qt4 shows up behind some windows.
May 31 2015, 3:41 PM · Bug Report, pinentry
neal added a comment to T1981: pinentry-qt4 shows up behind some windows.

I don't know much about Qt / KDE so I have a difficult time evaluating this
patch. However, given that this problem has persisted for a long time (since
2010); that Fedora has been distributing this patch; and that Felix still sees
this problem without the patch, but doesn't see it with the patch, I'm inclined
to apply it.

I've added Andre to the nosy list. He has much more experience with Qt and KDE
than I do. If he also thinks it is reasonable to apply the patch, then I'll
apply it.

P.S. Feel free to add me to any bug that you think I could help on.

May 31 2015, 3:41 PM · Bug Report, pinentry
dkg updated subscribers of T1981: pinentry-qt4 shows up behind some windows.
May 31 2015, 5:14 AM · Bug Report, pinentry
dkg assigned T1981: pinentry-qt4 shows up behind some windows to neal.
May 31 2015, 5:14 AM · Bug Report, pinentry
dkg added a comment to T1981: pinentry-qt4 shows up behind some windows.

on the debian bug report, Felix Geyer notes:

This issue is still present.
Tested on current Debian unstable [0.9.2-1] with KDE4 and Ubuntu 15.04 with

KDE Plasma 5.

The patch from the Fedora package fixes the problem.

I note that this isn't yet applied upstream as of
55ea554b2020b1e7b0996bd9f7bb38c8af2b03f3 -- maybe this can be considered before
the next release?

(neal, i'm adding you to the "nosy list" here and assigning this ticket to you,
because of all your work on pinentry lately. I hope that's not overstepping any
boundaries! please let me know if you'd rather i didn't do that directly)

May 31 2015, 5:14 AM · Bug Report, pinentry

May 22 2015

werner added a comment to T1777: pinentry-gtk-2 refuses input when GTK_IM_MODULE=scim.

We implemented support for the GTK_IM_MODULE ebvar before 2007 thus I think this
is more likely a regression. In fact I recall that Marcus once showed me a
problem with his SCIM installation while using Pinentry.

May 22 2015, 3:08 PM · Bug Report, pinentry
werner removed Version on T1991: pinentry-w32 needs to adjust button sizes.
May 22 2015, 3:01 PM · pinentry, Won't Fix, Feature Request, Not A Bug
werner added a comment to T1991: pinentry-w32 needs to adjust button sizes.

Oh well, resizing the buttons to a new fixed size would be a job in the source
of 10 minutes or so. However, this makes an very ugly Pinentry for every day's
use (i.e. entering a passphrase for an existing key). So, sorry, I won't take
that patch.

With native Windows code I mean native Windows code for GUIs instead of relying
on MFC or whatever is the latest GUI framework MS uses. This is similar to xlib
programm vs. GTK+ programming

Anyway, thanks for looking into this. I will retitle the bug to keep it open.
Maybe eventually someone starts to hack on it.

May 22 2015, 3:01 PM · pinentry, Won't Fix, Feature Request, Not A Bug
werner added projects to T1991: pinentry-w32 needs to adjust button sizes: Feature Request, pinentry.
May 22 2015, 3:01 PM · pinentry, Won't Fix, Feature Request, Not A Bug

May 21 2015

bjmgeek added projects to T1992: pinentry in text mode is skewed when using PuTTY and GNU screen: pinentry, Debian, Bug Report.
May 21 2015, 11:00 PM · Bug Report, Debian, pinentry
bjmgeek set Version to 0.9.0 on T1992: pinentry in text mode is skewed when using PuTTY and GNU screen.
May 21 2015, 11:00 PM · Bug Report, Debian, pinentry

May 19 2015

dkg added a comment to T1777: pinentry-gtk-2 refuses input when GTK_IM_MODULE=scim.

So what should we do about this? Do we need to keep gtksecentry.* in sync with
upstream's gtkentry somehow?

May 19 2015, 8:22 PM · Bug Report, pinentry

May 18 2015

neal closed T1957: pinentry-curses: no escape codes? as Resolved.
May 18 2015, 10:53 PM · Bug Report, pinentry
neal added a comment to T1957: pinentry-curses: no escape codes?.

I also added support for control-h (backspace) and control-l.

May 18 2015, 10:53 PM · Bug Report, pinentry
ilf added a comment to T1957: pinentry-curses: no escape codes?.

Thanks!
http://git.gnupg.org/cgi-bin/gitweb.cgi?p=pinentry.git;a=blobdiff;f=pinentry/pinentry-curses.c;h=183fdb4f3ddef8535a8890178a610ac56a8880ae;hp=e7220094fce3375ddfefbe7353a36c998d406ef5;hb=d3c52a144b5b23d0d841a99a310090dcafe2074b;hpb=1d3583a2562e83496ac515276e9bd63a7f1abbc7

I don't have a definite authoritative list of escape codes, but those seem to be
the most common ones with use cases in pinentry.

May 18 2015, 6:08 PM · Bug Report, pinentry
werner added a comment to T1990: More gseal/gtk3 compatibility in the gtk+3 UI.

It uses GTK features not availabale on my version. With some replacement macros
you should be abale to aplly it anyway.

May 18 2015, 12:21 PM · Bug Report, pinentry
neal added projects to T1990: More gseal/gtk3 compatibility in the gtk+3 UI: pinentry, Bug Report.
May 18 2015, 11:56 AM · Bug Report, pinentry
neal added a comment to T1777: pinentry-gtk-2 refuses input when GTK_IM_MODULE=scim.

D271: 610_0001-Using-a-simple-GtkEntry-instead-of-our-custom-implem.patch

May 18 2015, 11:33 AM · Bug Report, pinentry
neal added a comment to T1777: pinentry-gtk-2 refuses input when GTK_IM_MODULE=scim.

If I disable the secure entry widget (see patch) and start pinentry as follows:

  GTK_IM_MODULE=scim gtk+-2/pinentry-gtk-2

then I'm able to enter text in the same way as with gedit.

This means that the problem is not due to grabing the keyboard, but most likely
due to our secure entry widget. Note: the secure entry widget is based on a
2004 copy of GtkEntry so it's not surprising that it doesn't support some modern
features.

May 18 2015, 11:33 AM · Bug Report, pinentry
neal added a comment to T1494: pinentry to support 'ncurses --with-termlib'.

I tested your pkg-config patch on Debian Jessie and everything still compiles
fine. I've applied the pkg-config patch. If gentoo is now using a newer
version of this patch, please let me know. Thanks.

May 18 2015, 10:00 AM · Feature Request, Gentoo, pinentry
neal closed T1494: pinentry to support 'ncurses --with-termlib' as Resolved.
May 18 2015, 10:00 AM · Feature Request, Gentoo, pinentry

May 16 2015

neal added a comment to T1391: pinentry-curses does not work when caller does not own the tty (for example, when su'ed).

I'm having trouble reproducing this issue. When I su, root doesn't suddenly own
the terminal:

  $ su -
  Password: 
  # ls -l $(tty)
  crw------- 1 neal tty 136, 4 May 16 22:52 /dev/pts/4
  #

Can you provide a minimal example that illustrates the problem? Thanks. I
realize this issue is very old.

May 16 2015, 10:54 PM · Too Old, Info Needed, Bug Report, pinentry
neal added a comment to T1982: pinentry-qt should fallback to curses if $DISPLAY is set but unavailable.

Fixed in edd9a88.

May 16 2015, 10:51 PM · pinentry, Feature Request
neal closed T1982: pinentry-qt should fallback to curses if $DISPLAY is set but unavailable as Resolved.
May 16 2015, 10:51 PM · pinentry, Feature Request
neal added a comment to T1957: pinentry-curses: no escape codes?.

I added support for control-u, control-w and alt-backspace in d3c52a1. Do you
think there are any other useful escape codes?

May 16 2015, 10:35 PM · Bug Report, pinentry
neal added a comment to T1777: pinentry-gtk-2 refuses input when GTK_IM_MODULE=scim.

This might also be due to our custom secure entry widget. See this bug report:

T1239

May 16 2015, 7:08 PM · Bug Report, pinentry
neal added a comment to T1777: pinentry-gtk-2 refuses input when GTK_IM_MODULE=scim.

Thanks for the great minimal working example.

I tried to reproduce this and I could.

However, when I run

  GTK_IM_MODULE=scim gedit

I can't enter any text either. I have to activate scim by pressing it's hotkey
(control-space). Then I can type as usual. pinentry grabs the keyboard to
prevent other applications from snooping the password. I guess this is
inhibiting scim/scim bridge from accessing the keyboard input.

May 16 2015, 6:57 PM · Bug Report, pinentry
neal added a comment to T1453: pinentry-gtk2: ESC not handled.

This works for me with Werner's patch. Closing.

May 16 2015, 6:41 PM · Bug Report, pinentry
neal closed T1453: pinentry-gtk2: ESC not handled as Resolved.
May 16 2015, 6:41 PM · Bug Report, pinentry
neal removed a project from T1453: pinentry-gtk2: ESC not handled: Restricted Project.
May 16 2015, 6:41 PM · Bug Report, pinentry
neal closed T1988: pinentry-gtk-2 timeout misbehaves across multiple GETPINs as Resolved.
May 16 2015, 6:39 PM · Bug Report, pinentry
neal added a comment to T1988: pinentry-gtk-2 timeout misbehaves across multiple GETPINs.

Fixed in 88772dd.

May 16 2015, 6:39 PM · Bug Report, pinentry
neal closed T1966: pinentry-tty not internationalized as Resolved.
May 16 2015, 5:57 PM · Bug Report, pinentry
neal added a comment to T1966: pinentry-tty not internationalized.

I've revamped pinentry-tty. Instead of displaying y/n, it now uses the first
accelerator or, if there are none, the first alpha numeric character for each
button.

May 16 2015, 5:57 PM · Bug Report, pinentry
ilf added a comment to T1957: pinentry-curses: no escape codes?.

Ctrl+W might not be as useful as Ctrl+U, but I think on Unix that's standard
behavior that can be expected. cryptsetup of LUKS knows it, too.

May 16 2015, 5:06 PM · Bug Report, pinentry