Page MenuHome GnuPG
Feed Advanced Search

Mar 2 2017

justus changed Version from 2.1.17 to master on T2917: --locate-key should re-fetch key via WKD if it is expired.
Mar 2 2017, 3:28 PM · gnupg (gpg22), Bug Report
justus added a comment to T2917: --locate-key should re-fetch key via WKD if it is expired.

Hum, there is something strange going on here:

% gpg --auto-key-locate wkd --locate-key root@leckerlecker
... no update...
% gpg --auto-key-locate wkd,local --locate-key root@leckerlecker
... no update...
% gpg --auto-key-locate clear,wkd,local --locate-key root@leckerlecker
... update!...

Mar 2 2017, 3:28 PM · gnupg (gpg22), Bug Report
ilovezfs added a comment to T2980: ssh-import.scm fails during "make check" with gnupg 2.1.19.

Thanks to you and thanks to Niibe in advance :)

Mar 2 2017, 3:05 PM · MacOS, Bug Report, gnupg
justus added a comment to T2980: ssh-import.scm fails during "make check" with gnupg 2.1.19.

Glad to hear that. Niibe will have a closer look at the issue tomorrow.

Mar 2 2017, 2:54 PM · MacOS, Bug Report, gnupg
justus closed T2695: gpg --always-trust --quick-gen-key fails to create a trust database as Resolved.
Mar 2 2017, 2:52 PM · Bug Report, gnupg, gnupg (gpg22)
justus added a comment to T2695: gpg --always-trust --quick-gen-key fails to create a trust database.

Fixed in 4735ab96aa5577d40ba7b3f72d863057198cc6a7.

Mar 2 2017, 2:52 PM · Bug Report, gnupg, gnupg (gpg22)
ilovezfs added a comment to T2980: ssh-import.scm fails during "make check" with gnupg 2.1.19.

And it has now passed CI:
https://github.com/Homebrew/homebrew-versions/pull/1536
https://bot.brew.sh/job/Homebrew%20Versions%20Pull%20Requests/1824/

So I've merged the PR.

Mar 2 2017, 2:37 PM · MacOS, Bug Report, gnupg
ilovezfs added a comment to T2980: ssh-import.scm fails during "make check" with gnupg 2.1.19.

The patch works!

Mar 2 2017, 2:16 PM · MacOS, Bug Report, gnupg
justus added a comment to T2960: --quick-revoke-uid can be used to revoke last uid, contrary to docs.

I read the code and documentation for key-edit's revuid, and --quick-revoke-uid,
and the code makes no effort to ensure that one valid UID remains.

I read rfc4880 trying to find the basis for "some non-revoked User ID must
remain", but the only justification I could find is in section 11.1.,
Transferable Public Keys, that states that at least one UID must be included if
one wants to transfer keys.

So, do we actually want to enforce that or fix the documentation?

Mar 2 2017, 2:05 PM · Bug Report, gnupg, gnupg (gpg22)
justus added a comment to T2980: ssh-import.scm fails during "make check" with gnupg 2.1.19.

A possible workaround for you is to disable the use of scdaemon in the tests.
Currently, it is not needed anyway. I'll attach a patch to do that.

Mar 2 2017, 1:09 PM · MacOS, Bug Report, gnupg
justus added a comment to T2980: ssh-import.scm fails during "make check" with gnupg 2.1.19.

D412: 966_issue2980-workaround.patch

Mar 2 2017, 1:09 PM · MacOS, Bug Report, gnupg
justus added a comment to T2980: ssh-import.scm fails during "make check" with gnupg 2.1.19.

This is interesting indeed. Might be related to a recent change to support
multiple smart cards.

Mar 2 2017, 12:18 PM · MacOS, Bug Report, gnupg
ilovezfs added a comment to T2980: ssh-import.scm fails during "make check" with gnupg 2.1.19.

Here's the referenced crash file:
https://gist.github.com/ilovezfs/ebfccf2515fc7d7952edcc4c13ff8013

Mar 2 2017, 12:09 PM · MacOS, Bug Report, gnupg
ilovezfs added a comment to T2980: ssh-import.scm fails during "make check" with gnupg 2.1.19.

Here's what's happening in the system log when the failed test runs:

Mar  2 03:06:53 iMac-TMP com.apple.xpc.launchd[1] (com.apple.auditd[39537])
<Warning>: Endpoint has been activated through legacy launch(3) APIs. Please
switch to XPC or bootstrap_check_in(): com.apple.auditd
Mar  2 03:06:53 iMac-TMP com.apple.ctkpcscd[39536] <Notice>:
SecTaskLoadEntitlements failed error=22
Mar  2 03:06:53 iMac-TMP com.apple.ctkpcscd[39536] <Warning>: Refusing sandboxed
PCSC.framework client without com.apple.security.smartcard entitlement
Mar  2 03:06:53 iMac-TMP joe[39540] <Warning>: audit warning: soft /var/audit
Mar  2 03:06:53 iMac-TMP joe[39541] <Warning>: audit warning: allsoft 
Mar  2 03:06:54 iMac-TMP joe[39544] <Warning>: audit warning: closefile
/var/audit/20170302110453.20170302110653
Mar  2 03:06:54 iMac-TMP com.apple.ctkpcscd[39536] <Notice>:
SecTaskLoadEntitlements failed error=22
Mar  2 03:06:54 iMac-TMP com.apple.ctkpcscd[39536] <Warning>: Refusing sandboxed
PCSC.framework client without com.apple.security.smartcard entitlement
Mar  2 03:06:54 iMac-TMP com.apple.xpc.launchd[1] (com.apple.ReportCrash[39548])
<Warning>: Endpoint has been activated through legacy launch(3) APIs. Please
switch to XPC or bootstrap_check_in(): com.apple.ReportCrash
Mar  2 03:06:54 iMac-TMP ReportCrash[39548] <Notice>: Saved crash report for
scdaemon[39535] version 0 to
/Users/joe/Library/Logs/DiagnosticReports/scdaemon_2017-03-02-030654_iMac-TMP.crash
Mar 2 2017, 12:07 PM · MacOS, Bug Report, gnupg
ilovezfs added a comment to T2980: ssh-import.scm fails during "make check" with gnupg 2.1.19.

Can you please give us ssh -V, and describe the sandbox environment? Does it
affect which ssh version is used?

It's the system default. There's no other version of ssh that gets installed.
Our own ssh formula is homebrew/dupes/openssh and is explicitly barred from
being used as a dependency by anything else, as is anything else in homebrew/dupes.

10.12.3
robotunicorn ~ # ssh -V
OpenSSH_7.3p1, LibreSSL 2.4.1

10.11.6
iMac-TMP:~ joe$ ssh -V
OpenSSH_6.9p1, LibreSSL 2.1.8

yosemitevm ~ # ssh -V
OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011

Regarding the sandbox, here's where it's implemented:
https://github.com/Homebrew/brew/blob/master/Library/Homebrew/sandbox.rb

It's invoked as

/usr/bin/sandbox-exec -f /tmp/homebrew20170302-24230-1xmlw7l.sb nice
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby -W0 -I
/usr/local/Homebrew/Library/Homebrew --
/usr/local/Homebrew/Library/Homebrew/build.rb
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-versions/gnupg21.rb

The contents of the .sb file are as follows:

iMac-TMP:~ joe$ cat /tmp/homebrew20170302-24230-1xmlw7l.sb
(version 1)
(debug deny) ; log all denied operations to /var/log/system.log
(allow file-write* (subpath "/private/tmp"))
(allow file-write* (subpath "/private/var/tmp"))
(allow file-write* (regex #"^/private/var/folders/[^/]+/[^/]+/[C,T]/"))
(allow file-write* (subpath "/private/tmp"))
(allow file-write* (subpath "/Users/joe/Library/Caches/Homebrew"))
(allow file-write* (subpath "/Users/joe/Library/Logs/Homebrew/gnupg21"))
(allow file-write* (subpath "/Users/joe/Library/Developer"))
(allow file-write* (subpath "/usr/local/Cellar/gnupg21"))
(allow file-write* (subpath "/usr/local/etc"))
(allow file-write* (subpath "/usr/local/var"))
(allow file-write*
    (literal "/dev/ptmx")
    (literal "/dev/dtracehelper")
    (literal "/dev/null")
    (literal "/dev/zero")
    (regex #"^/dev/fd/[0-9]+$")
    (regex #"^/dev/ttys?[0-9]*$")
    )
(deny file-write*) ; deny non-whitelist file write operations
(allow process-exec
    (literal "/bin/ps")
    (with no-sandbox)
    ) ; allow certain processes running without sandbox
(allow default) ; allow everything else

The environment variables themselves are not different between sandboxed and
non-sandboxed builds.

Mar 2 2017, 11:46 AM · MacOS, Bug Report, gnupg
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
justus closed T2962: --quick-revoke-uid fails silently trying to revoke a non-existent uid as Resolved.
Mar 2 2017, 11:42 AM · Bug Report, gnupg, gnupg (gpg22)
justus claimed T2962: --quick-revoke-uid fails silently trying to revoke a non-existent uid.
Mar 2 2017, 11:42 AM · Bug Report, gnupg, gnupg (gpg22)
justus added a comment to T2962: --quick-revoke-uid fails silently trying to revoke a non-existent uid.

Fixed in 62d21a4ab4029b32ea129f1cf3a0e1f22e2fb7b0.

Mar 2 2017, 11:42 AM · Bug Report, gnupg, gnupg (gpg22)
justus added a comment to T2980: ssh-import.scm fails during "make check" with gnupg 2.1.19.

Can you please give us ssh -V, and describe the sandbox environment? Does it
affect which ssh version is used?

(I'm mildly annoyed that I have to ask again. You are not forthcoming with
information about your environment. macOS is somewhat alien for us, and if you
want help with tracking down the issue, you need to give us more information.
Note that we really do make an effort, and we have a macOS build slave that does
not see these issues:

https://jenkins.gnupg.org/job/gnupg/XTARGET=native,label=macos/

(though we get our build dependencies from pkgsrc, and you get it from your
packages I guess, so there are bound to be differences).)

From your latest log I see that the version of ssh used supports ed25519, so
this must be version newer than 6.5.

I just committed a patch that dumps the ssh version and the path to the binary
when executing the test:

https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commitdiff;h=74cb3b230c1f99afc5fd09bccc24186a63b154b0

Mar 2 2017, 11:19 AM · MacOS, Bug Report, gnupg
grobian set Version to 2.1.19 on T2981: struct ucred usage needs ucred.h on Solaris.
Mar 2 2017, 10:59 AM · In Progress, Bug Report, gnupg
grobian added a comment to T2981: struct ucred usage needs ucred.h on Solaris.

D413: 965_gnupg-2.1.19-solaris-ucred.patch

Mar 2 2017, 10:59 AM · In Progress, Bug Report, gnupg
grobian added projects to T2981: struct ucred usage needs ucred.h on Solaris: gnupg, Bug Report.
Mar 2 2017, 10:59 AM · In Progress, Bug Report, gnupg
ilovezfs added a comment to T2980: ssh-import.scm fails during "make check" with gnupg 2.1.19.

Here's the successful log with --no-sandbox:
https://gist.githubusercontent.com/ilovezfs/a886421569e625d0b7051cf8e9bfea53/raw/77aec417f54ed3d996eb340f826de9d7569088f5/gistfile1.txt

Mar 2 2017, 10:52 AM · MacOS, Bug Report, gnupg
justus added a comment to T2980: ssh-import.scm fails during "make check" with gnupg 2.1.19.

This is not about socket directories, and SSH_AUTH_SOCK is set properly (as
demonstrated by the fact that dsa and rsa works).

Mar 2 2017, 10:49 AM · MacOS, Bug Report, gnupg
justus closed T2847: ssh.scm fails to import ecdsa key on macOS as Resolved.
Mar 2 2017, 10:19 AM · MacOS, Bug Report, gnupg
justus removed a project from T2847: ssh.scm fails to import ecdsa key on macOS: Restricted Project.
Mar 2 2017, 10:19 AM · MacOS, Bug Report, gnupg
ilovezfs added a comment to T2980: ssh-import.scm fails during "make check" with gnupg 2.1.19.

mkdir /run/user/YOURUID

/run is not a thing on macOS. /var/run is but requires root access. The default
socket location on macOS is

iMac-TMP:~ joe$ ls -al /tmp/com.apple.launchd.OWt2QNcw7V
total 0
drwx------   2 joe   wheel   102 Mar  1 21:13 .
drwxrwxrwt  76 root  wheel  2686 Mar  2 00:44 ..
srw-rw-rw-   1 joe   admin     0 Mar  1 21:13 Listeners

One such directory and socket are created for each user when using ssh.

Note that I had tried hacking in /usr/local/var/run in place of your /run, and
creating the directory, etc., which the test did proceed to use but it didn't
resolve the problem. (I had done that before reporting here.)

Mar 2 2017, 10:16 AM · MacOS, Bug Report, gnupg
ilovezfs added a comment to T2980: ssh-import.scm fails during "make check" with gnupg 2.1.19.

Yup! And remember, that was only a <= 10.10 issue, whereas the new "fun" is
across the board, 10.10, 10.11, and 10.12 (probably <= 10.9 too but we don't
test those).

Mar 2 2017, 10:11 AM · MacOS, Bug Report, gnupg
justus removed a project from T2947: ssh-import.scm test fails on Yosemite: Restricted Project.
Mar 2 2017, 10:10 AM · Bug Report, gnupg
justus closed T2947: ssh-import.scm test fails on Yosemite as Resolved.
Mar 2 2017, 10:10 AM · Bug Report, gnupg
justus added a comment to T2980: ssh-import.scm fails during "make check" with gnupg 2.1.19.

Oh cool, so that patch was effective :)

Mar 2 2017, 10:09 AM · MacOS, Bug Report, gnupg
ilovezfs added a comment to T2980: ssh-import.scm fails during "make check" with gnupg 2.1.19.

Your T2947 says otherwise. So does T2847. Can you please clarify that?

Sure. I'm referring to 2.1.18 with your subsequent fixes. See
https://github.com/Homebrew/homebrew-versions/commit/8243792932da5b7746bf229d4b63abd7592b21b3
which has the relevant patches (thank you) on the left side of the diff.

Mar 2 2017, 9:54 AM · MacOS, Bug Report, gnupg
werner added a comment to T2979: "make check" cannot run before "make install" with gnupg 2.1.19.

Thanks. Can you please run the test again with

make check BIN_PREFIX=/usr/local/Cellar/gnupg21/2.1.19

Mar 2 2017, 9:53 AM · Duplicate, gnupg, Bug Report
justus added a project to T2980: ssh-import.scm fails during "make check" with gnupg 2.1.19: MacOS.
Mar 2 2017, 9:50 AM · MacOS, Bug Report, gnupg
justus added a comment to T2980: ssh-import.scm fails during "make check" with gnupg 2.1.19.

2.1.18 did not have this problem, and the tests completed successfully within
the sandboxed Homebrew build environment.

Your T2947 says otherwise. So does T2847. Can you please clarify that?

This is the interesting part of the log:

Importing ssh keys...

> dsa Executing: '/usr/bin/ssh-add' '-'

Identity added: (stdin) ((stdin))
Executing: '/usr/bin/ssh-add' '-l' '-E' 'md5'
rsa Executing: '/usr/bin/ssh-add' '-'
Identity added: (stdin) ((stdin))
Executing: '/usr/bin/ssh-add' '-l' '-E' 'md5'
ecdsa Executing: '/usr/bin/ssh-add' '-'
Identity added: (stdin) ((stdin))
Executing: '/usr/bin/ssh-add' '-l' '-E' 'md5'
error fetching identities for protocol 1: agent refused operation
error fetching identities for protocol 2: agent refused operation

So, what happens for 'dsa', 'rsa', 'ecdsa' is that first the key is added, then
with ssh-add -l we check that it is in fact added. This works for dsa and rsa,
but fails for ecdsa.

Can you please give us ssh -V, and describe the sandbox environment? Does it
affect which ssh version is used?

Mar 2 2017, 9:50 AM · MacOS, Bug Report, gnupg
justus claimed T2980: ssh-import.scm fails during "make check" with gnupg 2.1.19.
Mar 2 2017, 9:50 AM · MacOS, Bug Report, gnupg
werner set Version to 2.1.19 on T2980: ssh-import.scm fails during "make check" with gnupg 2.1.19.
Mar 2 2017, 9:47 AM · MacOS, Bug Report, gnupg
werner added a comment to T2980: ssh-import.scm fails during "make check" with gnupg 2.1.19.

This seems indeed a different problem than 2979.

SSH_AUTH_SOCK seems not to be set. I would suggest to try

mkdir /run/user/YOURUID
chown YOURUID /run/user/YOURUID

and try again.

Mar 2 2017, 9:47 AM · MacOS, Bug Report, gnupg
justus closed T2387: GNUPGHOME with newlines breaks standard parsing of gpgconf --list-dirs as Resolved.
Mar 2 2017, 9:35 AM · gnupg (gpg22), Bug Report, gnupg
justus added a comment to T2387: GNUPGHOME with newlines breaks standard parsing of gpgconf --list-dirs.

As of e064c75b08a523f738108428fe0c417a46e66238 newlines are always escaped.

Mar 2 2017, 9:35 AM · gnupg (gpg22), Bug Report, gnupg
ilovezfs added a comment to T2979: "make check" cannot run before "make install" with gnupg 2.1.19.

macOS 10.10, 10.11, 10.12

They're nearly the same, but T2980 has the workaround for this issue in
place (running make install first), so that it's clear the ssh-import.scm
problem is an independent issue.

Mar 2 2017, 9:33 AM · Duplicate, gnupg, Bug Report
werner added a project to T2979: "make check" cannot run before "make install" with gnupg 2.1.19: Duplicate.
Mar 2 2017, 9:30 AM · Duplicate, gnupg, Bug Report
werner added a project to T2979: "make check" cannot run before "make install" with gnupg 2.1.19: gnupg.
Mar 2 2017, 9:30 AM · Duplicate, gnupg, Bug Report
ilovezfs added projects to T2980: ssh-import.scm fails during "make check" with gnupg 2.1.19: gnupg, Bug Report.
Mar 2 2017, 7:21 AM · MacOS, Bug Report, gnupg

Mar 1 2017

werner added a project to T2381: Add more support for profiles in gpgconf: In Progress.
Mar 1 2017, 9:09 PM · In Progress, gnupg (gpg22), gnupg, Feature Request
werner removed a project from T2381: Add more support for profiles in gpgconf: Restricted Project.
Mar 1 2017, 9:09 PM · In Progress, gnupg (gpg22), gnupg, Feature Request
werner added a comment to T2381: Add more support for profiles in gpgconf.

Let's keep this one open to track missing options.

Mar 1 2017, 9:09 PM · In Progress, gnupg (gpg22), gnupg, Feature Request
werner renamed T2381: Add more support for profiles in gpgconf from Add support for profiles in gpgconf to Add more support for profiles in gpgconf.
Mar 1 2017, 9:09 PM · In Progress, gnupg (gpg22), gnupg, Feature Request
werner removed a project from T1804: HKPS scheme support for Windows Installer: Unreleased.
Mar 1 2017, 9:06 PM · Bug Report, gnupg, dirmngr
werner removed a project from T2976: Cannot add an existing Curve 25519 subkey: Unreleased.
Mar 1 2017, 9:05 PM · gnupg, Bug Report
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 claimed T2387: GNUPGHOME with newlines breaks standard parsing of gpgconf --list-dirs.
Mar 1 2017, 5:47 PM · gnupg (gpg22), Bug Report, gnupg
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, rc, gnupg, gnupg (gpg22), dirmngr
justus closed T2965: WKD lookup fails due to overly specific Host: header as Resolved.
Mar 1 2017, 2:54 PM · Bug Report, rc, gnupg, gnupg (gpg22), dirmngr
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, rc, gnupg, gnupg (gpg22), dirmngr
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
werner added a comment to T2973: --export-options export-minimal does not work with --export-secret-keys.

Fix pushed. Thanks.

Mar 1 2017, 2:45 PM · Bug Report, gnupg
werner removed a project from T2973: --export-options export-minimal does not work with --export-secret-keys: In Progress.
Mar 1 2017, 2:45 PM · Bug Report, gnupg
werner closed T2973: --export-options export-minimal does not work with --export-secret-keys as Resolved.
Mar 1 2017, 2:45 PM · Bug Report, gnupg
werner added a project to T2973: --export-options export-minimal does not work with --export-secret-keys: In Progress.
Mar 1 2017, 2:30 PM · Bug Report, gnupg
werner added a comment to T2973: --export-options export-minimal does not work with --export-secret-keys.

Simply not implemented. Will be in 2.1.19

Mar 1 2017, 2:30 PM · Bug Report, gnupg
werner closed T2976: Cannot add an existing Curve 25519 subkey as Resolved.
Mar 1 2017, 1:40 PM · gnupg, Bug Report
werner added a comment to T2976: Cannot add an existing Curve 25519 subkey.

Thanks for reporting. Fixed in master for 2.1.19.

Mar 1 2017, 1:40 PM · gnupg, Bug Report
werner added a project to T2976: Cannot add an existing Curve 25519 subkey: Unreleased.
Mar 1 2017, 1:40 PM · gnupg, Bug Report
werner added a comment to T1001: Solaris requires CONFIG_SHELL to be set.

Finally fixed in 2.0.11
(restored T1001 (wk on Mar 03 2009, 04:58 PM / Roundup))

Mar 1 2017, 9:07 AM · gnupg, Feature Request
werner closed T1001: Solaris requires CONFIG_SHELL to be set as Resolved.
Mar 1 2017, 9:07 AM · gnupg, Feature Request
werner reopened T1001: Solaris requires CONFIG_SHELL to be set as "Open".
Mar 1 2017, 9:05 AM · gnupg, Feature Request
werner added a comment to T2977: dirmngr 2.1.18 fails if keyserver's IP is defined in /etc/hosts.

(sorry, I accidentally removed the attached while while editing the mime type)

Mar 1 2017, 7:40 AM · dirmngr, gnupg, Bug Report
werner added a project to T2977: dirmngr 2.1.18 fails if keyserver's IP is defined in /etc/hosts: gnupg.
Mar 1 2017, 7:38 AM · dirmngr, gnupg, Bug Report
werner added a comment to T2964: dirmngr and gpg-agent should work automatically even when GNUPGHOME is larger than sun_path.

Can we test whether /run is mounted on a tmpfs ?
should we assume that /run is always on a tmpfs but /var/run is a classical Unix
w/o a tmpfs? Or is it better to have a configure option.

I can imagine to agree to auto-create the directory on a tmpfs.

Mar 1 2017, 7:31 AM · Stalled, scd, gpgagent, Bug Report, gnupg, dirmngr
werner added a project to T2976: Cannot add an existing Curve 25519 subkey: gnupg.
Mar 1 2017, 7:26 AM · gnupg, Bug Report
werner set Version to 2.1.18 on T2976: Cannot add an existing Curve 25519 subkey.
Mar 1 2017, 7:26 AM · gnupg, Bug Report
dkg added a comment to T2964: dirmngr and gpg-agent should work automatically even when GNUPGHOME is larger than sun_path.

Yes, notmuch decided that they needed to workaround the situation anyway,
because they're in an environment that doesn't create the standard per-user
rundir. That doesn't seem like a great argument that gpg should also fail in
environments where the standard per-user rundir is available. I can demonstrate
a number of environments where gpg or its daemons will fail, but i don't think
any of them justify forcing gpg or its daemons to *also* fail when those
environments aren't present.

In answer to your nitpick, here is evidence that gpg's daemons cannot create
their sockets when the GNUPGHOME is too long:

1 dkg@alice:~$ mkdir -m 0700
/home/dkg/tmp/very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-long
0 dkg@alice:~$
GNUPGHOME=/home/dkg/tmp/very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-long
gpgconf --launch dirmngr
gpgconf: error running '/usr/bin/gpg-connect-agent': exit status 1
gpgconf: error running '/usr/bin/gpg-connect-agent --dirmngr NOP': General error
1 dkg@alice:~$

Mar 1 2017, 2:02 AM · Stalled, scd, gpgagent, Bug Report, gnupg, dirmngr
gniibe added a comment to T2939: Should not be required to manually `killagent` on card removal.

FYI: It is fixed in 2.1.
Backporting the change to 2.0 will be a bit large, and I hesitate to do that.

Mar 1 2017, 1:10 AM · gnupg (gpg20), Bug Report, gnupg
gniibe claimed T2953: scdaemon fails to decrypt if unusual key-size is chosen.
Mar 1 2017, 1:05 AM · Bug Report, gnupg, scd
gniibe added a comment to T1621: Support multiple cards (not just readers).

Simple workaround is having multiple readers...

Most card readers only support a single card.
(This is the reason why it is not yet implemented.)
Could you please let us know the reader which supports multiple cards?

Mar 1 2017, 1:00 AM · gnupg, Feature Request

Feb 28 2017

sedrubal changed Version from 2.0.22 to 2.1.13 on T1621: Support multiple cards (not just readers).
Feb 28 2017, 11:43 PM · gnupg, Feature Request
sedrubal added a comment to T1621: Support multiple cards (not just readers).

I was actually surprised to find out this doesn't already work...

I would like to be able to have two or more GnuPG cards inserted at the same
time, and have gnupg/gpg-agent/scdaemon notice all of them and use whichever one
was appropriate for the operation at hand, without my having to switch them in
and out.

My personal application for this is that I have a personal key and a work key,
and I want to be able to sign with either of them without having to swap
hardware around. It's pretty easy to set up all the other parts of this to be
seamless with Thunderbird/Enigmail/gnupg2... it works fine until you move the
keys to cards, at which point gnupg's inability to automatically choose the card
it needs really shows up.

In an ideal world, this would also work with gpg-agent as a backend for ssh.

Feb 28 2017, 11:43 PM · gnupg, Feature Request
justus added a comment to T2964: dirmngr and gpg-agent should work automatically even when GNUPGHOME is larger than sun_path.

Notmuch deemed --create-socketdir to be insufficient for their test suite:

https://notmuchmail.org/pipermail/notmuch/2017/024148.html

Now they create GNUPGHOMEs in /tmp. That is exactly what our test suite does.

(We also use --create-socketdir, but we don't rely on it, and indeed, on my
system it fails b/c the per-user directory is not created. Likewise on the
OpenBSD build server, and the macOS one.)

Nitpick: You wrote:

when GNUPGHOME points to a directory whose path is larger than
sockaddr_un.sun_path, daemons like gpg-agent and dirmngr cannot create their
sockets.

I don't think this is correct. I have not seen any evidence that creating the
socket is problematic.

Feb 28 2017, 4:39 PM · Stalled, scd, gpgagent, Bug Report, gnupg, dirmngr
justus added projects to T2964: dirmngr and gpg-agent should work automatically even when GNUPGHOME is larger than sun_path: gnupg (gpg22), gpgagent, scd.
Feb 28 2017, 4:39 PM · Stalled, scd, gpgagent, Bug Report, gnupg, dirmngr
justus added a comment to T2381: Add more support for profiles in gpgconf.

As of d379a0174cca595204b32da9a66c513a1304e6d0 auto-key-retrieve is configurable.

Feb 28 2017, 3:01 PM · In Progress, gnupg (gpg22), gnupg, Feature Request
justus added a project to T2381: Add more support for profiles in gpgconf: Restricted Project.
Feb 28 2017, 1:29 PM · In Progress, gnupg (gpg22), gnupg, Feature Request
justus added a comment to T2381: Add more support for profiles in gpgconf.

As of ebeccd73eb85f9027f0985d77dfe901266c6ddef the trust model is configurable
via gpgconf.

Feb 28 2017, 1:29 PM · In Progress, gnupg (gpg22), gnupg, Feature Request

Feb 23 2017

werner closed T1804: HKPS scheme support for Windows Installer as Resolved.
Feb 23 2017, 8:39 PM · Bug Report, gnupg, dirmngr
werner added a comment to T1804: HKPS scheme support for Windows Installer.

ntbtls support is now available in master and we will release a TLS enabled
2.1.19 installer for Windows.

Right now it is somewhat limited and does not work with some sites, notably
those which allow only ECC ciphersuites. An example for such a site is
posteo.de. Note that posteo.net sends a a bogus certifcate with rediretion to
posteo.de.

Most other sites work.

Feb 23 2017, 8:39 PM · Bug Report, gnupg, dirmngr
werner added a project to T1804: HKPS scheme support for Windows Installer: Unreleased.
Feb 23 2017, 8:39 PM · Bug Report, gnupg, dirmngr
werner added a project to T2974: Problems with cv25519 pub subkeys and elder GnuPG 2 versions: Documentation.
Feb 23 2017, 8:29 PM · gnupg, Documentation
werner added a comment to T2974: Problems with cv25519 pub subkeys and elder GnuPG 2 versions.

Ubuntu uses a bad combination of an older gpg version and a more current
libgcrypt version. We can't do anything about it. Someone may want to escalate
this to Ubuntu; they should definitely get an update out.

Feb 23 2017, 8:29 PM · gnupg, Documentation
werner closed T2974: Problems with cv25519 pub subkeys and elder GnuPG 2 versions as Invalid.
Feb 23 2017, 8:26 PM · gnupg, Documentation
werner removed a project from T2974: Problems with cv25519 pub subkeys and elder GnuPG 2 versions: Bug Report.
Feb 23 2017, 8:26 PM · gnupg, Documentation
bernhard added projects to T2974: Problems with cv25519 pub subkeys and elder GnuPG 2 versions: gnupg, Bug Report.
Feb 23 2017, 2:22 PM · gnupg, Documentation

Feb 22 2017

dkg added projects to T2973: --export-options export-minimal does not work with --export-secret-keys: gnupg, Bug Report.
Feb 22 2017, 11:47 PM · Bug Report, gnupg
dkg set Version to 2.1.18 on T2973: --export-options export-minimal does not work with --export-secret-keys.
Feb 22 2017, 11:47 PM · Bug Report, gnupg