Page MenuHome GnuPG

WindowsUmbrella
ActivePublic

Recent Activity

Mon, Jan 27

Saturneric added a comment to T7492: gpgconf failed to kill all gpgagent daemons on windows.

This issue occurs when using GPGME with multiple contexts and setting the OpenPGP engines to different GnuPG home paths. As you mentioned, it is crucial to let gpgconf know the correct home path so that it can locate the socket file used by gpg-agent and properly clean up all instances.

Mon, Jan 27, 3:05 PM · Windows, gnupg, Bug Report
werner added projects to T7492: gpgconf failed to kill all gpgagent daemons on windows: gnupg, Windows.

gpgconf assumes that there is only one of the daemons. In fact it can only work with one and that is the one daemon which listens on the socket. all daemon's do a self-check by trying to connect to themself and terminate if they realize that they are not anymore the owner of the socket. As long as a daemon is started by a gnupg component a file system lock is taken to avoid duplicate launching. However it a daemon is stared by other means this could lead to a race.

Mon, Jan 27, 1:18 PM · Windows, gnupg, Bug Report

Wed, Jan 8

ikloecker added a comment to T7477: Add a proper title for pineentry on Windows.

Maybe the title should be "Password - Kleopatra" (or similar) if the operation was triggered by Kleopatra.

Wed, Jan 8, 9:13 AM · Windows, gpd5x, pinentry
werner triaged T7477: Add a proper title for pineentry on Windows as Normal priority.
Wed, Jan 8, 8:51 AM · Windows, gpd5x, pinentry
werner added a project to T7477: Add a proper title for pineentry on Windows: Windows.
Wed, Jan 8, 8:51 AM · Windows, gpd5x, pinentry

Tue, Jan 7

werner triaged T7459: 5.0.0-beta: Pinentry crashes with 0x000007b as Normal priority.
Tue, Jan 7, 8:34 AM · Windows, pinentry, Bug Report, gpg4win

Dec 16 2024

aheinecke closed T2366: No DEP/ASLR or other security mitigations for GpgEX/GpgOL as Resolved.

Since codesigning for all dlls was added this is fully resolved.

Dec 16 2024, 9:49 PM · Feature Request, Windows 64, gpgol, gpg4win, Windows, Windows 32
gniibe added a comment to T7456: libassuan: Windows: assuan_sock_bind error.

Here is a patch to support "w32_error" for assuan_sock_get_flag function.

Dec 16 2024, 6:53 AM · libassuan, Windows

Dec 13 2024

gniibe changed the status of T7456: libassuan: Windows: assuan_sock_bind error from Open to Testing.
Dec 13 2024, 3:20 AM · libassuan, Windows
gniibe triaged T7456: libassuan: Windows: assuan_sock_bind error as Normal priority.
Dec 13 2024, 2:29 AM · libassuan, Windows

Nov 29 2024

gniibe closed T7044: Deadlock on Windows in sdaemon as Resolved.

I believe this was fixed by T7386. Or it is now no hard lock up by T7402.
So, let me close this ticket.
If any new symptom, please add information into T7396.

Nov 29 2024, 7:56 AM · scd, Bug Report, Windows, gnupg24
gniibe closed T7402: No hard lockup when SCardConnect never returns, a subtask of T7396: Windows: hard lockup of scdaemon, as Resolved.
Nov 29 2024, 7:53 AM · Windows, scd
gniibe closed T7402: No hard lockup when SCardConnect never returns as Resolved.

I can say it's fixed in 2.4.7.

Nov 29 2024, 7:53 AM · Windows, scd

Nov 18 2024

gniibe updated the task description for T7396: Windows: hard lockup of scdaemon.
Nov 18 2024, 10:11 AM · Windows, scd
gniibe changed the status of T7402: No hard lockup when SCardConnect never returns, a subtask of T7396: Windows: hard lockup of scdaemon, from Open to Testing.
Nov 18 2024, 6:30 AM · Windows, scd
gniibe changed the status of T7402: No hard lockup when SCardConnect never returns from Open to Testing.

In select_application function, we can minimize the holding W-lock.

Nov 18 2024, 6:30 AM · Windows, scd
gniibe added a comment to T7401: PC/SC: Cancel SCardConnect with timeout.

This may requires major changes for scdaemon.

Nov 18 2024, 5:35 AM · Windows, scd
gniibe lowered the priority of T7401: PC/SC: Cancel SCardConnect with timeout from High to Wishlist.
Nov 18 2024, 5:35 AM · Windows, scd
gniibe triaged T7402: No hard lockup when SCardConnect never returns as High priority.
Nov 18 2024, 5:33 AM · Windows, scd
gniibe added a comment to T7401: PC/SC: Cancel SCardConnect with timeout.

For the cancelling operation, each card reader access should have an independent resource manager context.
Currently, a single pcsc.context is shared by all reader accesses.

Nov 18 2024, 5:24 AM · Windows, scd
gniibe triaged T7401: PC/SC: Cancel SCardConnect with timeout as High priority.
Nov 18 2024, 5:21 AM · Windows, scd
gniibe added a comment to T7396: Windows: hard lockup of scdaemon.

Hard lockup should be avoided. In particular, following conditions should meet:

  • gpgconf --kill scdaemon can kill scdaemon
  • KEYINFO requests can be answered for other connections of scdaemon
Nov 18 2024, 3:49 AM · Windows, scd
gniibe updated subscribers of T7396: Windows: hard lockup of scdaemon.

As of 2024-11-18, my hypothesis is:

  • there are some sort of race conditions between PC/SC + card reader (or its driver) + smartcard + scdaemon on Windows, at least at initial use after boot
  • because of this, SCardConnect of PC/SC call wrongly fails (somehow confirmed by @ebo's experiments + @gniibe's speculation), or wrongly never returns (@gniibe's guess, side info: its slowness is observed in T7400).
Nov 18 2024, 3:40 AM · Windows, scd
gniibe added a subtask for T7396: Windows: hard lockup of scdaemon: T7400: Netkey 3.0 card slow detection.
Nov 18 2024, 3:10 AM · Windows, scd
gniibe lowered the priority of T7323: scdaemon hangs up (when output from scdaemon is not consumed by gpg-agent) from High to Normal.

@ebo Thank you for your testing.

Nov 18 2024, 3:09 AM · Windows, Bug Report, scd

Nov 16 2024

werner added a comment to T7323: scdaemon hangs up (when output from scdaemon is not consumed by gpg-agent).

@ikloecker indeed we try only for 5 seconds:

Nov 16 2024, 2:59 PM · Windows, Bug Report, scd

Nov 15 2024

ebo added a comment to T7323: scdaemon hangs up (when output from scdaemon is not consumed by gpg-agent).

I think that the card reader is not connected and there is no Scardsvr at this time.
And the card reader connection to USB port results invoking Scardsvr. Then, "SCD SERIALNO --all" gets success.

Nov 15 2024, 4:07 PM · Windows, Bug Report, scd
ikloecker added a comment to T7323: scdaemon hangs up (when output from scdaemon is not consumed by gpg-agent).

For T6567 I changed the way that Kleopatra runs "gpgconf --launch gpg-agent". This change is not yet in Eva's test build. It seems my change is not good because running "gpgconf --launch gpg-agent" timed out after 5 seconds in 3 of 3 tests starting Kleopatra after a reboot of the VM. To check if "gpgconf --launch gpg-agent" really takes that long I measured the time in PowerShell after another reboot of the VM. The result is shocking.

Nov 15 2024, 2:41 PM · Windows, Bug Report, scd
gniibe added a project to T7323: scdaemon hangs up (when output from scdaemon is not consumed by gpg-agent): Windows.

Please note that a card insertion to a card reader and a card reader connection to PC are different things.
It may cause different results.

Nov 15 2024, 8:40 AM · Windows, Bug Report, scd

Nov 14 2024

ebo moved T6076: Kleopatra: Many icons are hard to see if the dark high-contrast mode is activated from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Nov 14 2024, 11:14 AM · vsd33 (vsd-3.3.0), Windows, kleopatra, Restricted Project
gniibe added projects to T7396: Windows: hard lockup of scdaemon: scd, Windows.
Nov 14 2024, 7:45 AM · Windows, scd
gniibe claimed T7044: Deadlock on Windows in sdaemon.

I put "scd" tag and let me claim this ticket.

Nov 14 2024, 7:31 AM · scd, Bug Report, Windows, gnupg24
gniibe added a comment to T7386: npth:w32: npth_cond_broadcast only wakes up the first waiter.

The symptom of this bug was:

  • there are multiple waiters for COND.
  • COND is fired by npth_cond_broadcast, all waiters should be waken up, but only one wakes up by the old code of 1.7.
  • other waiters keep waiting forever.
Nov 14 2024, 3:21 AM · Windows, npth, Bug Report
gniibe added a comment to T7386: npth:w32: npth_cond_broadcast only wakes up the first waiter.

After I fixed the problem, I realized that the description of this ticket was not accurate, so, modified.

Nov 14 2024, 3:16 AM · Windows, npth, Bug Report
gniibe renamed T7386: npth:w32: npth_cond_broadcast only wakes up the first waiter from npth:w32: npth_cond_broadcast no return to npth:w32: npth_cond_broadcast only wakes up the first waiter.
Nov 14 2024, 3:10 AM · Windows, npth, Bug Report

Nov 13 2024

ebo removed projects from T7386: npth:w32: npth_cond_broadcast only wakes up the first waiter: Restricted Project, vsd33.
Nov 13 2024, 3:36 PM · Windows, npth, Bug Report

Nov 12 2024

werner closed T7386: npth:w32: npth_cond_broadcast only wakes up the first waiter as Resolved.
Nov 12 2024, 5:48 PM · Windows, npth, Bug Report
werner added a parent task for T7386: npth:w32: npth_cond_broadcast only wakes up the first waiter: T7378: Kleopatra: loading X.509 certificate from Signature card hangs.
Nov 12 2024, 8:52 AM · Windows, npth, Bug Report
ebo moved T7386: npth:w32: npth_cond_broadcast only wakes up the first waiter from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Nov 12 2024, 8:46 AM · Windows, npth, Bug Report
ebo added a project to T7386: npth:w32: npth_cond_broadcast only wakes up the first waiter: Restricted Project.
Nov 12 2024, 8:45 AM · Windows, npth, Bug Report
ebo moved T7386: npth:w32: npth_cond_broadcast only wakes up the first waiter from Backlog to WiP on the vsd33 board.
Nov 12 2024, 8:39 AM · Windows, npth, Bug Report
ebo added a project to T7386: npth:w32: npth_cond_broadcast only wakes up the first waiter: vsd33.
Nov 12 2024, 8:39 AM · Windows, npth, Bug Report
gniibe changed the status of T7386: npth:w32: npth_cond_broadcast only wakes up the first waiter from Open to Testing.
Nov 12 2024, 6:18 AM · Windows, npth, Bug Report
gniibe added a project to T7386: npth:w32: npth_cond_broadcast only wakes up the first waiter: Windows.
Nov 12 2024, 5:34 AM · Windows, npth, Bug Report

Oct 8 2024

CarlSchwan closed T5364: Kleopatra won't start as Resolved.

gpg4win 4 has been released with unicode support. Closing.

Oct 8 2024, 2:59 PM · workaround, gnupg, Windows, kleopatra, Bug Report, gpg4win

Oct 1 2024

ebo moved T6076: Kleopatra: Many icons are hard to see if the dark high-contrast mode is activated from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Oct 1 2024, 3:55 PM · vsd33 (vsd-3.3.0), Windows, kleopatra, Restricted Project

Sep 26 2024

ebo moved T7188: gpgme: Error::asString can return wrongly encoded result on Windows from Restricted Project Column to Restricted Project Column on the Restricted Project board.

with gpg4win-Beta-50: "Rückstellcode" is shown correctly with an ü

Sep 26 2024, 4:39 PM · Windows, gpgme, Restricted Project

Aug 19 2024

ebo moved T6076: Kleopatra: Many icons are hard to see if the dark high-contrast mode is activated from WiP to vsd-3.3.0 on the vsd33 board.
Aug 19 2024, 12:42 PM · vsd33 (vsd-3.3.0), Windows, kleopatra, Restricted Project

Aug 9 2024

aheinecke closed T6245: GpgOL: build: Update for new gpgrt-config and *.pc as Resolved.

This works now.

Aug 9 2024, 4:32 PM · Windows, gpgol, Feature Request

Aug 8 2024

aheinecke closed T6076: Kleopatra: Many icons are hard to see if the dark high-contrast mode is activated as Resolved.

Well for 3.3 we will have full support for high contrast with the correct icons on all platforms, additionally we detect and support dark mode on all Windows 10 Versions > 1709 So this can be resolved. (Both for Qt5 and 6). What I have not yet checked if Qt6::systemInfo::colorScheme reports the correct one under windows 11 desert theme, but as you mention that is also part of a different issue where when then also should clean up the kleo systeminfo etc. if this is reliably supplied as information by qt.

Aug 8 2024, 12:27 PM · vsd33 (vsd-3.3.0), Windows, kleopatra, Restricted Project