Page MenuHome GnuPG
Feed Advanced Search

May 24 2017

justus moved T2964: dirmngr and gpg-agent should work automatically even when GNUPGHOME is larger than sun_path from Backlog to Deferred on the gnupg (gpg22) board.
May 24 2017, 1:29 PM · Stalled, scd, gpgagent, Bug Report, gnupg, dirmngr
justus moved T2908: dirmngr can't be build w/o LDAP from Backlog to Wishlist on the gnupg (gpg22) board.
May 24 2017, 1:29 PM · gnupg (gpg22), dirmngr, Bug Report, gnupg
justus moved T2398: finger support using SRV DNS records from Backlog to Wishlist on the gnupg (gpg22) board.
May 24 2017, 1:17 PM · gnupg, Feature Request, dirmngr
justus moved T2935: use-tor should have a third possible value, "if available" from Backlog to Wishlist on the gnupg (gpg22) board.
May 24 2017, 1:16 PM · gnupg (gpg22), In Progress, Feature Request, dirmngr
justus moved T2940: dirmngr fails for hkps when http-proxy is in use from Backlog to Wishlist on the gnupg (gpg22) board.
May 24 2017, 1:16 PM · Feature Request, gnupg (gpg22), Debian, gnupg, dirmngr

May 21 2017

ndr76 added a comment to T3168: dirmngr: gpg: keyserver receive failed: No keyserver available.

Just as a remainder: unlike Arch, Debian has gnupg and dirmngr in 2 different packages. The bug is in dirmngr.

May 21 2017, 12:57 AM · dns, dirmngr

May 19 2017

dkg added a comment to T3168: dirmngr: gpg: keyserver receive failed: No keyserver available.

I'm using 2.1.21-2 from the debian experimental build, and i'm not seeing this misbehavior.

May 19 2017, 1:51 AM · dns, dirmngr

May 16 2017

ndr76 created T3168: dirmngr: gpg: keyserver receive failed: No keyserver available in the S1 Public space.
May 16 2017, 9:21 PM · dns, dirmngr
gniibe closed T3105: libdns does not work on Fedora builds as Resolved.

Fixed in 2.1.21.

May 16 2017, 1:24 AM · In Progress, gnupg (gpg21), dirmngr

May 15 2017

justus added a comment to T2964: dirmngr and gpg-agent should work automatically even when GNUPGHOME is larger than sun_path.

Automatic creation of socket directories creates cleanup trouble for projects previously relying on the agent-shutdown if $GNUPGHOME is removed: https://notmuchmail.org/pipermail/notmuch/2017/024550.html

May 15 2017, 9:47 AM · Stalled, scd, gpgagent, Bug Report, gnupg, dirmngr

May 8 2017

justus closed T2948: libdns lookups fails when nssswitch has no "dns" section as Resolved.

This seems to work just fine on our archlinux box with the nsswitch configuration above.

May 8 2017, 5:27 PM · Restricted Project, Bug Report, gnupg, dirmngr
werner reassigned T2948: libdns lookups fails when nssswitch has no "dns" section from werner to justus.

Justus, will you please so kind and take care of this.

May 8 2017, 2:04 PM · Restricted Project, Bug Report, gnupg, dirmngr
gniibe added a comment to T3089: macOS - use OpenDirectory Framework.

https://developer.apple.com/library/content/documentation/Networking/Conceptual/Open_Directory/openDirectoryConcepts/openDirectoryConcepts.html

May 8 2017, 7:14 AM · gnupg24, gnupg (gpg23), dirmngr, MacOS

May 3 2017

justus placed T1827: Allow to batch up key refreshs in dirmngr up for grabs.
May 3 2017, 10:34 AM · gnupg, Feature Request, dirmngr

Apr 28 2017

werner edited projects for T2935: use-tor should have a third possible value, "if available", added: gnupg (gpg22); removed gnupg.
Apr 28 2017, 9:45 PM · gnupg (gpg22), In Progress, Feature Request, dirmngr
werner raised the priority of T2935: use-tor should have a third possible value, "if available" from Normal to High.
Apr 28 2017, 9:43 PM · gnupg (gpg22), In Progress, Feature Request, dirmngr

Apr 25 2017

gniibe added a project to T3105: libdns does not work on Fedora builds: In Progress.

Thanks for your confirmation. I pushed the commit.

Apr 25 2017, 2:06 PM · In Progress, gnupg (gpg21), dirmngr
t8m added a comment to T3105: libdns does not work on Fedora builds.

You're right this function is the culprit. The

patch corrects it and fully fixes it for me.

Apr 25 2017, 1:37 PM · In Progress, gnupg (gpg21), dirmngr
gniibe added a comment to T3105: libdns does not work on Fedora builds.

I suspect compiler optimization.
If you are with debugger, please check the function dns_ai_setent in dns.c.
When type==DNS_T_A, it sets sin_family = AF_INET. But it does some violent memory access for modern C.
Then, the value is accessed through saddr->sa_family.
I wonder if (*ent)->ai_family is correctly set here.

Apr 25 2017, 1:05 PM · In Progress, gnupg (gpg21), dirmngr
t8m added a comment to T3105: libdns does not work on Fedora builds.

This is what I see in gdb after the host resolution is called:

Apr 25 2017, 10:31 AM · In Progress, gnupg (gpg21), dirmngr
t8m added a comment to T3105: libdns does not work on Fedora builds.

The machine is x86_64 qemu-kvm virtual on x86_64 host.

Apr 25 2017, 10:17 AM · In Progress, gnupg (gpg21), dirmngr
gniibe edited projects for T3105: libdns does not work on Fedora builds, added: gnupg (gpg21); removed gnupg (gpg20).
Apr 25 2017, 9:15 AM · In Progress, gnupg (gpg21), dirmngr
gniibe added projects to T3105: libdns does not work on Fedora builds: gnupg (gpg20), dirmngr.
Apr 25 2017, 9:14 AM · In Progress, gnupg (gpg21), dirmngr

Apr 21 2017

gniibe added projects to T3089: macOS - use OpenDirectory Framework: dirmngr, gnupg (gpg21).
Apr 21 2017, 1:53 AM · gnupg24, gnupg (gpg23), dirmngr, MacOS

Apr 7 2017

flokli merged T2991: dirmngr unable to receive keys if only IPv6 DNS servers are set into T2990: dirmngr fails with IPv6 nameserver in resolv.conf.
Apr 7 2017, 5:59 PM · gnupg (gpg22), Bug Report, dirmngr
flokli merged task T2991: dirmngr unable to receive keys if only IPv6 DNS servers are set into T2990: dirmngr fails with IPv6 nameserver in resolv.conf.
Apr 7 2017, 5:59 PM · g10code (gnupg-2.2), Debian, Bug Report, gnupg, gnupg (gpg21), dirmngr

Apr 4 2017

eoincreedon_gmail.com created T3054: dirmngr only using cAcertificate attr type when querying LDAP directory in the S1 Public space.
Apr 4 2017, 8:51 PM · Active Directory, dirmngr
marcus added projects to T3033: bug: dirmngr latches SRV port cross-scheme: dirmngr, Bug Report.
Apr 4 2017, 2:28 AM · Restricted Project, gnupg (gpg22), Bug Report, dirmngr
dkg added a comment to T2948: libdns lookups fails when nssswitch has no "dns" section.

I don't have one of these systems handy to test with, but if the fix in dee026d7 does what it says it does, this sounds like it's probably OK to close in my book. if there are more problems, i'm sure we can re-open it.

Apr 4 2017, 12:29 AM · Restricted Project, Bug Report, gnupg, dirmngr

Apr 3 2017

werner lowered the priority of T1590: dirmngr with libgcrypt 1.6.0 forgets to initialize pth properly from Unbreak Now! to Normal.
Apr 3 2017, 10:59 PM · In Progress, dirmngr, Bug Report, gnupg (gpg20)
werner added a comment to T2948: libdns lookups fails when nssswitch has no "dns" section.

dkg: Can we close this now that 2.1.20 is out?

Apr 3 2017, 10:48 PM · Restricted Project, Bug Report, gnupg, dirmngr

Mar 31 2017

werner added a project to T2991: dirmngr unable to receive keys if only IPv6 DNS servers are set: g10code (gnupg-2.2).
Mar 31 2017, 3:12 PM · g10code (gnupg-2.2), Debian, Bug Report, gnupg, gnupg (gpg21), dirmngr

Mar 30 2017

admin created dirmngr.
Mar 30 2017, 6:42 PM

Mar 24 2017

werner added a project to T2964: dirmngr and gpg-agent should work automatically even when GNUPGHOME is larger than sun_path: In Progress.
Mar 24 2017, 4:52 PM · Stalled, scd, gpgagent, Bug Report, gnupg, dirmngr
werner added a comment to T2964: dirmngr and gpg-agent should work automatically even when GNUPGHOME is larger than sun_path.

We also have a discussion of the mailing list. It does currently not make sense
to continue here.

The problem of NFS mounted home directories is _real_ and we have a solution for
this which is better than the old redirection hack.

The problem with too long socket names is not severe and has been around for
decades (for other software and 14 years for GnuPG). There are workaround and
/run/user also solves this.

I proposed a change which does not even require --create-socketdir. There was
no comment on this and thus I will push that now so that we can do a real life test.

Mar 24 2017, 4:52 PM · Stalled, scd, gpgagent, Bug Report, gnupg, dirmngr
justus added a comment to T2964: dirmngr and gpg-agent should work automatically even when GNUPGHOME is larger than sun_path.

Justus: I told you several times that we are not going to change working code
for no good reason.

Except that it is not working. If it was working, then
06f1f163e96f1039304fd3cf565cf9de1ca45849
would not be necessary.

Even if your hack (I call it a hack because it does not
work with getsockname)

1/ Yes it does. It returns precisely the path that was used in bind.

2/ We only use getsockname on sockets that were given us by a service manager
like systemd, and thus those sockets would be unaffected by "the hack".

would make it, it does not solve the major problem: The
inability of creating sockets on certain file systems. THAT is the major reason
why we moved to /var/run.

Please stop conflating these things. This bug is about "dirmngr and gpg-agent
should work automatically even when GNUPGHOME is larger than sun_path". It is
not about NFS or FAT or something.

Mar 24 2017, 1:44 PM · Stalled, scd, gpgagent, Bug Report, gnupg, dirmngr

Mar 21 2017

werner added a comment to T2964: dirmngr and gpg-agent should work automatically even when GNUPGHOME is larger than sun_path.

Justus: I told you several times that we are not going to change working code
for no good reason. Even if your hack (I call it a hack because it does not
work with getsockname) would make it, it does not solve the major problem: The
inability of creating sockets on certain file systems. THAT is the major reason
why we moved to /var/run.

Mar 21 2017, 7:25 PM · Stalled, scd, gpgagent, Bug Report, gnupg, dirmngr
justus added a comment to T2964: dirmngr and gpg-agent should work automatically even when GNUPGHOME is larger than sun_path.

The whole IPC thing is pretty complex and adding a non-standard hack as proposed
by Justus will for sure cause breakage on some platforms.

I'm not sure why you call it a hack. I've been looking at POSIX, [0] introduces
pathname resolution, and the terms 'relative path' and 'absolute path'.

0: http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap04.html#tag_04_13

Neither the page for connect [1], nor the one for bind [2] state that the path
used to connect/bind unix sockets must be an absolute path.

1: http: / / pubs.opengroup.org/onlinepubs/9699919799/functions/connect.html#
2: http: / / pubs.opengroup.org/onlinepubs/9699919799/functions/bind.html#

Furthermore, my test across a wide range of UNIX implementations did not show
any issues with using relative paths.

Mar 21 2017, 3:12 PM · Stalled, scd, gpgagent, Bug Report, gnupg, dirmngr
justus closed T2977: dirmngr 2.1.18 fails if keyserver's IP is defined in /etc/hosts as Resolved.
Mar 21 2017, 2:23 PM · dirmngr, gnupg, Bug Report
justus added a comment to T2977: dirmngr 2.1.18 fails if keyserver's IP is defined in /etc/hosts.

Fixed in 88f1505f0613894d5544290a170119eb538921e5.

Mar 21 2017, 2:23 PM · dirmngr, gnupg, Bug Report

Mar 20 2017

werner updated subscribers of T2968: gpg --search: Connection closed in DNS.
Mar 20 2017, 2:55 PM · Info Needed, gnupg (gpg22), Bug Report, Debian, Keyserver, dirmngr
werner reassigned T2968: gpg --search: Connection closed in DNS from kardan to justus.
Mar 20 2017, 2:55 PM · Info Needed, gnupg (gpg22), Bug Report, Debian, Keyserver, dirmngr
thomas added a comment to T2833: gpg-wks-client TLS access to server with wrong SNI name aborts.
  • Werner Koch via BTS <gnupg@bugs.g10code.com> [20170317 12:57]:

Fixed with commit 69c521d.
You can reconfigure your server. Thanks.

Mar 20 2017, 9:31 AM · Unreleased, gnupg, Bug Report, dirmngr

Mar 17 2017

werner closed T2833: gpg-wks-client TLS access to server with wrong SNI name aborts as Resolved.
Mar 17 2017, 12:57 PM · Unreleased, gnupg, Bug Report, dirmngr
werner added a project to T2833: gpg-wks-client TLS access to server with wrong SNI name aborts: Unreleased.
Mar 17 2017, 12:57 PM · Unreleased, gnupg, Bug Report, dirmngr
werner added a comment to T2833: gpg-wks-client TLS access to server with wrong SNI name aborts.

Fixed with commit 69c521d.
You can reconfigure your server. Thanks.

Mar 17 2017, 12:57 PM · Unreleased, gnupg, Bug Report, dirmngr
thomas added a comment to T2833: gpg-wks-client TLS access to server with wrong SNI name aborts.
  • Werner Koch via BTS <gnupg@bugs.g10code.com> [20170316 21:12]:

What is this Apache thing ;-). Frankly, I don't have one running and it would
be easier if you can remove it from testkolab.

Mar 17 2017, 8:17 AM · Unreleased, gnupg, Bug Report, dirmngr

Mar 16 2017

werner added a comment to T2833: gpg-wks-client TLS access to server with wrong SNI name aborts.

What is this Apache thing ;-). Frankly, I don't have one running and it would
be easier if you can remove it from testkolab. The current Windows versions
should not have the problem anyway because warning alerts are skipped in ntbtls.
For gnutls I have a fix ready.

Mar 16 2017, 9:12 PM · Unreleased, gnupg, Bug Report, dirmngr
thomas added a comment to T2833: gpg-wks-client TLS access to server with wrong SNI name aborts.
  • Werner Koch via BTS <gnupg@bugs.g10code.com> [20170316 14:37]:

Thomas: Is there any way how I can reproduce this now that you changed the
configuration of testkolab?

Mar 16 2017, 4:12 PM · Unreleased, gnupg, Bug Report, dirmngr
kardan added a comment to T2968: gpg --search: Connection closed in DNS.

I was able to reproduce it again. Maybe this bug depends on which keyserver in
the pool answers. The error is the same for Tor and non-Tor connections.

Mar 16 2017, 3:16 PM · Info Needed, gnupg (gpg22), Bug Report, Debian, Keyserver, dirmngr
kardan reopened T2968: gpg --search: Connection closed in DNS as "Open".
Mar 16 2017, 3:16 PM · Info Needed, gnupg (gpg22), Bug Report, Debian, Keyserver, dirmngr
werner added a comment to T2833: gpg-wks-client TLS access to server with wrong SNI name aborts.

Thomas: Is there any way how I can reproduce this now that you changed the
configuration of testkolab?

Mar 16 2017, 2:37 PM · Unreleased, gnupg, Bug Report, dirmngr
kardan added a comment to T2968: gpg --search: Connection closed in DNS.

I don't know why, it is not repdroducible anymore.

Mar 16 2017, 7:27 AM · Info Needed, gnupg (gpg22), Bug Report, Debian, Keyserver, dirmngr
kardan closed T2968: gpg --search: Connection closed in DNS as Resolved.
Mar 16 2017, 7:27 AM · Info Needed, gnupg (gpg22), Bug Report, Debian, Keyserver, dirmngr

Mar 14 2017

werner added a comment to T2964: dirmngr and gpg-agent should work automatically even when GNUPGHOME is larger than sun_path.

I agreed in T2964 (wk on Mar 01 2017, 07:31 AM / Roundup) to auto create socket directories. I would like to do that
only for a tmpfs but we can also try to do this always. Adding a inotify watch
to remove the directory is more complex and I am not sure whether this is really
needed. The other thing is simple and we could do that for 2.1.20.

The whole IPC thing is pretty complex and adding a non-standard hack as proposed
by Justus will for sure cause breakage on some platforms.

Yes, we should document /var/run recommendations in the README. I will do that
for the next release.

Mar 14 2017, 12:06 PM · Stalled, scd, gpgagent, Bug Report, gnupg, dirmngr
justus added a comment to T2991: dirmngr unable to receive keys if only IPv6 DNS servers are set.

This seems to be a bug in our new resolver library. I have contacted the author
for assistance.

Mar 14 2017, 10:28 AM · g10code (gnupg-2.2), Debian, Bug Report, gnupg, gnupg (gpg21), dirmngr
dkg added a comment to T2964: dirmngr and gpg-agent should work automatically even when GNUPGHOME is larger than sun_path.

This bug report simply asks to solve the generic problem of GNUPGHOME being
larger than sun_path. Justus's proposed mechanism is only one way of solving
that problem.

Another proposed mechanism is what i originally proposed in T2964 (dkg on Feb 17 2017, 01:52 AM / Roundup), which
*does* address remote filesystems and re-mounted filesystems.

I don't undertstand the critique about the code not yet being mature. Code
doesn't become mature by not being written, it needs to be written first and
then tested in order to become mature.

Lastly, i think if we expect that /run/user/$(id -u)/ is a "simple dependency"
for building other software, we need to make that expectation explicit someplace
reasonable (e.g. doc/HACKING or something similar)

Mar 14 2017, 4:39 AM · Stalled, scd, gpgagent, Bug Report, gnupg, dirmngr

Mar 13 2017

nfnty added a comment to T2990: dirmngr fails with IPv6 nameserver in resolv.conf.

#2991 is a duplicate of this issue.

Mar 13 2017, 3:52 PM · gnupg (gpg22), Bug Report, dirmngr
nfnty added a comment to T2991: dirmngr unable to receive keys if only IPv6 DNS servers are set.

This is a duplicate of #2990.

Mar 13 2017, 3:50 PM · g10code (gnupg-2.2), Debian, Bug Report, gnupg, gnupg (gpg21), dirmngr
flokli added a comment to T2991: dirmngr unable to receive keys if only IPv6 DNS servers are set.

Hey :-)

Glad to see I'm not the only one ;-)

Mar 13 2017, 12:56 PM · g10code (gnupg-2.2), Debian, Bug Report, gnupg, gnupg (gpg21), dirmngr
justus added a comment to T2991: dirmngr unable to receive keys if only IPv6 DNS servers are set.

Indeed, I can reproduce this.

PS: Hi flokli :)

Mar 13 2017, 10:50 AM · g10code (gnupg-2.2), Debian, Bug Report, gnupg, gnupg (gpg21), dirmngr

Mar 10 2017

flokli added projects to T2991: dirmngr unable to receive keys if only IPv6 DNS servers are set: dirmngr, gnupg (gpg21), gnupg, Bug Report, Debian.
Mar 10 2017, 9:42 PM · g10code (gnupg-2.2), Debian, Bug Report, gnupg, gnupg (gpg21), dirmngr
nfnty added a comment to T2990: dirmngr fails with IPv6 nameserver in resolv.conf.

Mar 10 2017, 2:03 PM · gnupg (gpg22), Bug Report, dirmngr
nfnty added a comment to T2990: dirmngr fails with IPv6 nameserver in resolv.conf.

And failing with IPv6 nameserver.

Mar 10 2017, 2:03 PM · gnupg (gpg22), Bug Report, dirmngr
nfnty added a comment to T2990: dirmngr fails with IPv6 nameserver in resolv.conf.

Mar 10 2017, 2:02 PM · gnupg (gpg22), Bug Report, dirmngr
nfnty added a comment to T2990: dirmngr fails with IPv6 nameserver in resolv.conf.

Here's running normally (not in a container) using IPv4 nameserver.

Mar 10 2017, 2:02 PM · gnupg (gpg22), Bug Report, dirmngr
nfnty added a comment to T2990: dirmngr fails with IPv6 nameserver in resolv.conf.

Arch Linux. The PID was due to running in a container.

Mar 10 2017, 2:01 PM · gnupg (gpg22), Bug Report, dirmngr
werner added a comment to T2990: dirmngr fails with IPv6 nameserver in resolv.conf.

What OS are you using? It looks like A Linux distro but the process id 10 is a
little bit unlikely.

Mar 10 2017, 10:51 AM · gnupg (gpg22), Bug Report, dirmngr
werner added a comment to T2990: dirmngr fails with IPv6 nameserver in resolv.conf.

Please add

verbose
debug ipc,dns
log-file /foo/bar/dirmngr.log

to dirmngr.conf, kill dirmngr (gpgconf --kill dirmngr), and retry. Show us the
log then.

Mar 10 2017, 10:49 AM · gnupg (gpg22), Bug Report, dirmngr

Mar 9 2017

nfnty added a comment to T2990: dirmngr fails with IPv6 nameserver in resolv.conf.

Error output:

dirmngr[9.5]: handler for fd 5 started
dirmngr[9.5]: connection from process 10 (1000:1000)
dirmngr[9.5]: command 'KS_GET' failed: Server indicated a failure <Unspecified
source>
gpg: keyserver receive failed: Server indicated a failure
dirmngr[9.5]: handler for fd 5 terminated
Mar 9 2017, 3:27 PM · gnupg (gpg22), Bug Report, dirmngr
nfnty set Version to 2.1.19 on T2990: dirmngr fails with IPv6 nameserver in resolv.conf.
Mar 9 2017, 3:24 PM · gnupg (gpg22), Bug Report, dirmngr
nfnty added projects to T2990: dirmngr fails with IPv6 nameserver in resolv.conf: dirmngr, gnupg, Bug Report.
Mar 9 2017, 3:24 PM · gnupg (gpg22), Bug Report, dirmngr

Mar 6 2017

werner added a comment to T2964: dirmngr and gpg-agent should work automatically even when GNUPGHOME is larger than sun_path.

My main reasons why I don't want to consider this now are:

  • That code is not written and thus will not be matured.
  • It does not solve the major problem why we moved to /var/run, namely remote file systems and avoidance of possible re-mounted file systems
  • The claim that /var/run/user does not exists is not valid, because that is a simple dependency for building the software or using it with non-common setups (remot, long $HOME). Thus an admin will anyway be on duty and adding a few lines to /etc/rc.local is not a bug deal.

FWIW, we may try this in 2.3 see T2987.

Mar 6 2017, 12:29 PM · Stalled, scd, gpgagent, Bug Report, gnupg, dirmngr
justus added a comment to T2964: dirmngr and gpg-agent should work automatically even when GNUPGHOME is larger than sun_path.

Werner does not think that this is a problem and does not want me to spend time
on this.

Mar 6 2017, 11:28 AM · Stalled, scd, gpgagent, Bug Report, gnupg, dirmngr
justus added a comment to T2964: dirmngr and gpg-agent should work automatically even when GNUPGHOME is larger than sun_path.

getsockname is only used to recover the paths of sockets bound by a supervisor
like systemd. So unless systemd starts doing the same trick that I propose,
there is no problem.

Mar 6 2017, 10:38 AM · Stalled, scd, gpgagent, Bug Report, gnupg, dirmngr

Mar 5 2017

ph1l added a comment to T2977: dirmngr 2.1.18 fails if keyserver's IP is defined in /etc/hosts.

2.1.19 behaves (almost) the same:

  • dirmngr does ignore /etc/hosts
  • dirmngr is only resolving trough dns

SRV? _pgpkey-https._tcp.keyserver.example.com. (59)
SRV? _pgpkey-https._tcp.keyserver.example.com.localdomain. (71)
A? keyserver.example.com. (40)
A? keyserver.example.com.localdomain. (52)
AAAA? keyserver.example.com. (40)
AAAA? keyserver.example.com.localdomain. (52)
A? keyserver.example.com. (40)
A? keyserver.example.com.localdomain. (52)
AAAA? keyserver.example.com. (40)
AAAA? keyserver.example.com.localdomain. (52)

The command output changed slightly:

gpg2 --debug-level guru --search-keys example.com
gpg: enabled debug flags: packet mpi crypto filter iobuf memory cache memstat trust
hashing ipc clock lookup extprog
gpg: DBG: [not enabled in the source] start
gpg: DBG: chan_3 <- # Home: /tmp/gnupg-test
gpg: DBG: chan_3 <- # Config: /tmp/gnupg-test/dirmngr.conf
gpg: DBG: chan_3 <- OK Dirmngr 2.1.19 at your service
gpg: DBG: connection to the dirmngr established
gpg: DBG: chan_3 -> GETINFO version
gpg: DBG: chan_3 <- D 2.1.19
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> KS_SEARCH -- example.com
gpg: DBG: chan_3 <- ERR 167772380 No name <Dirmngr>
gpg: error searching keyserver: No name
gpg: keyserver search failed: No name
gpg: DBG: chan_3 -> BYE
gpg: DBG: [not enabled in the source] stop
gpg: random usage: poolsize=600 mixed=0 polls=0/0 added=0/0

outmix=0 getlvl1=0/0 getlvl2=0/0

gpg: secmem usage: 0/32768 bytes in 0 blocks

Mar 5 2017, 12:24 AM · dirmngr, gnupg, Bug Report
ph1l changed Version from 2.1.18 to 2.1.19 on T2977: dirmngr 2.1.18 fails if keyserver's IP is defined in /etc/hosts.
Mar 5 2017, 12:24 AM · dirmngr, gnupg, Bug Report

Mar 3 2017

aheinecke removed a project from T2833: gpg-wks-client TLS access to server with wrong SNI name aborts: Restricted Project.
Mar 3 2017, 10:28 AM · Unreleased, gnupg, Bug Report, dirmngr
aheinecke added a comment to T2833: gpg-wks-client TLS access to server with wrong SNI name aborts.

Thomas confirmed this, with our workaround for the SNI problem removed the
problem still occurs. We have activated our workaround again to keep wks working
on testkolab.

I think gniibe may have posted a related patch to gnupg-devel some time ago not
to abort on non fatal GNUTLS alerts but I don't think it was applied.

This issue does not have high priority for me so I downgraded to minor bug but
it's still an issue.

Mar 3 2017, 10:28 AM · Unreleased, gnupg, Bug Report, dirmngr
aheinecke lowered the priority of T2833: gpg-wks-client TLS access to server with wrong SNI name aborts from Normal to Low.
Mar 3 2017, 10:28 AM · Unreleased, gnupg, Bug Report, dirmngr
aheinecke changed Version from 2.1.16-beta328 to 2.1.20-beta10 on T2833: gpg-wks-client TLS access to server with wrong SNI name aborts.
Mar 3 2017, 10:28 AM · Unreleased, gnupg, Bug Report, dirmngr

Mar 2 2017

aheinecke added a project to T2833: gpg-wks-client TLS access to server with wrong SNI name aborts: Restricted Project.
Mar 2 2017, 8:50 PM · Unreleased, gnupg, Bug Report, dirmngr
aheinecke placed T2833: gpg-wks-client TLS access to server with wrong SNI name aborts up for grabs.
Mar 2 2017, 8:50 PM · Unreleased, gnupg, Bug Report, dirmngr
aheinecke reopened T2833: gpg-wks-client TLS access to server with wrong SNI name aborts as "Open".
Mar 2 2017, 8:50 PM · Unreleased, gnupg, Bug Report, dirmngr
aheinecke added a comment to T2833: gpg-wks-client TLS access to server with wrong SNI name aborts.

From T2833 (wk on Mar 02 2017, 07:49 PM / Roundup) I don't think the problem is resolved. Yes it works now with
gnutls and ntbtls because we fixed / changed it on our side. There were no
changes to the GnuTLS code regarding alerts afaik.

Thomas: I've assigned this now to "no-selection" if possible I would have
assigned it to you. Can you come up with a test / demo that shows that this
problem still exists. Something werner could test against?

Mar 2 2017, 8:50 PM · Unreleased, gnupg, Bug Report, dirmngr
werner added a comment to T2833: gpg-wks-client TLS access to server with wrong SNI name aborts.

Tried with ntbtls and gnutls - both work fine now. Given the work we did with
recent release I will close this bug now.

Mar 2 2017, 7:49 PM · Unreleased, gnupg, Bug Report, dirmngr
werner closed T2833: gpg-wks-client TLS access to server with wrong SNI name aborts as Resolved.
Mar 2 2017, 7:49 PM · Unreleased, gnupg, Bug Report, dirmngr
justus added a comment to T2964: dirmngr and gpg-agent should work automatically even when GNUPGHOME is larger than sun_path.

From what I've seen there is no variation in getsockname, it just returns
whatever path is passed to bind. I don't understand the need for getsockname
tbh, because we are the ones that bind the socket in the first place.

(The only variation seems to be that the function is broken on Hurd...).

Mar 2 2017, 11:45 AM · Stalled, scd, gpgagent, Bug Report, gnupg, dirmngr

Mar 1 2017

werner removed a project from T1804: HKPS scheme support for Windows Installer: Unreleased.
Mar 1 2017, 9:06 PM · Bug Report, gnupg, dirmngr
dkg added a comment to T2964: dirmngr and gpg-agent should work automatically even when GNUPGHOME is larger than sun_path.

Justus, thanks for this work, it's great!. If we can solve the problem by doing
more clever socket(7) manipulation, that would be a big win.

How do you propose dealing with the getsockname() variations? or should we just
forbid the use of getsockname() entirely in the gnupg codebase?

Mar 1 2017, 7:24 PM · Stalled, scd, gpgagent, Bug Report, gnupg, dirmngr
justus added a comment to T2964: dirmngr and gpg-agent should work automatically even when GNUPGHOME is larger than sun_path.

dkg, I understand that GnuPG does not work with such a homedir, however, it is
not the act of creating the socket that is problematic. In fact, both
bind(2)ing and connect(2)ing is ok if one uses relative paths, as demonstrated
by the test program I have attached here.

Here is the program binding and connecting to a socket with an absolute path
length of ~10 * sizeof sockaddr_un.sun_path:

System: OpenBSD:6.0:GENERIC.MP#1992
sizeof addr.sun_path: 104
Running test with strlen (cwd): 22, name: '/tmp/test-unix-sockets/socket'

getsockname returned '/tmp/test-unix-sockets/socket', addrlen: 106

Running test with strlen (cwd): 22, name: 'socket'

getsockname returned 'socket', addrlen: 106

Running test with strlen (cwd): 126, name: 'socket'

getsockname returned 'socket', addrlen: 106

Running test with strlen (cwd): 1062, name: 'socket'

  getsockname returned 'socket', addrlen: 106

This works on all Unices that I have access to. I've asked on gnupg-devel@ for
people to run it elsewhere.

I understand that '--create-socketdir' solves problems besides this one. But I
disagree with the statement that our handling of socket paths is unproblematic
because --create-socketdir solves this problem.

Mar 1 2017, 3:10 PM · Stalled, scd, gpgagent, Bug Report, gnupg, dirmngr
justus added a comment to T2964: dirmngr and gpg-agent should work automatically even when GNUPGHOME is larger than sun_path.

Mar 1 2017, 3:10 PM · Stalled, scd, gpgagent, Bug Report, gnupg, dirmngr
werner added a comment to T2928: stop fetching PTR records entirely.

The --hostable option is a debugging aid and only used manually.

Mar 1 2017, 3:02 PM · Debian, Bug Report, gnupg, dirmngr
werner added a comment to T2977: dirmngr 2.1.18 fails if keyserver's IP is defined in /etc/hosts.

The nsswitch items "mymachine", "resolve", and "myhostname" are not known to
libdns but should have been skipped. "files" is the first entry and should have
delivered the result.

Mar 1 2017, 3:00 PM · dirmngr, gnupg, Bug Report
justus assigned T2965: WKD lookup fails due to overly specific Host: header to werner.
Mar 1 2017, 2:54 PM · Bug Report, gnupg, rc, dirmngr, gnupg (gpg22)
justus closed T2965: WKD lookup fails due to overly specific Host: header as Resolved.
Mar 1 2017, 2:54 PM · Bug Report, gnupg, rc, dirmngr, gnupg (gpg22)
justus added a comment to T2965: WKD lookup fails due to overly specific Host: header.

Fixed in cd32ebd152a522e362469ab969d91f8d49f28a60.

Mar 1 2017, 2:54 PM · Bug Report, gnupg, rc, dirmngr, gnupg (gpg22)
werner added a comment to T2977: dirmngr 2.1.18 fails if keyserver's IP is defined in /etc/hosts.

Seems that libdns does not pick it up /etc/hosts

Mar 1 2017, 2:50 PM · dirmngr, gnupg, Bug Report
werner added a project to T2977: dirmngr 2.1.18 fails if keyserver's IP is defined in /etc/hosts: dirmngr.
Mar 1 2017, 2:49 PM · dirmngr, gnupg, Bug Report
werner set Version to 2.1.18 on T2977: dirmngr 2.1.18 fails if keyserver's IP is defined in /etc/hosts.
Mar 1 2017, 2:49 PM · dirmngr, gnupg, Bug Report