Kleopatra Verification is hanging
Open, NormalPublic


If I select a file and it's signature and select to Verify, a new window open, but this window remains blank and Kleopatra just hangs. I left it there for a long time and it never completes the verification process.

I already tried this with several files (including gpg4win-3.1.10.exe and gpg4win-3.1.10.exe.sig), including files that I have verified successfully in the past.

Here you can see the print-screen of Process Explorer, showing Kleopatra just started gpg.exe, but short afterwards it's killed (the red indicates it's being killed), on the side is the Windows miniature of the Kleopatra Windows, where you can see the Verification window remains blank:

I am running Kleopatra on Windows 10, latest version, just updated a couple of days a go.


Kleopatra - 3.1.8 gpg4win - 3.1.10
aheinecke triaged this task as Normal priority.
aheinecke added a project: kleopatra.
aheinecke added a subscriber: aheinecke.

Strange. Can you please go to the command line (cmd.exe) and run gpg --verify "c:\<path to>\gpg4win-3.1.10.exe.sig" "c:\<path to>\gpg4win-3.1.10.exe.sig"

Of course with "<path to>" replaced with the real path to the files. Maybe the output from that shows some strangeness that is not handled properly in Kleopatra.

bzbue1 added a subscriber: bzbue1.Feb 13 2020, 1:35 PM

I'd like to re-report this bug for version 3.1.11-Gpg4win-3.1.11
in Windows 10 version 1809 build 17763.1039 and version 1909 build 18363.657.

I cannot confirm that the tasks running "gpg-agent.exe" are stopped.
In my case, at least one runs indefinitely, even after shutting down Kleopatra.
No instance is running before manually starting Kleopatra.

Apart from that the observed behavior seems identical to the original report.

Steps to reproduce:

  1. Start Kleopatra from the Windows Start Menu
  2. Wait for Kleopatra to finish loading the main window
  3. In the main window tool bar, click "Decrypt/Verify"
  4. Using the file browser window, select a detached signature file and "open" it

Expected result:
A window informs the user about the progress and result of the
verification or a dialog window with an error message is displayed.

Observed result:
A window titled "Verify Files - Kleopatra" is opened.
It cannot be displayed but it can be focused and previewed using
the Windows task bar UI functions, see attached screenshot:

The window content remains empty.

Kleopatra log file:

The log suggests to me that the operation completes successfully. However,
as described above, the UI is never updated.

Using the gpg command line program bundled with this version works just fine:

PS C:\Users\User\Downloads> gpg --verify .\gpg4win-3.1.11.exe.sig
gpg: assuming signed data in '.\gpg4win-3.1.11.exe'
gpg: Signature made 12/17/19 12:14:15 W. Europe Standard Time
gpg:                using RSA key 13E3CE81AFEA6F683E466E0D42D876082688DA1A
gpg: Good signature from "Intevation File Distribution Key <distribution-key@intevation.de>" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: 13E3 CE81 AFEA 6F68 3E46  6E0D 42D8 7608 2688 DA1A