Page MenuHome GnuPG
Feed Advanced Search

Tue, Mar 19

werner added a comment to T7044: Deadlock on Windows in sdaemon.

The reset was due to running gpg-connect-agent reset /bye. I am currently testing something elese will get back as soon as I can turn back to 2.4

Tue, Mar 19, 10:22 AM · Bug Report, Windows, gnupg24
gniibe added a comment to T7044: Deadlock on Windows in sdaemon.

There are two locks here; (1) rw_lock for card_top (list of cards) access and (2) individual card lock.
It looks for me that:

  • don't know how/what the thread 7208.2 does
  • the thread 7208.3: KEYINFO, then PKSIGN (gets read lock for card_top, then, individual card lock)
  • the thread 7208.4: SERIALNO --all (and wait for write lock for card_top)
Tue, Mar 19, 7:33 AM · Bug Report, Windows, gnupg24

Mon, Mar 18

werner triaged T7044: Deadlock on Windows in sdaemon as High priority.
Mon, Mar 18, 8:48 AM · Bug Report, Windows, gnupg24

Mar 4 2024

Zymlex added a comment to T3883: Add Win32-OpenSSH support to gpg-agent's ssh-agent.

In case if someone finds it through a search:

Mar 4 2024, 9:51 PM · Not A Bug, workaround, gnupg24, Windows, ssh

Feb 23 2024

werner removed a project from T5574: Doubled characters in Windows console output: gpgrt.

Removing gpgrt because we meanwhile have full utf-8 support there.

Feb 23 2024, 2:04 PM · gnupg, Windows, Bug Report

Feb 20 2024

aheinecke merged T6995: Themes dark, problems with labels into T6076: Kleopatra: Many icons are hard to see if the dark high-contrast mode is activated.
Feb 20 2024, 11:35 AM · Windows, kleopatra, Restricted Project

Jan 30 2024

werner closed T4505: SM, W32: GPGSM hangs up the GnuPG System as Resolved.

That is an old bug report with a couple of fixes introduced over the years. As of now we sometimes see hangs on Windows on our test VMs. The common cause here seems to be USB card reader issues. Let's close this bug and wait for another bug report with current software versions.

Jan 30 2024, 11:09 AM · Restricted Project, gpgol, S/MIME, gpg4win, Windows

Jan 24 2024

werner moved T6741: gpg 2.3+ may display garbled characters for date and time in non-English Windows from QA to gnupg-2.4.4 on the gnupg24 board.
Jan 24 2024, 2:42 PM · gnupg24 (gnupg-2.4.4), i18n, Windows, Bug Report
werner closed T6741: gpg 2.3+ may display garbled characters for date and time in non-English Windows, a subtask of T4365: Encoding problem: gpg truncates multibyte characters in interactive prompts on Windows, as Resolved.
Jan 24 2024, 2:42 PM · Windows, gnupg (gpg23), Bug Report
werner closed T6741: gpg 2.3+ may display garbled characters for date and time in non-English Windows as Resolved.

No regression, assuming things work.

Jan 24 2024, 2:42 PM · gnupg24 (gnupg-2.4.4), i18n, Windows, Bug Report

Jan 15 2024

ikloecker changed the status of T6926: No tray icon for Kleopatra in dark mode on Windows. from Open to Testing.

All icons that are available in normal/light mode should now also be available in dark mode.

Jan 15 2024, 10:42 AM · Restricted Project, Bug Report, Windows, kleopatra

Jan 11 2024

ikloecker added a comment to T6926: No tray icon for Kleopatra in dark mode on Windows..

And another note: In KF6 icon inverting happens automatically in ksvg or so, so that we don't need to ship breeze-dark anymore. And there will be a BreezeIcons library including the icons that can be used instead of the RCC file. This means we just need a quick fix for VSD and not a general solution for upstream.

Jan 11 2024, 1:23 PM · Restricted Project, Bug Report, Windows, kleopatra
ikloecker claimed T6926: No tray icon for Kleopatra in dark mode on Windows..
Jan 11 2024, 11:42 AM · Restricted Project, Bug Report, Windows, kleopatra
ikloecker added a comment to T6926: No tray icon for Kleopatra in dark mode on Windows..

One more data point: breeze-icons installs a copy of all breeze icons that do not exist in breeze-dark in the breeze-dark icons folder. So, with icon files on disk breeze-dark has all icons that breeze has even without using breeze as fallback icon theme. Looks like an oversight that the breeze-dark RCC generated by breeze-icons doesn't include missing breeze icons.

Jan 11 2024, 11:35 AM · Restricted Project, Bug Report, Windows, kleopatra
ikloecker added a comment to T6926: No tray icon for Kleopatra in dark mode on Windows..

KIconTheme sets the fallback theme name to breeze, but those icons cannot be found because we only load the icon theme RCC for breeze-dark. I think we need to load both RCC files in dark mode. No, that doesn't work.

Jan 11 2024, 11:20 AM · Restricted Project, Bug Report, Windows, kleopatra
ikloecker added a comment to T6926: No tray icon for Kleopatra in dark mode on Windows..

Possible reason: There's a kleopatra.svg in breeze-icons/icons, but there's none in breeze-icons/icons-dark.

Jan 11 2024, 10:15 AM · Restricted Project, Bug Report, Windows, kleopatra

Jan 10 2024

werner triaged T6926: No tray icon for Kleopatra in dark mode on Windows. as Normal priority.
Jan 10 2024, 8:54 AM · Restricted Project, Bug Report, Windows, kleopatra

Jan 5 2024

werner moved T6255: --list-keys output truncated and loops repeatedly from Backlog to done on the gnupg24 board.
Jan 5 2024, 12:05 PM · gnupg24, Windows, gnupg (gpg23), can't replicate, Bug Report
werner moved T3883: Add Win32-OpenSSH support to gpg-agent's ssh-agent from Backlog to done on the gnupg24 board.
Jan 5 2024, 12:04 PM · Not A Bug, workaround, gnupg24, Windows, ssh

Dec 26 2023

gniibe triaged T6908: Windows: file watching to support things like inotify as Wishlist priority.
Dec 26 2023, 5:27 AM · gnupg, Windows

Dec 22 2023

gniibe claimed T6843: after enable kdf-setup impossible change user/admin pin.
Dec 22 2023, 3:16 AM · gnupg22, scd, yubikey

Nov 28 2023

werner edited projects for T6843: after enable kdf-setup impossible change user/admin pin, added: Support; removed Bug Report.
Nov 28 2023, 1:25 PM · gnupg22, scd, yubikey

Nov 27 2023

Andry created T6843: after enable kdf-setup impossible change user/admin pin.
Nov 27 2023, 12:12 PM · gnupg22, scd, yubikey

Nov 14 2023

werner added a comment to T6818: GPGME: Finding gpgme-w32-spawn.exe should be optional.

I'd prefer to not use the spawn helper at all. All currrent Windows versions allow to decide which handles are to be inherited and thus there is no more need for the helper.

Nov 14 2023, 7:53 PM · Windows, gpgme
aheinecke triaged T6818: GPGME: Finding gpgme-w32-spawn.exe should be optional as Normal priority.
Nov 14 2023, 3:50 PM · Windows, gpgme

Oct 27 2023

werner changed the status of T6741: gpg 2.3+ may display garbled characters for date and time in non-English Windows, a subtask of T4365: Encoding problem: gpg truncates multibyte characters in interactive prompts on Windows, from Open to Testing.
Oct 27 2023, 2:23 PM · Windows, gnupg (gpg23), Bug Report
werner changed the status of T6741: gpg 2.3+ may display garbled characters for date and time in non-English Windows from Open to Testing.
Oct 27 2023, 2:23 PM · gnupg24 (gnupg-2.4.4), i18n, Windows, Bug Report
werner added a comment to T6741: gpg 2.3+ may display garbled characters for date and time in non-English Windows.

Thanks. I'll apply your patch.

Oct 27 2023, 2:22 PM · gnupg24 (gnupg-2.4.4), i18n, Windows, Bug Report

Oct 25 2023

werner moved T6534: gpg's progress_filter needs to use uint64_t from done to gpgme 1.23.x on the gpgme board.
Oct 25 2023, 10:39 AM · gpgme (gpgme 1.23.x), gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.3), Feature Request, Restricted Project, Windows

Oct 10 2023

darkthread.gpg added a comment to T6741: gpg 2.3+ may display garbled characters for date and time in non-English Windows.

Here is my code to test differences between setlocale(LC_TIME, ".UTF8") and setlocale(LC_TIME, "") and the results on English, Japanese and Korea Windows.

I think ".UTF8" is always better than LC_TIME="" if the display string contains non-English Unicode chars.

Oct 10 2023, 6:20 AM · gnupg24 (gnupg-2.4.4), i18n, Windows, Bug Report

Oct 6 2023

werner triaged T6741: gpg 2.3+ may display garbled characters for date and time in non-English Windows as Normal priority.
Oct 6 2023, 11:27 AM · gnupg24 (gnupg-2.4.4), i18n, Windows, Bug Report
werner added a project to T6741: gpg 2.3+ may display garbled characters for date and time in non-English Windows: i18n.
Oct 6 2023, 11:27 AM · gnupg24 (gnupg-2.4.4), i18n, Windows, Bug Report

Oct 2 2023

werner added a comment to T6741: gpg 2.3+ may display garbled characters for date and time in non-English Windows.

Do you have any hint how I can test this? I installed Chinese-Simplified (zh_CN) but I fear switching the display Language. Maybe I should just use _wasctime and convert to utf8

Oct 2 2023, 3:43 PM · gnupg24 (gnupg-2.4.4), i18n, Windows, Bug Report
werner added a subtask for T4365: Encoding problem: gpg truncates multibyte characters in interactive prompts on Windows: T6741: gpg 2.3+ may display garbled characters for date and time in non-English Windows.
Oct 2 2023, 2:51 PM · Windows, gnupg (gpg23), Bug Report
werner added a parent task for T6741: gpg 2.3+ may display garbled characters for date and time in non-English Windows: T4365: Encoding problem: gpg truncates multibyte characters in interactive prompts on Windows.
Oct 2 2023, 2:51 PM · gnupg24 (gnupg-2.4.4), i18n, Windows, Bug Report

Sep 29 2023

werner claimed T6741: gpg 2.3+ may display garbled characters for date and time in non-English Windows.

Thanks for the report and the helpful suggestion. I was anyway about to change the time format but your suggestion is better.

Sep 29 2023, 11:43 AM · gnupg24 (gnupg-2.4.4), i18n, Windows, Bug Report

Sep 21 2023

ebo moved T6534: gpg's progress_filter needs to use uint64_t from QA to gnupg-2.2.42 on the gnupg22 board.
Sep 21 2023, 4:14 PM · gpgme (gpgme 1.23.x), gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.3), Feature Request, Restricted Project, Windows
ebo closed T6534: gpg's progress_filter needs to use uint64_t as Resolved.

Tested in VS-Desktop-3.2.0.0-beta214 by encrypting a large file with Kleopatra. The progress bar shows percentage finished, progress looks all right

Sep 21 2023, 4:13 PM · gpgme (gpgme 1.23.x), gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.3), Feature Request, Restricted Project, Windows

Sep 8 2023

werner moved T6534: gpg's progress_filter needs to use uint64_t from Backlog to done on the gpgme board.

Was already with gpgme 1.21.0. Note that I used the done column but in future a milestone would be more useful than that catch all "done".

Sep 8 2023, 3:41 PM · gpgme (gpgme 1.23.x), gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.3), Feature Request, Restricted Project, Windows

Aug 4 2023

gniibe added a parent task for T6236: libassuan: Support sendfd/recvfd (possibly by new API) on Windows: T6606: Use new API of libassuan 3.
Aug 4 2023, 3:09 AM · Windows, libassuan, Feature Request

Aug 3 2023

aheinecke added a comment to T6630: Platform independent starter.

But shouldn't we then rather rename the shortcut of Kleopatra to: GnuPG VS-Desktop - Kleopatra ? That would make it discoverable under both names.

Aug 3 2023, 1:34 PM · Windows, Feature Request, Restricted Project, AppImage
werner raised the priority of T6630: Platform independent starter from Wishlist to Normal.

Our sales team gets the support calls and they have to explain that really often.

Aug 3 2023, 12:52 PM · Windows, Feature Request, Restricted Project, AppImage
aheinecke lowered the priority of T6630: Platform independent starter from High to Wishlist.

werner I strongly disagree here. There is no need for this for our software on Windows and that is definitely not the Windows way, esp. with our current feature set. Do you really think a user wants to start "GnuPG VS-Desktop" to then have a selection between Okular, Outlook, and Kleopatra? That is not how this works at all. Definitely not High priority for us if you think Kleopatra is too hard to discover then we could add another start menu entry for Kleopatra called "GnuPG VS-Desktop" but a starter that only offers to switch between Okular and Kleopatra currently does _not_ have high priority, For windows this is solved with the windows registry, If you want to make Okular - GnuPG Edition your default PDF reader you can, similarly for Kleopatra and please also keep in mind that a user wants to "Encrypt" or "Decrypt" a file. And does not necessarily care about Kleopatra.

Aug 3 2023, 10:35 AM · Windows, Feature Request, Restricted Project, AppImage
werner raised the priority of T6630: Platform independent starter from Wishlist to High.

FWIW, we also need this for Windows. ppl often ask what to do after they installed VSD because they can't find a program. Thus a menu ala Kontact is the way to go. It would be linked directly from a GnUPG Desktop entry from Windows. We can even keep the old Kleopatra becuase it does not harm. Whether the "menu" is a container window or a detached windows can be decided by the user, like GIMP and other tools do this.

Aug 3 2023, 10:22 AM · Windows, Feature Request, Restricted Project, AppImage

Jul 24 2023

ebo moved T5537: Use CSIDL_LOCAL_APPDATA for the socketdir from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Jul 24 2023, 2:13 PM · Windows, Restricted Project, gnupg (gpg22)
ebo moved T5619: Kleopatra does not create the UI-Server socket in the socketdir from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Jul 24 2023, 2:13 PM · Windows, kleopatra, Restricted Project

Jul 13 2023

taichi created T6595: libgpg-error: build failure on Windows.
Jul 13 2023, 6:31 PM · Cygwin, gpgrt, Bug Report

Jul 5 2023

werner reopened T6534: gpg's progress_filter needs to use uint64_t as "Testing".
Jul 5 2023, 11:56 AM · gpgme (gpgme 1.23.x), gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.3), Feature Request, Restricted Project, Windows
werner moved T6534: gpg's progress_filter needs to use uint64_t from Backlog to WiP on the gnupg22 board.
Jul 5 2023, 11:16 AM · gpgme (gpgme 1.23.x), gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.3), Feature Request, Restricted Project, Windows

Jul 4 2023

werner moved T6534: gpg's progress_filter needs to use uint64_t from QA to gnupg-2.4.3 on the gnupg24 board.
Jul 4 2023, 2:44 PM · gpgme (gpgme 1.23.x), gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.3), Feature Request, Restricted Project, Windows

Jul 3 2023

aheinecke closed T6534: gpg's progress_filter needs to use uint64_t as Resolved.
Jul 3 2023, 2:48 PM · gpgme (gpgme 1.23.x), gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.3), Feature Request, Restricted Project, Windows

Jun 16 2023

aheinecke added a comment to T6534: gpg's progress_filter needs to use uint64_t.

I tested this with OpenPGP and 2.4.3-beta19 on Windows. Worked nicely.

Jun 16 2023, 2:39 PM · gpgme (gpgme 1.23.x), gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.3), Feature Request, Restricted Project, Windows

Jun 15 2023

werner moved T6534: gpg's progress_filter needs to use uint64_t from WiP to QA on the gnupg24 board.
Jun 15 2023, 11:21 AM · gpgme (gpgme 1.23.x), gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.3), Feature Request, Restricted Project, Windows
werner added a project to T6534: gpg's progress_filter needs to use uint64_t: gpgme.

And of course we also need to adjust GPGME

Jun 15 2023, 10:58 AM · gpgme (gpgme 1.23.x), gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.3), Feature Request, Restricted Project, Windows
werner added a comment to T6534: gpg's progress_filter needs to use uint64_t.

We also need PROGRESS lines in gpgsm.

Jun 15 2023, 10:36 AM · gpgme (gpgme 1.23.x), gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.3), Feature Request, Restricted Project, Windows

Jun 13 2023

werner claimed T6534: gpg's progress_filter needs to use uint64_t.
Jun 13 2023, 10:07 AM · gpgme (gpgme 1.23.x), gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.3), Feature Request, Restricted Project, Windows

Jun 12 2023

werner triaged T6534: gpg's progress_filter needs to use uint64_t as High priority.
Jun 12 2023, 4:23 PM · gpgme (gpgme 1.23.x), gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.3), Feature Request, Restricted Project, Windows
werner created T6534: gpg's progress_filter needs to use uint64_t.
Jun 12 2023, 4:23 PM · gpgme (gpgme 1.23.x), gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.3), Feature Request, Restricted Project, Windows

May 9 2023

ebo added a project to T6439: Kleopatra: Decrypting an encrypted archive fails on Windows: gnupg24 (gnupg-2.4.1).
May 9 2023, 2:40 PM · gnupg24 (gnupg-2.4.1), Restricted Project, Windows, gpg4win, kleopatra, Bug Report
ebo closed T6439: Kleopatra: Decrypting an encrypted archive fails on Windows as Resolved.

works, no KIO error. Gpg4win-4.1.1-beta317

May 9 2023, 2:39 PM · gnupg24 (gnupg-2.4.1), Restricted Project, Windows, gpg4win, kleopatra, Bug Report

May 3 2023

aheinecke added a comment to T6439: Kleopatra: Decrypting an encrypted archive fails on Windows.

Starting to understand KIO architecture a bit better. We can easily add more protocols if we want to. For now I have just added the file plugin. I tested with moving.

May 3 2023, 11:43 AM · gnupg24 (gnupg-2.4.1), Restricted Project, Windows, gpg4win, kleopatra, Bug Report

Apr 28 2023

aheinecke added a comment to T6439: Kleopatra: Decrypting an encrypted archive fails on Windows.

The code for the file Job etc. is definetly in there. I think it somehow tries to intospect supported protocols maybe even through dbus and this fails then. My current expectation is that we need to identify where this happens and then to hardcode some supported jobs / workers etc.

Apr 28 2023, 5:43 PM · gnupg24 (gnupg-2.4.1), Restricted Project, Windows, gpg4win, kleopatra, Bug Report
aheinecke claimed T6439: Kleopatra: Decrypting an encrypted archive fails on Windows.

Yes most definetly I am looking it at next

Apr 28 2023, 5:24 PM · gnupg24 (gnupg-2.4.1), Restricted Project, Windows, gpg4win, kleopatra, Bug Report
ikloecker added a project to T6439: Kleopatra: Decrypting an encrypted archive fails on Windows: Restricted Project.
Apr 28 2023, 11:33 AM · gnupg24 (gnupg-2.4.1), Restricted Project, Windows, gpg4win, kleopatra, Bug Report
ikloecker triaged T6439: Kleopatra: Decrypting an encrypted archive fails on Windows as High priority.

Setting priority to high because this should be fixed before the next release.

Apr 28 2023, 10:48 AM · gnupg24 (gnupg-2.4.1), Restricted Project, Windows, gpg4win, kleopatra, Bug Report
ikloecker merged T6475: Kleopatra: KIO error when trying to decrypt tar.gpg file into T6439: Kleopatra: Decrypting an encrypted archive fails on Windows.
Apr 28 2023, 10:46 AM · gnupg24 (gnupg-2.4.1), Restricted Project, Windows, gpg4win, kleopatra, Bug Report

Apr 24 2023

aheinecke triaged T6471: Kleopatra: Increase warning for backup secret key - Especially in de-vs mode as Wishlist priority.
Apr 24 2023, 3:27 PM · Windows, kleopatra, Restricted Project

Apr 13 2023

gniibe closed T5460: Migration for ABI change (newer mingw) as Resolved.
Apr 13 2023, 5:09 AM · gpg4win, Windows
gniibe added a comment to T5460: Migration for ABI change (newer mingw).

Fixed by rGfcbb849c26e9: speedo: Fix regression due to switching from gcc 8.3 to 10.2 for zlib build.

Apr 13 2023, 5:09 AM · gpg4win, Windows

Apr 5 2023

ebo moved T4518: Kleopatra: Changes log-file tcp://IPADDR to tcp:\\IPADDR from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Apr 5 2023, 2:59 PM · Restricted Project, Windows, kleopatra
ikloecker added a comment to T6439: Kleopatra: Decrypting an encrypted archive fails on Windows.

Problem 2 comes from the fact, that gpg4win packages gpg 2.4.0, but the new archive code needs gpg 2.4.1.

Apr 5 2023, 12:08 PM · gnupg24 (gnupg-2.4.1), Restricted Project, Windows, gpg4win, kleopatra, Bug Report
ikloecker created T6439: Kleopatra: Decrypting an encrypted archive fails on Windows.
Apr 5 2023, 11:20 AM · gnupg24 (gnupg-2.4.1), Restricted Project, Windows, gpg4win, kleopatra, Bug Report

Feb 28 2023

aheinecke lowered the priority of T6076: Kleopatra: Many icons are hard to see if the dark high-contrast mode is activated from Normal to Wishlist.

A finding has been that the icon theme switch is not detected at runtime. It would be nice if we could add this, especially if customers explicitly test the support for high contrast modes.

Feb 28 2023, 11:22 AM · Windows, kleopatra, Restricted Project

Feb 22 2023

ebo closed T4518: Kleopatra: Changes log-file tcp://IPADDR to tcp:\\IPADDR as Resolved.

works if you use a valid IP address

Feb 22 2023, 3:15 PM · Restricted Project, Windows, kleopatra

Feb 1 2023

gniibe added a comment to T3883: Add Win32-OpenSSH support to gpg-agent's ssh-agent.

@MathiasMagnus This change is to support Win32-OpenSSH by gpg-agent emulation of ssh-agent; You can use gpg-agent emulation of ssh-agent when you use Win32-OpenSSH. That is, you can use GPG auth subkey for Win32-OpenSSH.

Feb 1 2023, 6:03 AM · Not A Bug, workaround, gnupg24, Windows, ssh

Jan 31 2023

MathiasMagnus added a comment to T3883: Add Win32-OpenSSH support to gpg-agent's ssh-agent.

@gniibe Am I misunderstanding something? I thought that with this change one is able to connect from a Windows box to a Linux box and have GPG agent forwarding work. I am still hitting pretty much the same issue described here: https://github.com/PowerShell/Win32-OpenSSH/issues/1564
On my Windows endpoint I'm running gpg.exe version 2.4.0.49237 and in C:\Users\mate\AppData\Roaming\gnupg\gpg-agent.conf I have a single line enable-win32-openssh-support. Running gpg-connect-agent.exe reloadagent /bye I have a gpg-agent running. Get-Process gpg-agent shows that it's running. In my Windows env I have SSH_AUTH_SOCK set to \\.\pipe\openssh-ssh-agent and my Linux endpoint is configured in SSH config with

ForwardAgent yes
AddKeysToAgent yes
RemoteForward /run/user/1015/gnupg/S.gpg-agent C\:/Users/mate/AppData/Local/gnupg/S.gpg-agent.extra

As the remote end reports /run/user/1015/gnupg/S.gpg-agent that socket for agent-socket when issuing gpgconf --list-dirs and my local gpgconfg.exe --list-dirs reports C%3a\Users\mate\AppData\Local\gnupg\S.gpg-agent.extra where I transform %3a to \: manually. SSH authentication works perfectly, when connecting pinentry-qt pops up to unlock my key and when connecting to yet another machine, my SSH agent is forwarded again. However, gpg fails to use my agent. Issuing gpg --list-secret-keys --verbose prints the following to the console:

gpg --list-secret-keys --verbose
gpg: using pgp trust model
getsockopt SO_ERROR failed
connect_to C:/Users/mate/AppData/Local/gnupg/S.gpg-agent.extra port -2: failed.
gpg: no running gpg-agent - starting '/usr/bin/gpg-agent'
getsockopt SO_ERROR failed
connect_to C:/Users/mate/AppData/Local/gnupg/S.gpg-agent.extra port -2: failed.
gpg: waiting for the agent to come up ... (5s)
getsockopt SO_ERROR failed
connect_to C:/Users/mate/AppData/Local/gnupg/S.gpg-agent.extra port -2: failed.
getsockopt SO_ERROR failed
connect_to C:/Users/mate/AppData/Local/gnupg/S.gpg-agent.extra port -2: failed.
getsockopt SO_ERROR failed
connect_to C:/Users/mate/AppData/Local/gnupg/S.gpg-agent.extra port -2: failed.
getsockopt SO_ERROR failed
connect_to C:/Users/mate/AppData/Local/gnupg/S.gpg-agent.extra port -2: failed.
getsockopt SO_ERROR failed
connect_to C:/Users/mate/AppData/Local/gnupg/S.gpg-agent.extra port -2: failed.
getsockopt SO_ERROR failed
connect_to C:/Users/mate/AppData/Local/gnupg/S.gpg-agent.extra port -2: failed.
gpg: waiting for the agent to come up ... (4s)
gpg: waiting for the agent to come up ... (3s)
gpg: waiting for the agent to come up ... (2s)
gpg: waiting for the agent to come up ... (1s)
gpg: can't connect to the agent: End of file

What is missing to tie the knot on both ends without having to resort to 3rd party tools like @rupor-github 's agent-gui? The remote gpg version is 2.2.19, is that the issue? Must that also be 2.3.9+?

Jan 31 2023, 10:35 AM · Not A Bug, workaround, gnupg24, Windows, ssh

Jan 19 2023

werner closed T6244: GnuPG: GnuPG 2.2.40 LTS FTBFS against new Libgpg-error 1.46 as Resolved.
Jan 19 2023, 4:40 PM · Windows, gnupg (gpg22), Bug Report

Jan 11 2023

ikloecker placed T4505: SM, W32: GPGSM hangs up the GnuPG System up for grabs.

Putting up for grabs and removing Kleopatra tag since for Kleopatra users this has been fixed (unless they manage to trigger multiple separate concurrent imports in Kleopatra).

Jan 11 2023, 11:04 AM · Restricted Project, gpgol, S/MIME, gpg4win, Windows

Dec 23 2022

aheinecke added a comment to T4505: SM, W32: GPGSM hangs up the GnuPG System.

@ikloecker You are right, I only thought of public key import. Then lets serialize this. Might even make for a nicer Progressbar if we count the outstanding files.

Dec 23 2022, 9:51 AM · Restricted Project, gpgol, S/MIME, gpg4win, Windows

Dec 22 2022

ikloecker added a comment to T4505: SM, W32: GPGSM hangs up the GnuPG System.

I have an Idea. Can't we read all data into memory in Kleopatra (for Certificates this should be ok) and then give this to GPGME as a single data object. So that only one process imports multiple files?

Dec 22 2022, 7:21 PM · Restricted Project, gpgol, S/MIME, gpg4win, Windows
aheinecke added a comment to T4505: SM, W32: GPGSM hangs up the GnuPG System.

I really don't want to bypass gpgme and then parse the import results and all other status output of gpgsm ourselves. I'll go for Andre's suggestion and serialize imports of multiple files.

Dec 22 2022, 4:59 PM · Restricted Project, gpgol, S/MIME, gpg4win, Windows
werner closed T3883: Add Win32-OpenSSH support to gpg-agent's ssh-agent as Resolved.
Dec 22 2022, 10:34 AM · Not A Bug, workaround, gnupg24, Windows, ssh
mfilippov added a comment to T3883: Add Win32-OpenSSH support to gpg-agent's ssh-agent.

Thanks all. It is a bug in Win32 OpenSSH. https://github.com/PowerShell/Win32-OpenSSH/issues/1953 it is already fixed. I think the issue will be resolved after the update is shipped. I could use ssh -T git@github.com as a workaround.

Dec 22 2022, 10:05 AM · Not A Bug, workaround, gnupg24, Windows, ssh
gniibe added a comment to T3883: Add Win32-OpenSSH support to gpg-agent's ssh-agent.

Well, not our bug... it's a kind of support question and answer:
This might help: https://stackoverflow.com/questions/3844393/what-to-do-about-pty-allocation-request-failed-on-channel-0

Dec 22 2022, 1:00 AM · Not A Bug, workaround, gnupg24, Windows, ssh

Dec 21 2022

ikloecker added a comment to T4505: SM, W32: GPGSM hangs up the GnuPG System.

I really don't want to bypass gpgme and then parse the import results and all other status output of gpgsm ourselves. I'll go for Andre's suggestion and serialize imports of multiple files.

Dec 21 2022, 12:20 PM · Restricted Project, gpgol, S/MIME, gpg4win, Windows
werner added a comment to T3883: Add Win32-OpenSSH support to gpg-agent's ssh-agent.

This does not look like a problem in GnuPG/gpg4win because gnupg implements the ssh-agent protocol and not the ssh server or client functionality. ssh tells sshd whether it shall allocate a PTY (Pseudo TTY). I don't use ssh with github but it is likely that you may only run commands (which don't require a PTY). Usually you would invoke a "git" command cia ssh.

Dec 21 2022, 12:10 PM · Not A Bug, workaround, gnupg24, Windows, ssh
werner added a comment to T4505: SM, W32: GPGSM hangs up the GnuPG System.

I meant bypass the gpgme engine and call gpgsm directly. Maybe using gpgme's spawn engine. But I am not sure whether this is really a good idea. If we can find a way to pass multiple filenames to gpgsm --server that would be better. But requires updates to gpgsm.

Dec 21 2022, 11:59 AM · Restricted Project, gpgol, S/MIME, gpg4win, Windows
mfilippov added a comment to T3883: Add Win32-OpenSSH support to gpg-agent's ssh-agent.

Authentication succeed if I pressed enter after:PTY allocation request failed on channel 0

Dec 21 2022, 10:58 AM · Not A Bug, workaround, gnupg24, Windows, ssh
mfilippov added a comment to T3883: Add Win32-OpenSSH support to gpg-agent's ssh-agent.

I try WinGPG 4.1.0, and I receive an error:
ssh git@github.com
PTY allocation request failed on channel 0

Dec 21 2022, 10:53 AM · Not A Bug, workaround, gnupg24, Windows, ssh
ikloecker added a comment to T4505: SM, W32: GPGSM hangs up the GnuPG System.

@werner Do I understand correctly that by "It might be easier to bypass the gpgsm and run gpgsm directly" you mean using gpgsm in server mode? Or what do you mean with "bypass gpgsm and run gpgsm" (which seems contradictory).

Dec 21 2022, 10:38 AM · Restricted Project, gpgol, S/MIME, gpg4win, Windows

Dec 20 2022

werner added a comment to T4505: SM, W32: GPGSM hangs up the GnuPG System.

With 100 concurrently running gpgsm processes they all try to get the lock for the keyring. And they need to do this several times and often also for the same certificate (fetched from an external resource to complete the chain). Not good. It might be easier to bypass the gpgsm and run gpgsm directly instead of adding a feature to gpgsm to directly import from many files.

Dec 20 2022, 2:31 PM · Restricted Project, gpgol, S/MIME, gpg4win, Windows
ikloecker added a comment to T4505: SM, W32: GPGSM hangs up the GnuPG System.

Sure, we could do this. Shouldn't make the ImportCertificatesCommand much more complex than it already is.

Dec 20 2022, 1:22 PM · Restricted Project, gpgol, S/MIME, gpg4win, Windows
aheinecke reopened T4505: SM, W32: GPGSM hangs up the GnuPG System as "Open".

Reopening this as there still seem to be ways to run into a deadlock as was reported in RT#13361. While I still think this points to some issue in gpgsm, when Testing this I found the behavior of Kleopatra to be wrong.

Dec 20 2022, 1:07 PM · Restricted Project, gpgol, S/MIME, gpg4win, Windows

Dec 16 2022

werner closed T6255: --list-keys output truncated and loops repeatedly as Resolved.

@raysatiro: Please re-open if you are able to give us a reproducer

Dec 16 2022, 3:57 PM · gnupg24, Windows, gnupg (gpg23), can't replicate, Bug Report

Dec 6 2022

ikloecker changed the status of T4518: Kleopatra: Changes log-file tcp://IPADDR to tcp:\\IPADDR from Open to Testing.
Dec 6 2022, 8:20 AM · Restricted Project, Windows, kleopatra
ikloecker added a comment to T4518: Kleopatra: Changes log-file tcp://IPADDR to tcp:\\IPADDR.

Not so fun fact: If you enter tcp://1.2.3.4:10001 (literally) as value for gpg-agent's log file, then on save gpgconf calls
gpg-connect-agent --homedir /home/ingo/dev/g10/.gnupghomes/utf16 --no-autostart RELOADAGENT
which hangs (probably trying to connect to the not existing IP address or to the blocked port). This also makes Kleopatra hang.

Dec 6 2022, 8:19 AM · Restricted Project, Windows, kleopatra

Dec 5 2022

ikloecker moved T4518: Kleopatra: Changes log-file tcp://IPADDR to tcp:\\IPADDR from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Dec 5 2022, 5:18 PM · Restricted Project, Windows, kleopatra
ikloecker claimed T4518: Kleopatra: Changes log-file tcp://IPADDR to tcp:\\IPADDR.
Dec 5 2022, 5:18 PM · Restricted Project, Windows, kleopatra
werner added a comment to T4518: Kleopatra: Changes log-file tcp://IPADDR to tcp:\\IPADDR.

Windows accepts forward slashes in all API calls. Users are sometimes confused by this but this is a documented feature for ages in the API.

Dec 5 2022, 4:56 PM · Restricted Project, Windows, kleopatra
ikloecker added a comment to T4518: Kleopatra: Changes log-file tcp://IPADDR to tcp:\\IPADDR.

But what about real Windows filenames?

Dec 5 2022, 11:31 AM · Restricted Project, Windows, kleopatra