Page MenuHome GnuPG
Feed Advanced Search

Mar 3 2017

JochenSaalfeld added projects to T2984: Windows: Unable to import CRL: gpg4win, Bug Report.
Mar 3 2017, 1:38 PM · Bug Report, gpg4win
JochenSaalfeld updated subscribers of T2984: Windows: Unable to import CRL.
Mar 3 2017, 1:38 PM · Bug Report, gpg4win
JochenSaalfeld updated subscribers of T2983: Umlaut is not correctly displayed, when there is an error during crl-import in Kleopatra.
Mar 3 2017, 1:37 PM · Bug Report, gpg4win
JochenSaalfeld added a comment to T2983: Umlaut is not correctly displayed, when there is an error during crl-import in Kleopatra.

Mar 3 2017, 1:37 PM · Bug Report, gpg4win
JochenSaalfeld added projects to T2983: Umlaut is not correctly displayed, when there is an error during crl-import in Kleopatra: gpg4win, Bug Report.
Mar 3 2017, 1:37 PM · Bug Report, gpg4win
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
aheinecke added a comment to T2982: Scdaemon, w32 hang if two assuan connections are made in parallel.

With this patch the log message is different (No such file or directory). Hang
still happens.

2017-03-03 10:21:06 scdaemon[8604] DBG: enter: apdu_get_status: slot=0 hang=0
2017-03-03 10:21:06 scdaemon[8604] DBG: leave: apdu_get_status => sw=0x0 status=7
2017-03-03 10:21:06 scdaemon[8604] npth_pselect failed: No such file or
directory - waiting 1s

Mar 3 2017, 10:22 AM · Unreleased, gpg4win, Bug Report, gnupg, scd
aheinecke added a comment to T2982: Scdaemon, w32 hang if two assuan connections are made in parallel.

Version was 2.1.19 from the installer built by werner / the speedo system.

I'll try out the patch

Mar 3 2017, 9:09 AM · Unreleased, gpg4win, Bug Report, gnupg, scd
gniibe claimed T2980: ssh-import.scm fails during "make check" with gnupg 2.1.19.
Mar 3 2017, 8:39 AM · MacOS, Bug Report, gnupg
gniibe added a comment to T2980: ssh-import.scm fails during "make check" with gnupg 2.1.19.

I think that scdaemon in 2.1.18 would also crash in sandbox environment.
In 2.1.19, I modified ssh-agent emulation code to support multiple tokens.
This change assumes scdaemon returns ENODEV return code and behaves badly, if
scdaemon crashes.
In 2.1.18, the code was somewhat robust and scdaemon crash didn't cause failure.
I am currently looking into the reason why scdaemon crashes.

Mar 3 2017, 8:39 AM · MacOS, Bug Report, gnupg
gniibe added a comment to T2982: Scdaemon, w32 hang if two assuan connections are made in parallel.

It seems npth_eselect is for network FDs.

How about this change?

diff --git a/scd/scdaemon.c b/scd/scdaemon.c
index f7e9f83b5..462ff1b3e 100644

  • a/scd/scdaemon.c

+++ b/scd/scdaemon.c
@@ -1291,7 +1291,7 @@ handle_connections (int listen_fd)

while (npth_sigev_get_pending(&signo))
  handle_signal (signo);

#else

  • ret = npth_eselect (nfd+1, &read_fdset, NULL, NULL, t, NULL, NULL);

+ ret = npth_select (nfd+1, &read_fdset, NULL, NULL, t);

saved_errno = errno;

#endif

Mar 3 2017, 6:24 AM · Unreleased, gpg4win, Bug Report, gnupg, scd
gniibe added a comment to T2982: Scdaemon, w32 hang if two assuan connections are made in parallel.

It is selecting FD which is created by gnupg_create_pipe.

Mar 3 2017, 6:15 AM · Unreleased, gpg4win, Bug Report, gnupg, scd
gniibe added a comment to T2982: Scdaemon, w32 hang if two assuan connections are made in parallel.

Version information, please.

I cannot replicate this on GNU/Linux with PC/SC (by disable-ccid).
Anyway, I am looking into this issue:

npth_pselect failed: Input/output error - waiting 1s
Mar 3 2017, 5:55 AM · Unreleased, gpg4win, Bug Report, gnupg, scd

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
neal added a comment to T2853: Signature Verification returning 'gpg: DBG: tofu.c:2772: strtoul failed for DB returned string (tail=): Invalid argument'.

Glenn: I'm not exactly sure why your scenario exposed this issue. I suspect
that it has something to do with you have never used this key for encryption
prior to the verification, but it would require more investigation to confirm.

Mar 2 2017, 8:32 PM · Bug Report, gnupg
werner renamed T2911: Key creation problem with 2.1.16 (passphrase param) from Key creation problem with 2.1.16 (passphrase cache) to Key creation problem with 2.1.16 (passphrase param).
Mar 2 2017, 8:24 PM · Bug Report, gnupg
werner renamed T2911: Key creation problem with 2.1.16 (passphrase param) from Key creation problem with 2.1.16 to Key creation problem with 2.1.16 (passphrase cache).
Mar 2 2017, 8:24 PM · Bug Report, gnupg
werner closed T2888: FAQ entry on WKD used in messages from the WKS server is a stub as Resolved.
Mar 2 2017, 8:17 PM · Bug Report, gnupg, Documentation
werner added a comment to T2888: FAQ entry on WKD used in messages from the WKS server is a stub.

The page now links to the Wiki which makes sure that things are up to date.

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

Neal: Do you have an answer for him?

Mar 2 2017, 8:11 PM · Bug Report, gnupg
werner closed T2851: redefinition of typedef 'rfc822parse_t' as Resolved.
Mar 2 2017, 8:10 PM · Bug Report, gnupg
werner added a comment to T2851: redefinition of typedef 'rfc822parse_t'.

Fixed with commit b1f48da for 2.1.20

Mar 2 2017, 8:10 PM · Bug Report, gnupg
werner added a project to T2818: expected behavior unclear when using gpg from ssh on a machine with a running X11 session: pinentry.
Mar 2 2017, 7:55 PM · pinentry, Bug Report
werner removed a project from T2818: expected behavior unclear when using gpg from ssh on a machine with a running X11 session: gnupg.
Mar 2 2017, 7:55 PM · pinentry, Bug Report
werner changed Version from 2.1.15 to gnome on T2818: expected behavior unclear when using gpg from ssh on a machine with a running X11 session.
Mar 2 2017, 7:55 PM · pinentry, Bug Report
werner added a comment to T2818: expected behavior unclear when using gpg from ssh on a machine with a running X11 session.

Changed category to pinentry - this is a pinentry-gnome (ie. gcr) problem.

Mar 2 2017, 7:55 PM · pinentry, Bug Report
werner added a project to T2822: gnupg 1.4 sometimes truncates pubring.gpg on SIGINT: gnupg (gpg14).
Mar 2 2017, 7:50 PM · gnupg (gpg14), Bug Report, gnupg
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
werner added a comment to T2813: gnupg v2 does not allow for parallel processing any more.

Did you changed --default-cache-ttl or --max-cache-ttl to zero or another small
value? The multifile feature requires that the passphrase cache has been enabled.

Mar 2 2017, 7:40 PM · gnupg, Info Needed
werner added a comment to T2963: gpgme_op_revuid fails silently trying to revoke a non-existent uid.

Duplicate of T2962

Mar 2 2017, 5:01 PM · gpgme, Bug Report
werner added a project to T2963: gpgme_op_revuid fails silently trying to revoke a non-existent uid: Duplicate.
Mar 2 2017, 5:01 PM · gpgme, Bug Report
werner added a comment to T2960: --quick-revoke-uid can be used to revoke last uid, contrary to docs.

I think it is easier to enforce this than to handle bug reports due to
export/import and whatever problems.

Mar 2 2017, 5:00 PM · Bug Report, gnupg, gnupg (gpg22)
werner added a comment to T2981: struct ucred usage needs ucred.h on Solaris.

We should better fix that by adding a new API to libassuan so that we have that
code only once.

Thanks for the report.

Mar 2 2017, 4:58 PM · In Progress, Bug Report, gnupg
werner added a comment to T2917: --locate-key should re-fetch key via WKD if it is expired.

Shall I then thake this bug?

Mar 2 2017, 4:55 PM · gnupg (gpg22), Bug Report
werner added a comment to T2917: --locate-key should re-fetch key via WKD if it is expired.

That implicit local is for backward compatibility and to avoid network lookups
as much as possible (privacy leak). "clear" is required because auto-key-locate
is cumulative.

Mar 2 2017, 4:54 PM · gnupg (gpg22), Bug Report
werner reassigned T2982: Scdaemon, w32 hang if two assuan connections are made in parallel from werner to gniibe.
Mar 2 2017, 4:48 PM · Unreleased, gpg4win, Bug Report, gnupg, scd
werner added a comment to T2982: Scdaemon, w32 hang if two assuan connections are made in parallel.

I doubt that this is Windows only. On Linux we use our own driver but on
Windows we have to resort to PC/SC. My educated guess is that we are in some
blocking system call which is not npth_unprotected.

Mar 2 2017, 4:48 PM · Unreleased, gpg4win, Bug Report, gnupg, scd
aheinecke added projects to T2982: Scdaemon, w32 hang if two assuan connections are made in parallel: scd, gnupg, Bug Report, gpg4win.
Mar 2 2017, 4:37 PM · Unreleased, gpg4win, Bug Report, gnupg, scd
justus added a comment to T2695: gpg --always-trust --quick-gen-key fails to create a trust database.

Fixed in 0c4d0620d327e8a2069532a5519afefe867a47d6.

Mar 2 2017, 4:28 PM · Bug Report, gnupg, gnupg (gpg22)
justus closed T2695: gpg --always-trust --quick-gen-key fails to create a trust database as Resolved.
Mar 2 2017, 4:28 PM · Bug Report, gnupg, gnupg (gpg22)
justus added a comment to T2917: --locate-key should re-fetch key via WKD if it is expired.

So I went over the code that does --locate-key. There, the available methods
are ordered, and if 'local' is not given, it is explicitly done first, unless
'nodefault' is given. This is one of the parts of GnuPG that I'm really afraid
to change ;)

Mar 2 2017, 4:24 PM · gnupg (gpg22), Bug Report
werner reopened T2695: gpg --always-trust --quick-gen-key fails to create a trust database as "Open".
Mar 2 2017, 3:49 PM · Bug Report, gnupg, gnupg (gpg22)
werner added a comment to T2695: gpg --always-trust --quick-gen-key fails to create a trust database.

I have to refine my statement. We store the 'ultimateley trusted flag in the
trustdb and thus we require a trustdb when creating a new key. That is so that
we know the key has been created by us and is not an imported key.
Thus for most commands the trustdb should not be created but for key generation
it is better to safe that ultimately trusted flag in the trustdb.

Mar 2 2017, 3:49 PM · Bug Report, gnupg, gnupg (gpg22)
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 · Bug Report, gnupg, Duplicate
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 · Bug Report, gnupg, Duplicate
werner added a comment to T2979: "make check" cannot run before "make install" with gnupg 2.1.19.

Duplicate of T2980

Mar 2 2017, 9:30 AM · Bug Report, gnupg, Duplicate
werner set Version to 2.1.19 on T2979: "make check" cannot run before "make install" with gnupg 2.1.19.
Mar 2 2017, 9:30 AM · Bug Report, gnupg, Duplicate
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 · Bug Report, gnupg, Duplicate
werner added a comment to T2979: "make check" cannot run before "make install" with gnupg 2.1.19.

Please describe your platform.
I guess the log is the same as in T2980, thus I will merge them.

Mar 2 2017, 9:30 AM · Bug Report, gnupg, Duplicate
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 · Bug Report, gnupg, Duplicate
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
ilovezfs added a project to T2979: "make check" cannot run before "make install" with gnupg 2.1.19: Bug Report.
Mar 2 2017, 7:04 AM · Bug Report, gnupg, Duplicate

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