Page MenuHome GnuPG
Feed Advanced Search

Jun 12 2015

neal assigned T2009: max-cache-ttl appears to be ignored if default-cache-ttl is unset to werner.
Jun 12 2015, 11:35 PM · Bug Report, gnupg
neal set Version to 2.1 on T2009: max-cache-ttl appears to be ignored if default-cache-ttl is unset.
Jun 12 2015, 11:35 PM · Bug Report, gnupg
neal added projects to T2009: max-cache-ttl appears to be ignored if default-cache-ttl is unset: gnupg, Bug Report.
Jun 12 2015, 11:35 PM · Bug Report, gnupg
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
neal added a comment to T1825: Add a re-encrypt to additional key.

Does encrypt-to/hidden-encrypt-to in gpg.conf do this?

Jun 12 2015, 4:12 PM · Restricted Project, gnupg24, Feature Request
neal added a comment to T1878: wipememory relies upon volatile qualifier.

FWIW, I believe I saw this bug while debugging pinentry-curses. I committed
1d3583a2562e83496ac515276e9bd63a7f1abbc7 to pinentry to work around this.

Jun 12 2015, 4:07 PM · Info Needed, Bug Report
neal added a comment to T1945: pin entry prompt should include more structured metadata.

This feature has landed in the latest 2.0 and 2.1 branches and support has been
added in pinentry. I'm closing this now.

Jun 12 2015, 4:03 PM · Feature Request, gnupg
neal removed a project from T1945: pin entry prompt should include more structured metadata: Restricted Project.
Jun 12 2015, 4:03 PM · Feature Request, gnupg
neal closed T1945: pin entry prompt should include more structured metadata as Resolved.
Jun 12 2015, 4:03 PM · Feature Request, gnupg
neal added a comment to T1951: gpg-agent needs an API to verify a passphrase.

Hi dkg,

On the mailing list and in T1928, we discussed
why it shouldn't be possible for a program to pass the passphrase to gpg agent.
This feature request is at odds with the conclusion drawn there. Should this
issue be closed as WONTFIX?

Thanks,

:) Neal

Jun 12 2015, 4:01 PM · gnupg, gpgagent, Feature Request
neal added a comment to T1954: Password too long.

Hi, thomai,

Please run something like the following:

  echo | gpg2 --sign

Does gpg2 complain the the connection to gpg agent was hijacked? If so, please
disable GNOME Keyring and try to reproduce the problem.

If the problem continues to exist, can you tell me approximately how long your
password is?

Thanks,

Neal

Jun 12 2015, 3:56 PM · Info Needed, gnupg (gpg20), Bug Report, gnupg
neal added a comment to T2002: My God, it's full of bugs.

Werner: Can you provide a bit more context? What exactly is full of bugs?

Jun 12 2015, 3:25 PM
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 updated subscribers of T2001: gpg-agent isn't used for getting password with --gen-key.
Jun 5 2015, 7:55 PM · Bug Report, gnupg
neal added projects to T2001: gpg-agent isn't used for getting password with --gen-key: gnupg, Bug Report.
Jun 5 2015, 7:55 PM · Bug Report, gnupg
neal added a comment to T1928: regression --passphrase-file ignored in gnupg 2.1.2.

In another message (<874mnnlqxn.fsf@alice.fifthhorseman.net>) DKG notes that we
shouldn't allow loopback mode or preseeding to prevent passphrase-guessing attacks.

Jun 5 2015, 7:52 PM · Bug Report, gnupg, Arch
neal updated subscribers of T1999: gpg --check-trustdb returns data on stdout when --verbose --verbose is present?.
Jun 5 2015, 6:45 PM · gnupg (gpg14), backport, Bug Report, gnupg
neal added projects to T1999: gpg --check-trustdb returns data on stdout when --verbose --verbose is present?: gnupg, Bug Report.
Jun 5 2015, 6:45 PM · gnupg (gpg14), backport, Bug Report, gnupg
neal added a comment to T1928: regression --passphrase-file ignored in gnupg 2.1.2.

As DKG noted on the mailing list, we --batch shouldn't imply
--pinentry-mode=loop. He provides the example of a graphical tool that fills in
many of the fields when generating a key, but should not have to worry about
securely managing the password.

This suggests that if a password is somehow provided on the command line, we
should prime (i.e., preset) gpg agent so that it doesn't request a password.

Jun 5 2015, 6:22 PM · Bug Report, gnupg, Arch
neal added projects to T1998: Can't use extended characters in passphrase: gnupg, Bug Report.
Jun 5 2015, 6:05 PM · pinentry, Not A Bug, Bug Report, gnupg
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
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

Jun 4 2015

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

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

Jun 1 2015

neal updated subscribers of T1976: loopback pinentry mode asks passphrase twice on symmetric encryption.
Jun 1 2015, 8:38 PM · Bug Report, gnupg
neal added a comment to T1976: loopback pinentry mode asks passphrase twice on symmetric encryption.

opt.passphrase_repeat defaults to 1 (g10/gpg.c:2152).

I see two solutions:

  • If we are in symmetric mode, then we set opt.passphrase_repeat to 0.
  • We introduce a new mode in passphrase_to_dek_ext: create new key, but don't

prompt the user to confirm the password.

The former is acceptable if we never need to repeat the passphrase for
operations on symmetric keys, which I think is the case. I've attached a patch
that implements this behavior.

Jun 1 2015, 8:38 PM · Bug Report, gnupg
neal added a comment to T1976: loopback pinentry mode asks passphrase twice on symmetric encryption.

D301: 621_0001-Don-t-prompt-for-the-password-multiple-times-in-symm.patch

Jun 1 2015, 8:38 PM · Bug Report, gnupg
neal added a comment to T1976: loopback pinentry mode asks passphrase twice on symmetric encryption.

Some initial findings:

gpg2 calls gpg-agent as follows:

  GET_PASSPHRASE --data --repeat=1 -- S5E0584FFBBEA6E79 X X Enter+passphrase%0A"

So the problem is with gpg2.

Here's the backtrace in gpg2:

#0 agent_get_passphrase at ../../../gnupg/g10/call-agent.c:1376
#1 passphrase_get at ../../../gnupg/g10/passphrase.c:312
#2 passphrase_to_dek_ext at ../../../gnupg/g10/passphrase.c:537
#3 passphrase_to_dek at ../../../gnupg/g10/passphrase.c:594
#4 encrypt_simple at ../../../gnupg/g10/encrypt.c:217
#5 encrypt_symmetric at ../../../gnupg/g10/encrypt.c:53
#6 main 0x000000000040cbc5 in

passphrase_to_dek_ext calls passphrase_get and passes it the repeat
mode, which it reads from opt.passphrase_repeat.

Jun 1 2015, 6:37 PM · Bug Report, gnupg
neal added projects to T1994: gpg2 --pinentry-mode=loopback without allow-loopback-pinentry: gnupg, Bug Report.
Jun 1 2015, 5:43 PM · Bug Report, gnupg
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

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

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
neal added a comment to T1990: More gseal/gtk3 compatibility in the gtk+3 UI.

May 18 2015, 11:56 AM · 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
neal added a comment to T1957: pinentry-curses: no escape codes?.

I wonder how useful this is. When entering your password, you can't see it.
Thus, if you make a mistake are you really able to recover by deleting the last
word? I don't think I could. If werner still thinks it is a good idea, I'll
implement it, but I think it is a waste of time.

May 16 2015, 4:32 PM · Bug Report, pinentry
neal closed T1984: pinentry curses fallback mode pegs CPU to 100% if TTY disappears as Resolved.
May 16 2015, 4:28 PM · Bug Report, pinentry
neal added a comment to T1984: pinentry curses fallback mode pegs CPU to 100% if TTY disappears.

The patch seems reasonable. Applied.

May 16 2015, 4:28 PM · Bug Report, pinentry
neal removed a project from T1949: git head compilation without ldap fails: Restricted Project.
May 16 2015, 4:17 PM · dirmngr, Bug Report
neal closed T1949: git head compilation without ldap fails as Resolved.
May 16 2015, 4:17 PM · dirmngr, Bug Report
neal added a project to T1949: git head compilation without ldap fails: dirmngr.
May 16 2015, 4:17 PM · dirmngr, Bug Report

May 7 2015

neal added projects to T1972: gpg --search-keys doesn't indicate that results are truncated: dirmngr, Bug Report.
May 7 2015, 3:02 PM · Bug Report, dirmngr, gnupg
neal set Version to git on T1971: LDAP: --refresh-keys is not implemented.
May 7 2015, 3:00 PM · Bug Report, gnupg, dirmngr
neal added projects to T1971: LDAP: --refresh-keys is not implemented: dirmngr, Bug Report.
May 7 2015, 3:00 PM · Bug Report, gnupg, dirmngr

May 2 2015

neal added a comment to T1965: Can't correct password using pinentry tty.

Fixed in:

commit 189ab07e94dc2d4103c1edf00e15e0156df89297
Author: Neal H. Walfield <neal@gnu.org>
Date: Fri May 1 20:35:59 2015 +0200

When reading the pin, correctly handle backspace.

* tty/pinentry-tty.c (read_password): Handle backspace.

--
May 2 2015, 9:47 PM · Bug Report, pinentry
neal closed T1965: Can't correct password using pinentry tty as Resolved.
May 2 2015, 9:47 PM · Bug Report, pinentry

May 1 2015

neal added a comment to T1966: pinentry-tty not internationalized.

I think this needs to be a bit clearer:

In pinentry-tty.c:confirm, only the "ok" button's text is shown and it is
suffixed by a fixed string: "[y/N]", which should be internationalized.

May 1 2015, 8:30 PM · Bug Report, pinentry
neal added projects to T1966: pinentry-tty not internationalized: pinentry, Bug Report.
May 1 2015, 4:53 PM · Bug Report, pinentry
neal added projects to T1965: Can't correct password using pinentry tty: pinentry, Bug Report.
May 1 2015, 4:34 PM · Bug Report, pinentry

Apr 18 2015

neal set Version to 9d2d8b6bfaf2d5b07e7fb5be7188516e4158ed98 on T1953: pinentry doesn't compile.
Apr 18 2015, 12:56 PM · Bug Report, pinentry
neal added projects to T1953: pinentry doesn't compile: pinentry, Bug Report.
Apr 18 2015, 12:56 PM · Bug Report, pinentry

Apr 13 2015

neal added a project to T1949: git head compilation without ldap fails: Restricted Project.
Apr 13 2015, 12:04 PM · dirmngr, Bug Report
neal added a comment to T1949: git head compilation without ldap fails.

This should be fixed in 5cde5bf. I tested building with LDAP and without. I
also ran some basic queries in the LDAP case and everything seemed ok. If I
don't hear about any further issues, I'll close this in the next few days.

Apr 13 2015, 12:04 PM · dirmngr, Bug Report
neal added a comment to T1949: git head compilation without ldap fails.

LDAP has not been made a hard requirement; this is a bug.

Apr 13 2015, 10:34 AM · dirmngr, Bug Report

Apr 10 2015

neal reopened T1656: Warning message when using gpg (The GNOME keyring manager hijacked the GnuPG agent) as "Open".
Apr 10 2015, 2:27 PM · Not A Bug, Bug Report
neal added a comment to T1656: Warning message when using gpg (The GNOME keyring manager hijacked the GnuPG agent).

Note: for more information about this issue, please refer to:

  T1945

  https://wiki.gnupg.org/GnomeKeyring

(I've added this here, since this page is one of the top hits on ddg and google
when searching for the warning message.)

Apr 10 2015, 2:27 PM · Not A Bug, Bug Report

Apr 9 2015

neal added projects to T1945: pin entry prompt should include more structured metadata: gnupg, Bug Report.
Apr 9 2015, 11:23 AM · gnupg, Feature Request

Apr 7 2015

neal added projects to T1943: gpg2 --gen-key: X years computation ignores leap years: gnupg, Bug Report.
Apr 7 2015, 10:39 AM · Documentation, Bug Report, gnupg
neal added projects to T1942: gpg2 --delete-key output confusing with stubbed secret keys: gnupg, Bug Report.
Apr 7 2015, 10:29 AM · Bug Report, gnupg

Mar 28 2015

neal closed T1933: keyserver command line argument ignored if present in gpg.conf as Resolved.
Mar 28 2015, 5:03 PM · Bug Report, gnupg, dirmngr
neal added a comment to T1933: keyserver command line argument ignored if present in gpg.conf.

This was a change in behavior in 2.1 (relative to 2.0 / 1.4) in which instead of
taking the last specified key server, all key servers were used. I've now
reverted this in f26ba14028d34845ae10aae552b90681907e377d.

Mar 28 2015, 5:03 PM · Bug Report, gnupg, dirmngr