Page MenuHome GnuPG

WindowsUmbrella
ActivePublic

Recent Activity

Mon, Nov 18

gniibe updated the task description for T7396: Windows: hard lockup of scdaemon.
Mon, Nov 18, 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.
Mon, Nov 18, 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.

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

This may requires major changes for scdaemon.

Mon, Nov 18, 5:35 AM · Windows, scd
gniibe lowered the priority of T7401: PC/SC: Cancel SCardConnect with timeout from High to Wishlist.
Mon, Nov 18, 5:35 AM · Windows, scd
gniibe triaged T7402: No hard lockup when SCardConnect never returns as High priority.
Mon, Nov 18, 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.contex is shared by all reader accesses.

Mon, Nov 18, 5:24 AM · Windows, scd
gniibe triaged T7401: PC/SC: Cancel SCardConnect with timeout as High priority.
Mon, Nov 18, 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
Mon, Nov 18, 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).
Mon, Nov 18, 3:40 AM · Windows, scd
gniibe added a subtask for T7396: Windows: hard lockup of scdaemon: T7400: Netkey 3.0 card slow detection.
Mon, Nov 18, 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.

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

Sat, Nov 16

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:

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

Fri, Nov 15

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.

Fri, Nov 15, 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.

Fri, Nov 15, 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.

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

Thu, Nov 14

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.
Thu, Nov 14, 11:14 AM · vsd33 (vsd-3.3.0), Windows, kleopatra, Restricted Project
gniibe added projects to T7396: Windows: hard lockup of scdaemon: scd, Windows.
Thu, Nov 14, 7:45 AM · Windows, scd
gniibe claimed T7044: Deadlock on Windows in sdaemon.

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

Thu, Nov 14, 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.
Thu, Nov 14, 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.

Thu, Nov 14, 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.
Thu, Nov 14, 3:10 AM · Windows, npth, Bug Report

Wed, Nov 13

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

Tue, Nov 12

werner closed T7386: npth:w32: npth_cond_broadcast only wakes up the first waiter as Resolved.
Tue, Nov 12, 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.
Tue, Nov 12, 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.
Tue, Nov 12, 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.
Tue, Nov 12, 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.
Tue, Nov 12, 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.
Tue, Nov 12, 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.
Tue, Nov 12, 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.
Tue, Nov 12, 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

Aug 7 2024

ikloecker changed the status of T7185: Calling gettext_use_utf8(1) for the main thread should enable UTF-8 for all later created secondary threads from Open to Testing.

Setting this to testing. Could be tested as described in https://dev.gnupg.org/T7188#188093 by verifying that the logged debug messages also use correct encoding.

Aug 7 2024, 10:41 AM · Windows, gpgrt, Bug Report

Aug 5 2024

ikloecker added a comment to T7185: Calling gettext_use_utf8(1) for the main thread should enable UTF-8 for all later created secondary threads.

Okay. Done in gpgme for gpgrt >= 1.51 (T7188).

Aug 5 2024, 12:20 PM · Windows, gpgrt, Bug Report

Aug 2 2024

werner added a comment to T7185: Calling gettext_use_utf8(1) for the main thread should enable UTF-8 for all later created secondary threads.

Sounds like a good idea.

Aug 2 2024, 5:06 PM · Windows, gpgrt, Bug Report
ikloecker added a comment to T7185: Calling gettext_use_utf8(1) for the main thread should enable UTF-8 for all later created secondary threads.

@werner Would it be okay to call gettext_use_utf8 (3) in gpgme's do_subsystem_inits where we currently call gettext_use_utf8 (1)? See https://dev.gnupg.org/source/gpgme/browse/master/src/version.c$77

Aug 2 2024, 2:32 PM · Windows, gpgrt, Bug Report
werner assigned T7185: Calling gettext_use_utf8(1) for the main thread should enable UTF-8 for all later created secondary threads to ikloecker.
Aug 2 2024, 9:45 AM · Windows, gpgrt, Bug Report
werner moved T7185: Calling gettext_use_utf8(1) for the main thread should enable UTF-8 for all later created secondary threads from Backlog to QA on the gpgrt board.

Alright: Call gettext_use_utf8 (3) to set the current thread to utf8 and init all new threads to utf8 as well. This function with that value (actually bit 1 is relevant) can be used several times but it will never switch back the initialization to utf8. However, switching back and force to utf8 per threads is still possible.

Aug 2 2024, 9:44 AM · Windows, gpgrt, Bug Report

Jul 22 2024

aheinecke added a comment to T6471: Kleopatra: Increase warning for backup secret key - Especially in de-vs mode.

KWin has a script called "Dim screen for Administrator Mode" which mimics the windows behavior.

Jul 22 2024, 4:50 PM · Windows, kleopatra, Restricted Project

Jul 5 2024

ikloecker changed the status of T7188: gpgme: Error::asString can return wrongly encoded result on Windows from Open to Testing.

This should be tested as part of testing T5960 by checking that the German error description "Falscher Rückstellcode" is shown after entering a wrong reset code (PUK) for an OpenPGP smart card (https://dev.gnupg.org/T5960#188013).

Jul 5 2024, 10:35 AM · Windows, gpgme, Restricted Project
ikloecker added a project to T7188: gpgme: Error::asString can return wrongly encoded result on Windows: Windows.
Jul 5 2024, 9:54 AM · Windows, gpgme, Restricted Project

Jul 4 2024

ikloecker added a comment to T7185: Calling gettext_use_utf8(1) for the main thread should enable UTF-8 for all later created secondary threads.

Using/setting a value of 2 would work for Kleopatra.

Jul 4 2024, 6:36 PM · Windows, gpgrt, Bug Report
werner added a comment to T7185: Calling gettext_use_utf8(1) for the main thread should enable UTF-8 for all later created secondary threads.

That is probably right for gpgme as used by kleopatra. However in gnupg we need to switch utf8 on and off.

Jul 4 2024, 5:29 PM · Windows, gpgrt, Bug Report
ikloecker created T7185: Calling gettext_use_utf8(1) for the main thread should enable UTF-8 for all later created secondary threads.
Jul 4 2024, 12:38 PM · Windows, gpgrt, Bug Report

Jul 2 2024

ikloecker moved T6076: Kleopatra: Many icons are hard to see if the dark high-contrast mode is activated from Backlog to WiP on the vsd33 board.

This also works for VSD 3.3 (because the required changes/patches are in gpg4win).

Jul 2 2024, 2:54 PM · vsd33 (vsd-3.3.0), Windows, kleopatra, Restricted Project