GpgEX broken (by Gpg4Win 4.4.0 update?)

Hi,

Today I upgraded Gpg4Win to version 4.4.0 via winget.

Since then, all I get when e.g., doing right-click / Sign and encrypt on a file is:

---------------------------
GpgEX
---------------------------
Can not connect to the GnuPG user interface:

Invalid argument
---------------------------
OK   
---------------------------

I’ve tried rebooting, uninstalling and reinstalling both GnuPG and Gpg4win (also via winget), to no avail.

Thanks in advance for your help.

Hi @sbarizien,

some questions:

I assume this the only issue you have with your installation?
That sign/encrypt via Kleopatra does work?

Why did you install GnuPG and Gpg4win separately? GnuPG is installed via the Gpg4win installer, too. I assume you wanted to use a different gpg version than intended with that release? So what is the version of gpg in your installation?

Have you updated Gpg4win with winget in the past without issues?
Anything suspicious in its log output?

Hi @eebb ,

Thanks for your response.

Yes, sign/encrypt via Kleopatra does work.

The only (poor) reason why I installed both is that when I looked at the output from winget list I saw two apps installed, so the logical repair process was to uninstall both and then reinstall both.

I’m pretty sure I did upgrade Gpg4Win in the past with winget, as it’s been my standard upgrade scheme for quite a while now.

But: looking at my application inventory audit, I noticed that I had Gpg4win version 4.3.1 on 2024-11-27, and that since 2024-11-29 I have 4.4.0… so the issue is probably not related to the 4.4.0 upgrade:

AppName         Version LastDateThisAppVersionWasNotPresent FirstDateThisAppVersionWasPresent
-------         ------- ----------------------------------- ---------------------------------
Gpg4win (4.0.3) 4.0.3   2022-07-12 15:06:57                 2022-07-18 10:12:24
Gpg4win (4.0.4) 4.0.4   2022-10-19 09:25:20                 2022-10-20 19:28:36
Gpg4win (4.1.0) 4.1.0   2022-12-23 15:26:18                 2023-01-02 17:45:04
Gpg4win (4.2.0) 4.2.0   2023-07-24 09:39:02                 2023-07-26 19:37:16
Gpg4win (4.2.0) 4.2.0   2023-08-29 09:57:01                 2023-08-30 11:13:16
Gpg4win (4.2.0) 4.2.0   2023-09-26 20:39:20                 2023-09-27 00:08:16
Gpg4win (4.3.0) 4.3.0   2024-01-30 12:36:31                 2024-01-30 18:30:52
Gpg4win (4.3.1) 4.3.1   2024-03-11 20:25:01                 2024-03-13 11:41:49
Gpg4win (4.4.0) 4.4.0   2024-11-27 09:30:07                 2024-11-29 11:50:28
Gpg4win (4.4.0) 4.4.0   2025-01-05 15:31:23                 2025-01-08 10:13:24
Gpg4win (4.4.0) 4.4.0   2025-02-06 08:58:56                 2025-02-10 15:04:20

I’ve tried the following:

  • uninstall both via winget uninstall
  • install only Gpg4Win via winget install GnuPG.Gpg4win

This gives me:

PS❯ winget list gnu
Name              Id            Version Source
-----------------------------------------------
GNU Privacy Guard GnuPG.GnuPG   2.4.7   winget
Gpg4win (4.4.0)   GnuPG.Gpg4win 4.4.0   winget

And the problem is still present.

Where do I find the log output?