Page MenuHome GnuPG

WindowsUmbrella
ActivePublic

Recent Activity

Mon, Dec 16

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.

Mon, Dec 16, 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.

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

Fri, Dec 13

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

Fri, Nov 29

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.

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

Fri, Nov 29, 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

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