Page MenuHome GnuPG
Feed Advanced Search

Apr 24 2017

aheinecke added a comment to D418: core: Don't split gpgconf strings on comma.

Ping. Is this patch ok? I'm pretty sure it is and I've included it in Gpg4win but before I can push the default_pubkey_algo respecting change to Kleopatra I need this to work in GPGME.

Apr 24 2017, 2:50 PM · gpgme
aheinecke edited projects for T3058: Implement GUI for compliance mode, added: g10code Sprint (KW 17); removed g10code Sprint (KW 16).
Apr 24 2017, 10:09 AM · kleopatra, gpgol

Apr 20 2017

aheinecke claimed T2984: Windows: Unable to import CRL.

Thanks for looking into it but sadly this did not fix the problem. I'll try to attach a debugger or trace with printf tomorrow where libksba thinks the CRL is invalid and how this differs from the success case with t-crl-parser.
So I'm claiming this task again for that.
But I also think that a unit test that does an S/MIME import / trustlist change / CRL Imports and then an encryption without crl-checks disabled would be useful.

Apr 20 2017, 4:14 PM · Bug Report, gpg4win
aheinecke committed rK3bb0c54fe47e: tests: Open testfile in binary mode (authored by aheinecke).
tests: Open testfile in binary mode
Apr 20 2017, 3:32 PM
aheinecke added a comment to T2984: Windows: Unable to import CRL.

I don't think that is the case because the CRL works on Linux and t-crl-parser from libksba correctly parses the crl on both Windows and Linux.

Apr 20 2017, 2:09 PM · Bug Report, gpg4win
aheinecke added a comment to T2984: Windows: Unable to import CRL.

On Windows I can reproduce the problem this way:

Apr 20 2017, 11:31 AM · Bug Report, gpg4win
aheinecke added a comment to T2984: Windows: Unable to import CRL.

Before the gpg-agent is started you need to create a file trustlist.txt:

Apr 20 2017, 11:13 AM · Bug Report, gpg4win

Apr 19 2017

aheinecke added a comment to T2984: Windows: Unable to import CRL.

Yes I see this behavior on Linux, too (needs two tries). I have not yet reported a specific issue but this as it does not hurt my usecase (Kleopatra / GpgOL) because there you are asked when you import the key / when a keylist --with-validation is done if you want to trust the root certificate. Which happens before the certificate is used in an operation.
The problem for me is that CRL checks, at least against our current CRL fail (on windows) but not on linux.

Apr 19 2017, 2:30 PM · Bug Report, gpg4win
aheinecke added a comment to T2984: Windows: Unable to import CRL.

Note: This is Windows only!

Apr 19 2017, 1:54 PM · Bug Report, gpg4win

Apr 18 2017

aheinecke reopened T3058: Implement GUI for compliance mode as "Open".

Accidentally marked this as resolved when I only wanted to update the status.

Apr 18 2017, 11:50 AM · kleopatra, gpgol
aheinecke committed rW7f808d27de24: Update GnuPG to 2.1.20 (authored by aheinecke).
Update GnuPG to 2.1.20
Apr 18 2017, 11:47 AM
aheinecke closed T3058: Implement GUI for compliance mode as Resolved.

As a first version you can now apply profiles in Kleopatra. It also respects the default_pubkey_algo_name and shows in tooltips / certificate details if a certificate is compliant.

Apr 18 2017, 10:15 AM · kleopatra, gpgol
aheinecke edited projects for T3058: Implement GUI for compliance mode, added: g10code Sprint (KW 16); removed g10code Sprint (KW 15).
Apr 18 2017, 10:14 AM · kleopatra, gpgol

Apr 13 2017

aheinecke committed rGPA2dae64a65080: w32: Make location of locale dir more flexible (authored by aheinecke).
w32: Make location of locale dir more flexible
Apr 13 2017, 12:19 PM
aheinecke committed rW4dba6f53e5f2: Add patch for GPA locale detection (authored by aheinecke).
Add patch for GPA locale detection
Apr 13 2017, 10:58 AM

Apr 11 2017

aheinecke edited projects for T3058: Implement GUI for compliance mode, added: g10code Sprint (KW 15); removed g10code Sprint (KW 14).
Apr 11 2017, 5:50 PM · kleopatra, gpgol
aheinecke created T3083: Smartcard access may fail with error "Invalid Value" after resuming system from suspend in the S1 Public space.
Apr 11 2017, 11:36 AM · Restricted Project, gnupg (gpg22), scd

Apr 6 2017

aheinecke edited projects for T3058: Implement GUI for compliance mode, added: g10code Sprint (KW 14); removed g10code Sprint (KW 15).
Apr 6 2017, 4:29 PM · kleopatra, gpgol
aheinecke added a project to T3058: Implement GUI for compliance mode: g10code Sprint (KW 15).
Apr 6 2017, 4:24 PM · kleopatra, gpgol

Apr 5 2017

aheinecke updated the test plan for D418: core: Don't split gpgconf strings on comma.
Apr 5 2017, 6:40 PM · gpgme
aheinecke updated the diff for D418: core: Don't split gpgconf strings on comma.

Patch now fixes the problem in gpgme

Apr 5 2017, 6:26 PM · gpgme
aheinecke updated the diff for D418: core: Don't split gpgconf strings on comma.

Update diff with arcanist

Apr 5 2017, 5:28 PM · gpgme
aheinecke created D418: core: Don't split gpgconf strings on comma.
Apr 5 2017, 5:05 PM · gpgme
aheinecke added a subtask for T3058: Implement GUI for compliance mode: T3059: Make information that a verifyresult / decrypt result was compliant to a compliance mode available through GPGME.
Apr 5 2017, 12:09 PM · kleopatra, gpgol
aheinecke added a parent task for T3059: Make information that a verifyresult / decrypt result was compliant to a compliance mode available through GPGME: T3058: Implement GUI for compliance mode.
Apr 5 2017, 12:09 PM · g10code Sprint (KW 22), gpgme, gnupg
aheinecke created T3059: Make information that a verifyresult / decrypt result was compliant to a compliance mode available through GPGME in the S1 Public space.
Apr 5 2017, 12:09 PM · g10code Sprint (KW 22), gpgme, gnupg
aheinecke created T3058: Implement GUI for compliance mode in the S1 Public space.
Apr 5 2017, 12:05 PM · kleopatra, gpgol

Apr 3 2017

aheinecke renamed T2984: Windows: Unable to import CRL from Unable to import CRL from file with Kleopatra to Windows: Unable to import CRL.
Apr 3 2017, 5:48 PM · Bug Report, gpg4win
aheinecke added a comment to T2984: Windows: Unable to import CRL.

To make this more precise I think above might actually be more then one bug.

Apr 3 2017, 5:47 PM · Bug Report, gpg4win
aheinecke abandoned D416: 991_0001-qt-pass-fmt-to-gpgrt_asprintf.patch.
Apr 3 2017, 12:20 PM
aheinecke commandeered D416: 991_0001-qt-pass-fmt-to-gpgrt_asprintf.patch.

Mh as I already pushed this I guess I should now commandeer it and then abandon it.

Apr 3 2017, 12:20 PM
aheinecke accepted D416: 991_0001-qt-pass-fmt-to-gpgrt_asprintf.patch.

Applied with 5d4f977dac542340c877fdd4b1304fa8f6e058e6

Apr 3 2017, 12:07 PM
aheinecke committed rM5d4f977dac54: qt: pass fmt to gpgrt_asprintf() (authored by ignatenkobrain).
qt: pass fmt to gpgrt_asprintf()
Apr 3 2017, 12:03 PM
aheinecke abandoned D403: 936_macos-cmake-config-fix.diff.

2e661b9e1a9b50656a5c9646d7444a98477010c1

Apr 3 2017, 11:56 AM
aheinecke abandoned D374: 848_0001-dirmngr-Print-ldap-error-if-bind-fails.patch.

5faddcb2927a997e05fb34eb270982096d1fe3a4

Apr 3 2017, 11:55 AM
aheinecke abandoned D381: 870_0001-dirmngr-Open-CRL-s-in-binary-mode.patch.

4644c27514f34f5efc555d43672a25088a611a72

Apr 3 2017, 11:54 AM
aheinecke abandoned D329: 685_0001-Dirmngr-Default-to-http-protocol-for-http-proxy.patch.

ea079d283de6bf4ac70d7530fac70938e7c5e8f5

Apr 3 2017, 11:53 AM
aheinecke abandoned D252: 507_0001-Check-gpg-agent-version-before-2.1-migration.patch.

a6fcdbc9e0fc0e45a3badc23813e689e83059b61

Apr 3 2017, 11:53 AM
aheinecke abandoned D287: 648_0001-sm-Fix-cert-storage-for-ephemeral-certs.patch.

5e1a844ae9b6730b4b8a2c9178ea9bc121560c28

Apr 3 2017, 11:52 AM
aheinecke abandoned D209: 447_keylist-shortening.patch.

I don't remember if this was submitted but it works now.

Apr 3 2017, 11:51 AM
aheinecke updated the image for Vacation from F47190: profile to F47212: profile.
Apr 3 2017, 11:25 AM
aheinecke updated the image for Vacation from F46902: fa-tags-blue.png to F47190: profile.
Apr 3 2017, 11:24 AM
aheinecke created T3032: Import of additional projects in the S1 Public space.
Apr 3 2017, 10:46 AM
aheinecke abandoned D369: 860_0001-Core-Add-file_size-support-to-gpgme_data.patch.

We have something like that now. :-)

Apr 3 2017, 10:41 AM
aheinecke abandoned D283: 555_0001-dirmngr-Clean-up-spawned-dirmngr_ldap-processes.patch.

Werner fixed this differently but it's fixed.

Apr 3 2017, 10:41 AM
aheinecke abandoned D210: 737_0001-Fix-windows-8bit-encoding-conversion.patch.

Submitted I think, or a different variant of it.

Apr 3 2017, 10:40 AM
aheinecke abandoned D211: 465_0001-Let-wchar_to_native-convert-to-console-codepage.patch.

Yeah! Love this patch. Was submitted.

Apr 3 2017, 10:39 AM
aheinecke abandoned D373: 849_0002-dirmngr-Try-ldap-protocol-V3-as-fallback.patch.

Submitted.

Apr 3 2017, 10:39 AM
aheinecke abandoned D364: 829_0001-Dirmngr-Treat-multiple-crlDPs-as-redundancies.patch.

Abandoned.

Apr 3 2017, 10:38 AM
aheinecke abandoned D401: 931_0001-qt-Add-test-for-CryptoConfig.patch.

This was submitted.

Apr 3 2017, 10:38 AM
aheinecke abandoned D192: 523_0001-Fix-gpgtar-8-bit-encoding-handling-on-Win32.patch.

This was submitted.

Apr 3 2017, 10:37 AM
aheinecke abandoned D289: 587_0001-gpgtar-Fix-extracting-files-with-size-512.patch.

Submittted

Apr 3 2017, 10:37 AM
aheinecke abandoned D327: 678_0001-Add-tests-for-threading-problems-in-keylist.patch.

This one is submitted in slightly different form.

Apr 3 2017, 10:36 AM
aheinecke abandoned D366: 825_fix-in-gpgmepp.patch.

Fixed that through white-listing the status instead of blacklisting errors.

Apr 3 2017, 10:08 AM
aheinecke abandoned D387: 897_keylist-from-data.diff.

This was already commited in a modified form.

Apr 3 2017, 10:07 AM

Mar 30 2017

aheinecke added a reverting change for rM57d60b20f16d: qt: Disable testEncryptDecryptNowrap: rMa2ccb3172896: Revert "qt: Disable testEncryptDecryptNowrap".
Mar 30 2017, 10:22 PM
aheinecke committed rMf8a9ecc6290e: python: Don't treat skipped tests as error (authored by aheinecke).
python: Don't treat skipped tests as error
Mar 30 2017, 4:22 PM
aheinecke committed rM2c063a8d6041: qt: Handle if gpg does not support tofu in test (authored by aheinecke).
qt: Handle if gpg does not support tofu in test
Mar 30 2017, 2:44 PM
aheinecke removed a project from T3008: GPGME: Unit test suite failure with gpg 2.0.24: Restricted Project.
Mar 30 2017, 12:57 PM · gpgme, Bug Report
aheinecke added a comment to T3008: GPGME: Unit test suite failure with gpg 2.0.24.

Then please fix that. TBH I find it annoying that you did not check that your
commit actually solves the problem. I mean just using the "stable" branch would
have been enough to see that.

It's important that GPGME builds / runs against all versions of GnuPG and most
distros treat test failures as build failures. Now 1.9 will again need patches
or the python bindings disabled which is creating unnecessary work downstream
which already had enough work with the recent releases.

Mar 30 2017, 12:57 PM · gpgme, Bug Report

Mar 28 2017

aheinecke added a comment to T2733: alternate header directory (--includedir) isn't set in GpgmeppConfig.cmake.

Yep

Mar 28 2017, 6:20 PM · gpgme, Bug Report
aheinecke closed T2733: alternate header directory (--includedir) isn't set in GpgmeppConfig.cmake as Resolved.
Mar 28 2017, 6:20 PM · gpgme, Bug Report
aheinecke added a reverted change for rMa2ccb3172896: Revert "qt: Disable testEncryptDecryptNowrap": rM57d60b20f16d: qt: Disable testEncryptDecryptNowrap.
Revert "qt: Disable testEncryptDecryptNowrap"
Mar 28 2017, 12:34 PM
aheinecke added projects to T3020: Lock files not compatible between Windows and Linux (invalid size): gnupg, Bug Report.
Mar 28 2017, 10:53 AM · Bug Report, gnupg

Mar 27 2017

aheinecke committed rM57d60b20f16d: qt: Disable testEncryptDecryptNowrap (authored by aheinecke).
qt: Disable testEncryptDecryptNowrap
Mar 27 2017, 6:11 PM

Mar 24 2017

aheinecke added a comment to T3008: GPGME: Unit test suite failure with gpg 2.0.24.

I've rebased the patches against 1.8.0 but I still saw 22 failing python tests
with 2.0.26

Master fails for me even harder with 36 tests failing.

The gpg-connect-agent call's fail because --agent-program is not supported. In
master we even have --debug-quick-random which is even more recent (but which we
would also need in random starved environments like build daemons)

My preferred solution at this point would be to just say for 2.0.x the python
tests are unsupported and disabled completely. All the problems are with our
agent setup regarding the test suite and not really with functionality.

Mar 24 2017, 3:53 PM · gpgme, Bug Report

Mar 16 2017

aheinecke added a comment to T2983: Umlaut is not correctly displayed, when there is an error during crl-import in Kleopatra.

Yeah I broke that by fixing GnuPG to output Console Encoding. Kleo uses Qt
::fromLocal8Bit which expects the GUI CP.

Messy stuff, need to figure out how to get the ACP through Qt or the QT Name of
the console codepage for conversion. This not only here but everywhere where
Kleo shows GnuPG's console output. There are also some bugs about this at
bugs.kde.org.

Mar 16 2017, 3:25 PM · Bug Report, gpg4win

Mar 13 2017

aheinecke added a comment to T2982: Scdaemon, w32 hang if two assuan connections are made in parallel.

I've tried latest master and it no longer hangs for me.

Thanks. Changing the status to not-released as this is fixed.

Mar 13 2017, 11:57 AM · Unreleased, gpg4win, Bug Report, gnupg, scd
aheinecke added a project to T2982: Scdaemon, w32 hang if two assuan connections are made in parallel: Unreleased.
Mar 13 2017, 11:57 AM · Unreleased, gpg4win, Bug Report, gnupg, scd
aheinecke closed T2982: Scdaemon, w32 hang if two assuan connections are made in parallel as Resolved.
Mar 13 2017, 11:57 AM · Unreleased, gpg4win, Bug Report, gnupg, scd
aheinecke added a comment to T2985: CRLs are not automatically loaded, when trying to send a mail to S/MIME recipient.

This was with gnupg 2.1.19 I think it's a duplicate of T2984 if the CRL
can't be loaded sending an S/MIME mail will fail.

Mar 13 2017, 10:08 AM · Bug Report, gpg4win

Mar 3 2017

aheinecke claimed T2984: Windows: Unable to import CRL.
Mar 3 2017, 1:40 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

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
aheinecke updated subscribers of T2982: Scdaemon, w32 hang if two assuan connections are made in parallel.
Mar 2 2017, 4:37 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

Mar 1 2017

aheinecke added a comment to T2971: Installing Gpg4win as another user.

Thanks for your report. Indeed it should work as you described and we have code
in the installer to print a non admin warning. If this is not shown then it is a
bug.

On a related note: I have on my TODO list to enable "Single User" installation
in case a user tries to install Gpg4win without admin rights, because with the
modern gnupg versions we don't need admin rights anymore. Would this also have
solved your problem but or do you specifically want to have Gpg4win installed
systemwide?

Mar 1 2017, 3:15 PM · Bug Report, gpg4win

Feb 22 2017

aheinecke set Version to master on T2972: GPGSM: Chain too long on cross signed certificate.
Feb 22 2017, 3:06 PM · Bug Report, gnupg, KDE, S/MIME
aheinecke added a comment to T2972: GPGSM: Chain too long on cross signed certificate.

Feb 22 2017, 3:06 PM · Bug Report, gnupg, KDE, S/MIME
aheinecke set External Link to https://bugs.kde.org/show_bug.cgi?id=376563 on T2972: GPGSM: Chain too long on cross signed certificate.
Feb 22 2017, 3:06 PM · Bug Report, gnupg, KDE, S/MIME
aheinecke added projects to T2972: GPGSM: Chain too long on cross signed certificate: S/MIME, KDE, gnupg, Bug Report.
Feb 22 2017, 3:06 PM · Bug Report, gnupg, KDE, S/MIME

Feb 14 2017

aheinecke closed T2324: gpg --batch --export-secret-key fails (requires user interaction) if key has no passphrase as Resolved.
Feb 14 2017, 1:43 PM · gnupg, OpenPGP, Bug Report
aheinecke added a comment to T2324: gpg --batch --export-secret-key fails (requires user interaction) if key has no passphrase.

Tested this again with 2.1.18 and it works now as expected. Export secret key
just exports a key if it has no passphrase. So I think this issue can be marked
as resolved.

Feb 14 2017, 1:43 PM · gnupg, OpenPGP, Bug Report

Feb 13 2017

aheinecke added a comment to T1982: pinentry-qt should fallback to curses if $DISPLAY is set but unavailable.

Testing this I noticed that the curses fallback did not work at all for Qt5
versions of pinentry-qt even if display was unset. This i fixed with cd7b35e

But the DISPLAY=:noexist case is more complicated. The GTK pinentry does a
gtk_init_check which Qt does not have. I don't want to mess with X directly and
would have to look into this more how to do this then only when X is used etc.

There is a similar question on stackoverflow and I don't find any answers there
acceptable:
http://stackoverflow.com/questions/28525435/qt-equivalent-to-gtk-init-check

I've changed the topic to reflect that this is a feature currently not available
in pinentry-qt but I don't see it as a high priority issue.

Feb 13 2017, 6:01 PM · pinentry, Feature Request
aheinecke renamed T1982: pinentry-qt should fallback to curses if $DISPLAY is set but unavailable from graphical pinentries might try to fallback to curses if $DISPLAY is set but unavailable to pinentry-qt should fallback to curses if $DISPLAY is set but unavailable.
Feb 13 2017, 6:01 PM · pinentry, Feature Request
aheinecke added a project to T2955: [PATCH] gpgme fails to build with GCC 7.0: Unreleased.
Feb 13 2017, 10:38 AM · gpgme, Bug Report
aheinecke added a comment to T2955: [PATCH] gpgme fails to build with GCC 7.0.

Thank you very much. Straightforward fix. Applied the patch.

Feb 13 2017, 10:38 AM · gpgme, Bug Report
aheinecke closed T2955: [PATCH] gpgme fails to build with GCC 7.0 as Resolved.
Feb 13 2017, 10:38 AM · gpgme, Bug Report

Jan 23 2017

aheinecke added a comment to T2881: Gpgme gpgconf changes are sometimes not made.

After testing on Windows this problem is not resolved for Windows (I agree that
it's resolved for posix).

The issue there that I see now is not that it's a race between changing the
setting and immediately reading it again but that sometimes the communication
between gpgme and gpgconf fails.

See attached file no-read.txt for some debugging on this. GPGME writes a changed
option to gpgconf but gpgconf does not read it. I've used OutputDebugString and
DbgView to have syncronized debug output over process borders.

Not 100% reproducible but on my test system it fails very often.

Jan 23 2017, 12:14 PM · gpgme, Bug Report, Windows 32, Windows
aheinecke added a project to T2881: Gpgme gpgconf changes are sometimes not made: In Progress.
Jan 23 2017, 12:14 PM · gpgme, Bug Report, Windows 32, Windows
aheinecke added a comment to T2881: Gpgme gpgconf changes are sometimes not made.

Jan 23 2017, 12:14 PM · gpgme, Bug Report, Windows 32, Windows
aheinecke reopened T2881: Gpgme gpgconf changes are sometimes not made as "Open".
Jan 23 2017, 12:14 PM · gpgme, Bug Report, Windows 32, Windows