Page MenuHome GnuPG
Feed Advanced Search

Feb 6 2017

dkg added projects to T2943: gpg should issue a warning when it is run without a command: gnupg, Bug Report.
Feb 6 2017, 6:49 PM · Bug Report, gnupg
dkg added projects to T2942: gpg needs to offer a way to list OpenPGP packets without consuming them: gnupg, Bug Report.
Feb 6 2017, 6:38 PM · Bug Report, gnupg
dkg set Version to 2.1.18 on T2942: gpg needs to offer a way to list OpenPGP packets without consuming them.
Feb 6 2017, 6:38 PM · Bug Report, gnupg

Feb 5 2017

dkg added projects to T2941: outbound file descriptors (status-fd, attribute-fd, logger-fd) should fail if descriptors is not initially open: gnupg, Bug Report.
Feb 5 2017, 9:17 PM · Bug Report, gnupg
dkg added projects to T2940: dirmngr fails for hkps when http-proxy is in use: dirmngr, gnupg, Bug Report, Debian.
Feb 5 2017, 9:35 AM · Feature Request, gnupg (gpg22), Debian, gnupg, dirmngr
dkg changed External Link from 846175@bugs.debian.org to https://bugs.debian.org/846175 on T2856: Can't ssh-add a key w/o a passphrase.
Feb 5 2017, 9:18 AM · Debian, Bug Report, gnupg, ssh
dkg added a comment to T2856: Can't ssh-add a key w/o a passphrase.

Any thoughts or progress on this?

Feb 5 2017, 9:18 AM · Debian, Bug Report, gnupg, ssh
shuffle2 added a comment to T2939: Should not be required to manually `killagent` on card removal.

By the way, I've noticed that communication with the card will only be broken
upon reinsertion if some software has attempted to access the card while it is
detached.
In other words:
access card -> remove -> insert -> access card
is fine.
access card -> remove -> access card -> insert -> access card
will cause all accesses to fail after insertion until gpg-agent is killed (and
restarted obviously).

Feb 5 2017, 12:34 AM · gnupg (gpg20), Bug Report, gnupg
shuffle2 added projects to T2939: Should not be required to manually `killagent` on card removal: gnupg, Bug Report.
Feb 5 2017, 12:31 AM · gnupg (gpg20), Bug Report, gnupg
shuffle2 added projects to T2938: scd-event is annoying to use on Windows: gnupg, Bug Report.
Feb 5 2017, 12:25 AM · Windows 32, scd, Windows, Bug Report, gnupg

Feb 4 2017

richie765 set Version to 2.0 on T2937: Please update tools/gpg-zip.in for 2.0 branch.
Feb 4 2017, 3:25 PM · Bug Report, gnupg
richie765 added projects to T2937: Please update tools/gpg-zip.in for 2.0 branch: gnupg, Bug Report.
Feb 4 2017, 3:25 PM · Bug Report, gnupg
jukivili closed T2292: cipher/crc-intel-pclmul.c: load of misaligned address as Resolved.
Feb 4 2017, 12:57 PM · Not A Bug, Bug Report, Assembler, libgcrypt
dkg added a comment to T2932: gpgv error messages are confusing.

the reason "no public key" is confusing is because gpgv already knows that there
can be no public key. So the message that the naive user needs to see in this
case is "no keyring available".

If there is at least one keyring available, then saying something like "no
public key found in keyrings X and Y and Z" is reasonable. but if there are no
keyrings at all, the message should just be something like "no keyring found to
validate signature against".

Feb 4 2017, 8:01 AM · Bug Report, gnupg, gpgv

Feb 3 2017

alonbl added a comment to T2049: conflicting pkg-config detection and initialization.

Hi,

I can still see that qt[1] is using the simplified pkg macros[2], while the
configure.ac is using proprietary method[3].

We are still missing PKG_PROG_PKG_CONFIG macro in configure.ac to make pkg
macros happy, this can remove all AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
executions, see pinentry-0.9.5-build.patch, as you have PKG_CONFIG set.

The other changes to use PKG_CHECK_MODULES are optional but is there any reason
why not to use this macro instead of executing the pkg-config manually? This
macro has the advantage of allowing override via environment, and append proper
help.

If you like I can rebase this old patch set.

[1] http://git.gnupg.org/cgi-bin/gitweb.cgi?p=pinentry.git;a=blob;f=m4/qt.m4;hb=HEAD
[2]
http://git.gnupg.org/cgi-bin/gitweb.cgi?p=pinentry.git;a=blob;f=m4/pkg.m4;hb=HEAD
[3]
http:
//git.gnupg.org/cgi-bin/gitweb.cgi?p=pinentry.git;a=blob;f=configure.ac;hb=HEAD#l431

links removed as I got "Edit Error: not allowed (too many links).

Feb 3 2017, 1:50 PM · Gentoo, Bug Report, pinentry
werner added a comment to T2444: Pinentry Does not pass getpin to console.

Is that the gnome3 pinentry? if so please try the gtk-2 pinentry to see whether
it is the same problem.

Feb 3 2017, 12:56 PM · Bug Report, pinentry
werner added a project to T2249: Pinetry field "enter passphrase" won't let me paste in: Feature Request.
Feb 3 2017, 12:53 PM · Feature Request, Info Needed, pinentry
werner lowered the priority of T2249: Pinetry field "enter passphrase" won't let me paste in from Normal to Wishlist.
Feb 3 2017, 12:53 PM · Feature Request, Info Needed, pinentry
werner added a project to T1836: gpg-agent --no-detach breaks pinentry-curses, pinentry-tty: Too Old.
Feb 3 2017, 12:44 PM · Too Old, Info Needed, Bug Report, pinentry
werner closed T1836: gpg-agent --no-detach breaks pinentry-curses, pinentry-tty as Resolved.
Feb 3 2017, 12:44 PM · Too Old, Info Needed, Bug Report, pinentry
werner updated subscribers of T2049: conflicting pkg-config detection and initialization.
Feb 3 2017, 12:41 PM · Gentoo, Bug Report, pinentry
werner reassigned T2049: conflicting pkg-config detection and initialization from werner to gnupg-hackers.
Feb 3 2017, 12:41 PM · Gentoo, Bug Report, pinentry
werner added a comment to T2049: conflicting pkg-config detection and initialization.

Someone please check whether this is still the case and come up with a fix?

Feb 3 2017, 12:41 PM · Gentoo, Bug Report, pinentry
werner closed T1391: pinentry-curses does not work when caller does not own the tty (for example, when su'ed) as Resolved.
Feb 3 2017, 12:39 PM · Too Old, Info Needed, Bug Report, pinentry
werner added a project to T1391: pinentry-curses does not work when caller does not own the tty (for example, when su'ed): Too Old.
Feb 3 2017, 12:39 PM · Too Old, Info Needed, Bug Report, pinentry
werner added a comment to T2739: pinentry can't access GPG_TTY after su/sudo to another user on GNU/Linux.

The Debian report is waiting since October for a reply from the orig. submitter.

Feb 3 2017, 12:37 PM · Bug Report, Debian, pinentry
werner added a project to T2874: sefgfault with gpgsm --sign: gnupg.
Feb 3 2017, 12:31 PM · gnupg, Bug Report, Debian
amonk added a comment to T2936: pubring.kbx to pubring.kbx~.

That doesn't seem all that large in the modern era, but okay. In any
case, after moving it to the backup file, don't the same number of bytes
need to be written into the new file anyway? And, regardless, how can
something be done to facilitate pubring.kbx sometimes being a symlink then?
Perhaps an option so the choice of move vs. copy can be left to the user?

--Kyle

Feb 3 2017, 6:22 AM · Bug Report, gnupg

Feb 2 2017

grempe added a comment to T2853: Signature Verification returning 'gpg: DBG: tofu.c:2772: strtoul failed for DB returned string (tail=): Invalid argument'.

I'm curious. So what was it about this particular key and signed text that caused this
to expose this error while others did not?

Feb 2 2017, 10:56 PM · Bug Report, gnupg
grempe added a comment to T2853: Signature Verification returning 'gpg: DBG: tofu.c:2772: strtoul failed for DB returned string (tail=): Invalid argument'.

Here is the output from the program you attached running on OS X Sierra and compiled
with gcc. Is it what you expected?

$ ./a.out
0 => 0; tail = ''; errno = Undefined error: 0 (0)
1 => 1; tail = ''; errno = Undefined error: 0 (0)
=> 0; tail = ''; errno = Invalid argument (22)

Feb 2 2017, 10:52 PM · Bug Report, gnupg
ikelos added a comment to T2933: gnupg-2.1.18 fails to read a Yubikey Neo that gnupg-2.1.17 reads fine.

Sorry, forgot the reference for [1] previously:

https://bbs.archlinux.org/viewtopic.php?id=222401

Feb 2 2017, 7:19 PM · gnupg, Bug Report
ikelos added a comment to T2933: gnupg-2.1.18 fails to read a Yubikey Neo that gnupg-2.1.17 reads fine.

I can also confirm that adding the line "disable-ccid" to scdaemon.conf appears
to revert to the previous system, which then works fine (but doesn't really fix
the issue).

Feb 2 2017, 7:08 PM · gnupg, Bug Report
ikelos added a comment to T2933: gnupg-2.1.18 fails to read a Yubikey Neo that gnupg-2.1.17 reads fine.

Having read [1], I double checked my scdaemon.conf (which apparently already
featured debug-all) and made sure it to read as follows:

log-file /home/mike/.gnupg/scdaemon.log
debug-all

I got the following from attempting to run gpg --card-status:

2017-02-02 18:00:58 scdaemon[32091] DBG: chan_5 <- GETINFO version
2017-02-02 18:00:58 scdaemon[32091] DBG: chan_5 -> D 2.1.18
2017-02-02 18:00:58 scdaemon[32091] DBG: chan_5 -> OK
2017-02-02 18:00:58 scdaemon[32091] DBG: chan_5 <- SERIALNO openpgp
2017-02-02 18:00:58 scdaemon[32091] DBG: apdu_open_reader: BAI=10a02
2017-02-02 18:00:58 scdaemon[32091] DBG: apdu_open_reader: new device=10a02
2017-02-02 18:00:58 scdaemon[32091] ccid open error: skip
2017-02-02 18:00:58 scdaemon[32091] DBG: chan_5 -> ERR 100696144 No such device
<SCD>
2017-02-02 18:00:58 scdaemon[32091] DBG: chan_5 <- RESTART
2017-02-02 18:00:58 scdaemon[32091] DBG: chan_5 -> OK

Please let me know what further information I can provide to help debug this?

Feb 2 2017, 7:05 PM · gnupg, Bug Report
neal added a comment to T2853: Signature Verification returning 'gpg: DBG: tofu.c:2772: strtoul failed for DB returned string (tail=): Invalid argument'.

This should be fixed by 407f5f9baea5591f148974240a87dfb43e5efef3 .

Thanks for reporting this!

Feb 2 2017, 4:03 PM · Bug Report, gnupg
neal added a project to T2853: Signature Verification returning 'gpg: DBG: tofu.c:2772: strtoul failed for DB returned string (tail=): Invalid argument': Restricted Project.
Feb 2 2017, 4:03 PM · Bug Report, gnupg
neal added a comment to T2853: Signature Verification returning 'gpg: DBG: tofu.c:2772: strtoul failed for DB returned string (tail=): Invalid argument'.

Feb 2 2017, 3:36 PM · Bug Report, gnupg
neal added a comment to T2853: Signature Verification returning 'gpg: DBG: tofu.c:2772: strtoul failed for DB returned string (tail=): Invalid argument'.

According to SUSv3:

If the subject sequence is empty or does not have the expected form, no

conversion is performed

...
If no conversion could be performed, 0 is returned  and errno may be set to

[EINVAL].

  http://pubs.opengroup.org/onlinepubs/007908799/xsh/strtol.html

It appears that MacOS X sets errno to EINVAL, but glibc doesn't.
(The attached program should expose the behavior; I haven't run it yet on Max OS
X, but I'd be interested in the result.)

Feb 2 2017, 3:36 PM · Bug Report, gnupg
neal added a project to T2929: tofu: Missing entry in the bindings table for new key: Restricted Project.
Feb 2 2017, 2:25 PM · Bug Report, gnupg, gnupg (gpg22)
neal added a comment to T2929: tofu: Missing entry in the bindings table for new key.

The underlying problem is that bindings for ultimately trusted keys were not
registered with the TOFU data.

Fixed in 769272ba87f282a69e8d5f9bb27c86e6bec4496b

Feb 2 2017, 2:25 PM · Bug Report, gnupg, gnupg (gpg22)
neal added a comment to T2914: TOFU Conflict Status fd output broken.

This should be fixed in 027b81b35fe36692005b8dba22d9eb2db05e8c80.

Feb 2 2017, 1:31 PM · RC, Bug Report, gnupg, TOFU
neal added a project to T2914: TOFU Conflict Status fd output broken: Restricted Project.
Feb 2 2017, 1:31 PM · RC, Bug Report, gnupg, TOFU
werner added a comment to T2936: pubring.kbx to pubring.kbx~.

Copying pubring.kbx to the backup file is not an option because keyrings tend to
get very large. Several dozen megabytes are quite common.

Feb 2 2017, 10:22 AM · Bug Report, gnupg
amonk added projects to T2936: pubring.kbx to pubring.kbx~: gnupg, Bug Report.
Feb 2 2017, 6:07 AM · Bug Report, gnupg
amonk set Version to 2.1.16 on T2936: pubring.kbx to pubring.kbx~.
Feb 2 2017, 6:07 AM · Bug Report, gnupg

Feb 1 2017

werner added projects to T2934: Serpent-256 unavailable in 2.0.30: In Progress, gnupg (gpg20).
Feb 1 2017, 5:08 PM · Bug Report, gnupg (gpg20), gnupg, In Progress

Jan 31 2017

werner closed T2852: scdaemon + forwarded ssh agent: 100% reproducible crash as Resolved.
Jan 31 2017, 1:33 PM · Unreleased, gnupg (gpg20), Bug Report, gnupg
werner added a project to T2852: scdaemon + forwarded ssh agent: 100% reproducible crash: Unreleased.
Jan 31 2017, 1:33 PM · Unreleased, gnupg (gpg20), Bug Report, gnupg
werner removed a project from T2852: scdaemon + forwarded ssh agent: 100% reproducible crash: Restricted Project.
Jan 31 2017, 1:33 PM · Unreleased, gnupg (gpg20), Bug Report, gnupg
werner removed a project from T2745: gpg 2.1.15, *no* keyservers found for submit/recv, "DNS query returned an error or no records: No such domain (nxdomain)": Restricted Project.
Jan 31 2017, 1:28 PM · gnupg, Bug Report, dirmngr
werner closed T2745: gpg 2.1.15, *no* keyservers found for submit/recv, "DNS query returned an error or no records: No such domain (nxdomain)" as Resolved.
Jan 31 2017, 1:28 PM · gnupg, Bug Report, dirmngr

Jan 30 2017

neal added a comment to T2914: TOFU Conflict Status fd output broken.

To be clear the initial output is not wrong. At the time the information is
initially requested, the message has not yet been processed.

Anyway, I think I'm working on a fix so this is a non-issue.

Jan 30 2017, 2:27 PM · RC, Bug Report, gnupg, TOFU

Jan 27 2017

leonardjo set Version to 2.0.30 on T2934: Serpent-256 unavailable in 2.0.30.
Jan 27 2017, 1:14 AM · Bug Report, gnupg (gpg20), gnupg, In Progress
leonardjo added a comment to T2934: Serpent-256 unavailable in 2.0.30.

D407: 947_gpgsm.c.diff

Jan 27 2017, 1:14 AM · Bug Report, gnupg (gpg20), gnupg, In Progress
leonardjo added projects to T2934: Serpent-256 unavailable in 2.0.30: gnupg, Bug Report.
Jan 27 2017, 1:14 AM · Bug Report, gnupg (gpg20), gnupg, In Progress

Jan 26 2017

justus claimed T2856: Can't ssh-add a key w/o a passphrase.
Jan 26 2017, 5:24 PM · Debian, Bug Report, gnupg, ssh
justus closed T2930: search for keys by e-mail address behaves differently when key is in pubring.gpg vs. pubring.kbx as Resolved.
Jan 26 2017, 12:57 PM · Bug Report, gnupg
justus assigned T2933: gnupg-2.1.18 fails to read a Yubikey Neo that gnupg-2.1.17 reads fine to gniibe.
Jan 26 2017, 11:19 AM · gnupg, Bug Report
justus added a project to T2933: gnupg-2.1.18 fails to read a Yubikey Neo that gnupg-2.1.17 reads fine: gnupg.
Jan 26 2017, 11:19 AM · gnupg, Bug Report
justus updated subscribers of T2933: gnupg-2.1.18 fails to read a Yubikey Neo that gnupg-2.1.17 reads fine.
Jan 26 2017, 11:19 AM · gnupg, Bug Report
ikelos set Version to 2.1.18 on T2933: gnupg-2.1.18 fails to read a Yubikey Neo that gnupg-2.1.17 reads fine.
Jan 26 2017, 3:38 AM · gnupg, Bug Report
ikelos added a project to T2933: gnupg-2.1.18 fails to read a Yubikey Neo that gnupg-2.1.17 reads fine: Bug Report.
Jan 26 2017, 3:38 AM · gnupg, Bug Report

Jan 25 2017

dkg added a comment to T2930: search for keys by e-mail address behaves differently when key is in pubring.gpg vs. pubring.kbx.

thanks for the quick fix, Justus. I can confirm that this fixes the problem for me.

Jan 25 2017, 9:01 PM · Bug Report, gnupg
dkg reopened T2930: search for keys by e-mail address behaves differently when key is in pubring.gpg vs. pubring.kbx as "Open".
Jan 25 2017, 9:01 PM · Bug Report, gnupg
jukivili added a comment to T2292: cipher/crc-intel-pclmul.c: load of misaligned address.

I have now learnt how GCC uses 'undefined behavior' for aggressive optimization
and that this could break code doing unaligned accesses even on x86. So this
needs to be fixed after all.

Jan 25 2017, 7:49 PM · Not A Bug, Bug Report, Assembler, libgcrypt
jukivili reopened T2292: cipher/crc-intel-pclmul.c: load of misaligned address as "Open".
Jan 25 2017, 7:49 PM · Not A Bug, Bug Report, Assembler, libgcrypt
justus closed T2913: python: default op_keylist_start parameters. as Resolved.
Jan 25 2017, 6:52 PM · gpgme, Bug Report
justus added a comment to T2913: python: default op_keylist_start parameters..

Merged in 9291ebaa4151a1f6c8c0601095ec45809b963383.

Jan 25 2017, 6:52 PM · gpgme, Bug Report
justus closed T2930: search for keys by e-mail address behaves differently when key is in pubring.gpg vs. pubring.kbx as Resolved.
Jan 25 2017, 5:00 PM · Bug Report, gnupg
justus added a comment to T2930: search for keys by e-mail address behaves differently when key is in pubring.gpg vs. pubring.kbx.

Fixed in 3f4f20ee6eff052c88647b820d9ecfdbd8df0f40.

Jan 25 2017, 5:00 PM · Bug Report, gnupg
justus added a comment to T2930: search for keys by e-mail address behaves differently when key is in pubring.gpg vs. pubring.kbx.

That is no regression, that never worked well. It only works if one uses a uid
like 'test <test@example.org>'. I'll fix this.

Jan 25 2017, 4:16 PM · Bug Report, gnupg
werner added a comment to T2930: search for keys by e-mail address behaves differently when key is in pubring.gpg vs. pubring.kbx.

That is a regression - it used to work since every early gpg versions.

Jan 25 2017, 9:16 AM · Bug Report, gnupg
werner updated subscribers of T2930: search for keys by e-mail address behaves differently when key is in pubring.gpg vs. pubring.kbx.
Jan 25 2017, 9:16 AM · Bug Report, gnupg
werner assigned T2930: search for keys by e-mail address behaves differently when key is in pubring.gpg vs. pubring.kbx to justus.
Jan 25 2017, 9:16 AM · Bug Report, gnupg
werner added a comment to T2932: gpgv error messages are confusing.

I agree on the first part. This needs to be fixed.

I do not understand wht you think "no public key" is the wrong message. We have
always used this message if the public key is not available for verification.
Do you think the text should be changed to "public key not found" ? That would
be a simple change in libgpg-error.

Libgpg-error has a GPG_ERR_MISSING_KEY but that code indicates wrong usage of
functions or bad data structures.

Jan 25 2017, 9:13 AM · Bug Report, gnupg, gpgv
dkg added projects to T2932: gpgv error messages are confusing: gpgv, gnupg, Bug Report.
Jan 25 2017, 12:19 AM · Bug Report, gnupg, gpgv

Jan 24 2017

dkg added a comment to T2928: stop fetching PTR records entirely.

for cases (1), (2), and (3) it sounds like you don't need the PTR at all. right?

For your case (4), i think we should reject hkps via literal IP addresses. It's
not a real-world use case, and if you want to test/experiment with hkps as a
developer, you should have at least the capacity to edit /etc/hosts (or whatever
your system's equivalent is). Anyway, trying to support this case for the
purposes of debugging doesn't make sense if support for this case is the cause
of the bugs in the first place ;)

re: duplicate hosts: I live in a part of the world where dual-stack
connectivity is sketchy at best. And, when connecting to things over Tor, it's
possible that connections to IPv4 hosts will have a different failure rate than
IPv6 connections.
So unless you already know that the host itself is down, why would you avoid
trying the other routes you have to it?

Look at it another way: when trying to reach host X, you discover that X has two
IP addresses, A and B. You try to reach A and it's not available. Isn't it
better to try B instead, rather than to avoid trying B at all just because A was
unreachable?

In a pool scenario, you might want to try to cluster addresses together by
perceived identity so that you can try an entirely different host first, rather
than a different address for the same host who happens to be in the pool twice.
But that strikes me as a very narrow optimization, certainly something that'd
only be worth implementing after we've squeezed the last bit of performance out
of other parts of the code (parallel connections, "happy eyeballs", etc).
Definitely not something to bother with at the outset. So i'd say drop that
optimization for simplicity's sake.

So the simplest approach is:

a) know the configured name of the keysserver
b) resolve it to a set of addresses
c) try to connect to those addresses, using the configured name of the server
for SNI and HTTP Host:

This is all that's needed for cases (1) and (3), and it could also be used in
case (2) if you see (b) as a two-stage resolution process (name→SRV→A/AAAA),
discarding the intermediate names from the SRV. Given that some people may
access the pool via case (1), and servers in the pool won't be able to
distinguish between how they were selected (SRV vs. A/AAAA), they'll still
accept the connections.

If you decide the additional complexity is worthwhile for tracking the
intermediate names in the SRV records, you can always propagate the intermediate
names wherever you like locally without changing the "simplest" algorithm.

If you really want to use the names from the SRV in collecting, then the
algorithm should change to:

a) know the configured name of the keyserver
b) resolve it to a set of intermediate names
c) resolve the intermediate names to a set of addresses
d) try to connect to those addresses, using the intermediate name of the server
for SNI and HTTP host.

But still, no PTR records are needed.

Jan 24 2017, 5:12 PM · Debian, Bug Report, gnupg, dirmngr
werner added a comment to T2902: dimrngr over tor fails obscurely on IPv6 records when NoIPv6Traffic flag is set.

Okay, I get this error now. I had to implement a new option --disable-ipv4 to
make testing easier.

Jan 24 2017, 4:48 PM · Debian, Bug Report, gnupg, dirmngr
dkg added projects to T2930: search for keys by e-mail address behaves differently when key is in pubring.gpg vs. pubring.kbx: gnupg, Bug Report.
Jan 24 2017, 4:20 PM · Bug Report, gnupg
werner added a comment to T2902: dimrngr over tor fails obscurely on IPv6 records when NoIPv6Traffic flag is set.

I have never seen the no permission message but only a general connection failed
error. I can try your suggestion of setting an explicit NoIPv6Traffic

Jan 24 2017, 3:58 PM · Debian, Bug Report, gnupg, dirmngr
werner added a comment to T2928: stop fetching PTR records entirely.

We have several cases:

  1. A pool accessed via round-robin A/AAAA record: We do not use the canonical hostname (i.e. from the PTR) but the name of the pool for the certificate. This is the classical way how keyserver pools.
  1. A pool access via SRV records: The SRV record has the canonical name and thus we do not need a PTR lookup. But we need a address lookup.
  1. A keyserver specified by its name: We alread have the name thus no need for PTR lookup.
  1. A keyserver specified by literal IP address: We need a host name for the certificate. Either we take it from the PTR record or we reject TLS access. I don't think that is is a real world use case but for debugging it is/was really helpful. Should we reject hkps via literal IP addresses?

It is quite possible that some of these cases do not work right. I
have done only manual testing and the matrix is pretty complex: We
have all combinations of direct/Tor, v4 only, v6 only, v4, v6,
interface up, network down.

Right, by "duplicate host", I mean hosts reachable by several addresses
and in particular by v4 and v6. My test back when I originally
implemented the code showed that when hosts are down their other
addresses are also down. Without marking the host dead, the code
would have tried the same request on another address and would run
into the next timeout.

I also think that most delays are due to connection problems and not due to DNS
problems. And most connection problems are due to lost network access. There
we might need to tweak the code a bit similar to what I did for ADNS.

Jan 24 2017, 3:55 PM · Debian, Bug Report, gnupg, dirmngr
justus added a comment to T2929: tofu: Missing entry in the bindings table for new key.

Test added in 5aafa56dffefe3fac55b9d0555c7c86e8a07f072.

Jan 24 2017, 2:34 PM · Bug Report, gnupg, gnupg (gpg22)
justus updated subscribers of T2929: tofu: Missing entry in the bindings table for new key.
Jan 24 2017, 1:53 PM · Bug Report, gnupg, gnupg (gpg22)
justus added projects to T2929: tofu: Missing entry in the bindings table for new key: gnupg (gpg22), gnupg, Bug Report.
Jan 24 2017, 1:53 PM · Bug Report, gnupg, gnupg (gpg22)
justus set Version to master on T2929: tofu: Missing entry in the bindings table for new key.
Jan 24 2017, 1:53 PM · Bug Report, gnupg, gnupg (gpg22)
justus lowered the priority of T2927: The GPGME library returned an unexpected error at gpafiledecryptop.c:534. from Unbreak Now! to Normal.
Jan 24 2017, 11:19 AM · Bug Report, gpa
justus added a comment to T2927: The GPGME library returned an unexpected error at gpafiledecryptop.c:534..

Thanks for the report. The message you quoted is a very general error message,
and unfortunately does not really help identifying the problem.

Please describe in detail your setup, and how to reproduce this problem.

Jan 24 2017, 11:19 AM · Bug Report, gpa
dkg changed Version from 2.1.17 to 2.1.18 on T2928: stop fetching PTR records entirely.
Jan 24 2017, 5:39 AM · Debian, Bug Report, gnupg, dirmngr
dkg added a comment to T2928: stop fetching PTR records entirely.

Here's a concrete example of how using PTR records gets things mixed up.

keyserver.stack.nl offers keyserver service on port 443.

It has an A record at 131.155.141.70.

But the ptr is to mud.stack.nl:

70.141.155.131.in-addr.arpa. 69674 IN PTR mud.stack.nl.

and the https SNI and HTTP Host: directives provide an entirely different
website depending on whether you access it with:

  https://mud.stack.nl/

or

  https://keyserver.stack.nl/

If you access it as https://hkps.pool.sks-keyservers.net/, you get the
"keyserver" view. But if you access it by the name in the PTR record
("mud.stack.nl") then you get the mud view (and a 404 on any /pks URLs)

Even more troubling is that dirmngr successfully connects to mud.stack.nl and
does the query, even though it is configured to only talk to
hkps.pool.sks-keyservers.net

This suggests that anyone able to spoof a PTR record to me can get my dirmngr to
send my potentially-sensitive keyserver queries to an entirely different webserver.

Jan 24 2017, 5:37 AM · Debian, Bug Report, gnupg, dirmngr

Jan 23 2017

werner closed T2882: libgcrypt: FTBFS with LTO as Resolved.
Jan 23 2017, 11:26 PM · Unreleased, Bug Report, libgcrypt
werner removed a project from T2882: libgcrypt: FTBFS with LTO: Restricted Project.
Jan 23 2017, 11:26 PM · Unreleased, Bug Report, libgcrypt
werner added a project to T2882: libgcrypt: FTBFS with LTO: Unreleased.
Jan 23 2017, 11:26 PM · Unreleased, Bug Report, libgcrypt
werner closed T2452: pinentry-curses fails with ERR 83886343 Line passed to IPC too long <Pinentry> when --ttytype is unusable as Resolved.
Jan 23 2017, 11:25 PM · Bug Report, pinentry
werner removed a project from T2452: pinentry-curses fails with ERR 83886343 Line passed to IPC too long <Pinentry> when --ttytype is unusable: Restricted Project.
Jan 23 2017, 11:25 PM · Bug Report, pinentry
werner removed a project from T2814: Fallback to CSIDL_PROGRAM_FILESX86 doesn't work: Restricted Project.
Jan 23 2017, 11:23 PM · gpgme, Bug Report, Windows 64, Windows
werner closed T2814: Fallback to CSIDL_PROGRAM_FILESX86 doesn't work as Resolved.
Jan 23 2017, 11:23 PM · gpgme, Bug Report, Windows 64, Windows
werner closed T2679: Raise error if keyring if not readable as Resolved.
Jan 23 2017, 11:23 PM · gpgme, Bug Report
werner removed a project from T2679: Raise error if keyring if not readable: Restricted Project.
Jan 23 2017, 11:23 PM · gpgme, Bug Report
werner added projects to T2071: Processes invoking gpgme_op_decrypt() should not incur a delay due to the invocation of gpg-agent: gnupg (gpg14), gnupg (gpg20).
Jan 23 2017, 11:21 PM · Restricted Project, gnupg, Bug Report
werner closed T1624: Gpgtar fails when files have non ASCII characters as Resolved.
Jan 23 2017, 11:20 PM · gnupg, Windows 32, Windows, Bug Report
werner removed a project from T1624: Gpgtar fails when files have non ASCII characters: Restricted Project.
Jan 23 2017, 11:20 PM · gnupg, Windows 32, Windows, Bug Report