Thu, Nov 7
Wed, Nov 6
Sep 26 2024
Should definitely work with gpg4win if it works with vsd.
That was resolved with vsd 3.2.0
May 7 2024
Apr 17 2024
To clarify: this works for "Restart background processes" only, as was the aim of this ticket
forgot to keep it open for test with gpg 2.4 branch versions...
Apr 11 2024
Works on Gpg4win 4.3.1, too.
Apr 5 2024
Mar 28 2024
No more additional dirmngr.exe processes come up in VS-Desktop-3.1.92.39-Beta, too.
Note to self: The error message that nothing was found on the keyserver will still come up if one is configured. That will be fixed with T6493.
The certificates from the same test smart card work in Version 3.2.2.231170 (Gpg4win-4.3.1), too, but there all certificates are shown, that is one more than in the VSD version. Seems gpg2.4 can handle certificates which 2.2 does not accept. But that is nothing to complain about.
Mar 27 2024
Feb 27 2024
Arghh, a GPGME_DEBUG=3 which shows basic I/O preparation does not exhibit the bug.
Fixing gpg is easy but there is some bug lingering in gpgme which might be a recent regression. An strace shows
Jan 24 2024
Hidden for Gpg4win-4.3.0-beta571, too
Jan 23 2024
works in Gpg4win-4.3.0-beta571
Jan 16 2024
Jan 10 2024
Jan 9 2024
Fixed in gpgme and gnupg 2.2/2.4.
I applied a fix to gnupg which also solves the issue.
Taking over
We did this on purpose once - For Windows ppl it is just weird to see forward slashes.
Jan 8 2024
I think the double backslash quoting happens because _gpgme_io_spawn quotes the backslashes and calls gpgme-w32spawn and then gpgme-w32spawn quotes the backslashes again and calls gpgconf. I haven't seen anything in gpgme-w32spawn that would unquote the quotes backslashes. But maybe that's supposed to happen in the background. A comment in the code reads "We have to quote some things because under Windows the program parses the commandline and does some unquoting.", but maybe that's no longer true.
Double backslash quoting is the culprit. For WKD requests the GPGMe QT code makes sure that the dirmngr has been started. This is done by running gpgconf --homedir FOO --launch dirmngr. gpgconf returns the homedir with backslashes on Windows to be be nice to ppl who wonder when they notice (legal) forward slashes on Windowns. Now when the spawn function along with its helper is called, it needs to quote the backslashes. But somewhere on the way back one de-quoting is missing and thus gpg sees double backslashes. That is in general not a problem but when checking whether this is the standard home directory, this does not match and gpg puts the socket into a subdirectory. In turn another dirmngr is started for the WKD purpose.
It is still there in VS-Desktop-3.2.1.0 insofar as 2 dirmngrs are started. It was only fixed insofar that it is no longer more than 2.
Since this is hard / impossible to test for, but the fix was obvious I am closing this directly. The fix for this is in GpgOL 2.5.12.
Jan 7 2024
For the record. The code used to detect early on if the dark or bright icon theme should be loaded as a resource caused a crash during startup on at least Windows Server 2016 Enterprise. Our new fix avoids such API but I have created T6921: Kleopatra / Qt6: Improve accessibility detection for "Desert" high contrast scheme and fix it upstream to keep track of this since our fix is not fully complete in that it does not properly detect the Bright (Desert) High contrast mode and it should either be merged into KIconThemes or fixed in / with Qt6.
Jan 5 2024
moved to milestone 3.2.0, as 3.2.1 does not exist as column...