Tue, Dec 17
Mon, Dec 16
Mon, Nov 25
Nov 7 2024
Nov 6 2024
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.