Page MenuHome GnuPG
Feed Advanced Search

Apr 10 2018

tinkerwolf added a comment to T3381: dirmngr won't start on Windows 10 with admin level account.

@werner here's the only output I get:

Apr 10 2018, 10:53 AM · libassuan, Restricted Project, gpg4win, dirmngr, Windows, Bug Report
werner triaged T3381: dirmngr won't start on Windows 10 with admin level account as Normal priority.

Please kill all existing dirmngr instances and don't run any programs which will trigger it to be started (e.g. Kleopatra). Then run in a _standard_ shell (cmd.exe):

Apr 10 2018, 10:48 AM · libassuan, Restricted Project, gpg4win, dirmngr, Windows, Bug Report
tinkerwolf added a comment to T3381: dirmngr won't start on Windows 10 with admin level account.

I, too, have this problem. I have Windows 10 Pro 64-bit with BitDefender Total Security. My first reaction when this wasn't working was to disable all functions on BitDefender. That didn't help, so I ran dirmngr as admin in cmd (I despise PowerShell) without any luck. I created a non-admin user and ran it in there, again without luck. I've come up dry. No logs, no output, and no answers. Is there anything shy of downgrading dirmngr that will make this work? Has there been any progress as to figuring this out?

Apr 10 2018, 10:05 AM · libassuan, Restricted Project, gpg4win, dirmngr, Windows, Bug Report
werner added a comment to T3883: Add Win32-OpenSSH support to gpg-agent's ssh-agent.

Rhat's for the client, right. I never used it. We used to run a Windows 8 instance in a VM to run tests via ssh on it. That worked most not really stable. For obvious reasons I am more interested in the server part ;-)

Apr 10 2018, 8:15 AM · Not A Bug, workaround, gnupg24, Windows, ssh
ccharabaruk added a comment to T3883: Add Win32-OpenSSH support to gpg-agent's ssh-agent.

I would argue that the Windows port of OpenSSH is not unstable at this point, especially given that Microsoft is even providing it as an installable feature in the next regular Windows 10 release. The fact that the port is now using actual OpenSSH version numbers instead of their own 0.x versions lends credence to this as well.

Apr 10 2018, 2:19 AM · Not A Bug, workaround, gnupg24, Windows, ssh

Apr 9 2018

werner closed T3720: Crashes on Windows if homedir is a windows drive letter as Resolved.
Apr 9 2018, 2:55 PM · gnupg (gpg22), Windows
werner added a comment to T3720: Crashes on Windows if homedir is a windows drive letter.

Yes. However, I have tested a fix for the empty value.

Apr 9 2018, 2:45 PM · gnupg (gpg22), Windows
aheinecke added a comment to T3720: Crashes on Windows if homedir is a windows drive letter.

Have you tried it multiple times? If it's unintialized memory access maybe you got lucky?

Apr 9 2018, 1:30 PM · gnupg (gpg22), Windows
werner added a comment to T3720: Crashes on Windows if homedir is a windows drive letter.

I still can't reproduce the crash (on Vista).

Apr 9 2018, 1:26 PM · gnupg (gpg22), Windows
werner triaged T3883: Add Win32-OpenSSH support to gpg-agent's ssh-agent as Normal priority.

Thanks for the pointer. But as long as the Windows ssh server is that instable I see no urgent need to add this to GnuPG.

Apr 9 2018, 10:25 AM · Not A Bug, workaround, gnupg24, Windows, ssh

Apr 7 2018

ccharabaruk created T3883: Add Win32-OpenSSH support to gpg-agent's ssh-agent.
Apr 7 2018, 12:59 AM · Not A Bug, workaround, gnupg24, Windows, ssh

Mar 28 2018

gniibe claimed T3825: Scdaemon needs to restart after wake up from sleep mode for YubiKey to work on Windows.
Mar 28 2018, 1:29 AM · gpg4win, gpgagent, gnupg (gpg22), scd, Windows, Bug Report, yubikey

Mar 27 2018

aheinecke added a comment to T3720: Crashes on Windows if homedir is a windows drive letter.

In my opinion we should assume that c:/ was meant.

Mar 27 2018, 8:10 AM · gnupg (gpg22), Windows

Mar 26 2018

werner added a comment to T3720: Crashes on Windows if homedir is a windows drive letter.

Under Wine it does not crash but returning an empty string is not a good idea in any case. The question is what to do with "c:". The usual meaning is to use the current directory of drive C. But that does not make much sense. Should we simply assume that "c:/" was meant?

Mar 26 2018, 6:56 PM · gnupg (gpg22), Windows
werner edited projects for T3720: Crashes on Windows if homedir is a windows drive letter, added: gnupg (gpg22); removed gnupg.
Mar 26 2018, 10:20 AM · gnupg (gpg22), Windows
werner raised the priority of T3720: Crashes on Windows if homedir is a windows drive letter from Normal to High.
Mar 26 2018, 10:20 AM · gnupg (gpg22), Windows

Mar 20 2018

aheinecke added a parent task for T3776: Indicate that and why PGP-2 pubkeys (or secret) keys are not imported: T3742: Gpg4win 3.1.0.
Mar 20 2018, 9:49 AM · Windows, kleopatra
aheinecke closed T3776: Indicate that and why PGP-2 pubkeys (or secret) keys are not imported as Resolved.

Kleopatra now shows this:

Mar 20 2018, 9:49 AM · Windows, kleopatra

Mar 13 2018

vovcacik added a comment to T3825: Scdaemon needs to restart after wake up from sleep mode for YubiKey to work on Windows.

I've contacted Yubico to review this ticket.

Mar 13 2018, 3:03 PM · gpg4win, gpgagent, gnupg (gpg22), scd, Windows, Bug Report, yubikey
vovcacik added a comment to T3825: Scdaemon needs to restart after wake up from sleep mode for YubiKey to work on Windows.

Hi, that works as advertised. If this is the best solution yubikey permits us I am ok with it.

Mar 13 2018, 2:36 PM · gpg4win, gpgagent, gnupg (gpg22), scd, Windows, Bug Report, yubikey
gniibe added a comment to T3825: Scdaemon needs to restart after wake up from sleep mode for YubiKey to work on Windows.

I put an entry: https://wiki.gnupg.org/SmartCard#Known_problem_of_Yubikey

Mar 13 2018, 5:35 AM · gpg4win, gpgagent, gnupg (gpg22), scd, Windows, Bug Report, yubikey
gniibe added a comment to T3825: Scdaemon needs to restart after wake up from sleep mode for YubiKey to work on Windows.

After resume, because resume is not detected, some user interaction is required to cause an error.
gpg --card-status (which will only show partial information) is enough. Or, ssh failure. After failure, scdaemon reconnects the token.
Then, you can use it again without plug-off/plug-in.

Mar 13 2018, 4:58 AM · gpg4win, gpgagent, gnupg (gpg22), scd, Windows, Bug Report, yubikey
gniibe added a comment to T3825: Scdaemon needs to restart after wake up from sleep mode for YubiKey to work on Windows.

Thanks a lot for pointers and suggestion.
Well, the problem of Yubikey itself cannot be solved by others, we can put some workaround for the error recovery.
So, this is another try of mine to improve error recovery.

Mar 13 2018, 4:52 AM · gpg4win, gpgagent, gnupg (gpg22), scd, Windows, Bug Report, yubikey

Mar 12 2018

vovcacik added a comment to T3825: Scdaemon needs to restart after wake up from sleep mode for YubiKey to work on Windows.
  • There was same problem in yubico-piv-tool and it was solved by detecting error state (0x80100068) and reconnecting to the smart card if necessary [1]
  • There is also a thread in OpenSC discussing this issue [2] and relevant PRs [3]
  • I also found a project that claims to fix SCARD_W_RESET_CARD by disabling exclusive access to the card before asking for PIN (and then they enable exclusive access again) [4]
Mar 12 2018, 8:54 PM · gpg4win, gpgagent, gnupg (gpg22), scd, Windows, Bug Report, yubikey
gniibe added a comment to T3825: Scdaemon needs to restart after wake up from sleep mode for YubiKey to work on Windows.

Part of the problem is Yubikey side, I suppose. (Because my implementation of Gnuk Token has no problem for suspend/resume if it's in-use.)

Mar 12 2018, 1:24 AM · gpg4win, gpgagent, gnupg (gpg22), scd, Windows, Bug Report, yubikey
gniibe added a comment to T3825: Scdaemon needs to restart after wake up from sleep mode for YubiKey to work on Windows.

Again, thanks a lot for your testing. The log said: The code I added cannot detect the event of suspend/resume.
It seems that there is no way to recover from suspend/resume for Yubikey.

Mar 12 2018, 1:19 AM · gpg4win, gpgagent, gnupg (gpg22), scd, Windows, Bug Report, yubikey

Mar 9 2018

vovcacik added a comment to T3825: Scdaemon needs to restart after wake up from sleep mode for YubiKey to work on Windows.

Yeah, this is better, we got apdu_get_status => sw=0x0 status=7 and I can auth with this version as usual. After sleep-wake cycle it would however fail with pcsc_transmit failed: reset card (0x80100068). Logs attached.

Mar 9 2018, 7:09 PM · gpg4win, gpgagent, gnupg (gpg22), scd, Windows, Bug Report, yubikey
gniibe added a comment to T3825: Scdaemon needs to restart after wake up from sleep mode for YubiKey to work on Windows.

Thanks a lot for your testing. So, apparently, the PC/SC behavior is different between GNU/Linux and Windows.
Thus, I pushed another change: rG1e27c0e04cd3: scd: More fix with PC/SC for Windows.. Please test this. (Both of previous version and this version work well on GNU/Linux for operations not including suspend/resume with Yubikey and Gnuk Token, while my Yubikey with PC/SC doesn't work well for suspend/resume.)

Mar 9 2018, 2:02 AM · gpg4win, gpgagent, gnupg (gpg22), scd, Windows, Bug Report, yubikey

Mar 8 2018

vovcacik added a comment to T3825: Scdaemon needs to restart after wake up from sleep mode for YubiKey to work on Windows.

Thanks, this version of scdaemon executes.

Mar 8 2018, 7:45 PM · gpg4win, gpgagent, gnupg (gpg22), scd, Windows, Bug Report, yubikey
gniibe added a comment to T3825: Scdaemon needs to restart after wake up from sleep mode for YubiKey to work on Windows.

Sorry, my build was not good even if it's for x86_64 (I used development version of libassuan, etc.).

Mar 8 2018, 6:07 AM · gpg4win, gpgagent, gnupg (gpg22), scd, Windows, Bug Report, yubikey

Mar 6 2018

vovcacik added a comment to T3825: Scdaemon needs to restart after wake up from sleep mode for YubiKey to work on Windows.

@gniibe it seems the patched scdaemon.exe is 64 bit executable and it requires libassuan6-0.dll. However I got installed 32 bit version of gpg that only has incompatible libassuan-0.dll. I scanned whole computer for the missing lib, skimmed your ftp for 64 bit binaries and looked into gpg4win installer to find it, but no luck. There is also libassuan github repo, but I would like to avoid building the dll myself; there would probably be more than one dll to build anyway.

Mar 6 2018, 9:44 AM · gpg4win, gpgagent, gnupg (gpg22), scd, Windows, Bug Report, yubikey
gniibe changed the visibility for T3825: Scdaemon needs to restart after wake up from sleep mode for YubiKey to work on Windows.
Mar 6 2018, 8:27 AM · gpg4win, gpgagent, gnupg (gpg22), scd, Windows, Bug Report, yubikey
gniibe triaged T3825: Scdaemon needs to restart after wake up from sleep mode for YubiKey to work on Windows as Normal priority.

If possible, please try with this (patched version of scdaemon):

Mar 6 2018, 8:25 AM · gpg4win, gpgagent, gnupg (gpg22), scd, Windows, Bug Report, yubikey
aheinecke edited projects for T3825: Scdaemon needs to restart after wake up from sleep mode for YubiKey to work on Windows, added: gpg4win; removed Windows 64.
Mar 6 2018, 7:53 AM · gpg4win, gpgagent, gnupg (gpg22), scd, Windows, Bug Report, yubikey
gniibe added a comment to T3825: Scdaemon needs to restart after wake up from sleep mode for YubiKey to work on Windows.

I realized that suspend/resume is not supported yet on GNU/Linux: https://anonscm.debian.org/cgit/pcsclite/PCSC.git/tree/TODO#n7
So, I can't test myself.
Here is an attempt to improve:


The reference is: https://stackoverflow.com/questions/11294638/how-to-use-scardgetstatuschange-correctly-on-windows-8

Mar 6 2018, 2:11 AM · gpg4win, gpgagent, gnupg (gpg22), scd, Windows, Bug Report, yubikey
gniibe added a comment to T3825: Scdaemon needs to restart after wake up from sleep mode for YubiKey to work on Windows.

It looks like SCardGetStatusChange doesn't return failure after wake up.
Here, what we need is catching the event of wake up, which requires reset of the card.
I think that we can check by the dwEventState field.
I'll try on GNU/Linux environment, then ask you to try.

Mar 6 2018, 12:41 AM · gpg4win, gpgagent, gnupg (gpg22), scd, Windows, Bug Report, yubikey

Mar 5 2018

vovcacik added a comment to T3825: Scdaemon needs to restart after wake up from sleep mode for YubiKey to work on Windows.

@werner there had to be some mix up, as the log snippet is not mine.

Mar 5 2018, 9:26 PM · gpg4win, gpgagent, gnupg (gpg22), scd, Windows, Bug Report, yubikey
werner added a comment to T3825: Scdaemon needs to restart after wake up from sleep mode for YubiKey to work on Windows.

This seems to be the relevant part of the log:

2017-11-18 07:45:15 scdaemon[8918] DBG: ccid-driver: CCID: card inactive/removed
2017-11-18 07:45:15 scdaemon[8918] ccid open error: skip
2017-11-18 07:45:15 scdaemon[8918] pcsc_establish_context failed: no service (0x8010001d)
2017-11-18 07:45:15 scdaemon[8918] DBG: ccid-driver: CCID: interrupt callback 0
2017-11-18 07:45:15 scdaemon[8918] DBG: ccid-driver: CCID: card removed
Mar 5 2018, 1:46 PM · gpg4win, gpgagent, gnupg (gpg22), scd, Windows, Bug Report, yubikey
vovcacik updated the task description for T3825: Scdaemon needs to restart after wake up from sleep mode for YubiKey to work on Windows.
Mar 5 2018, 11:22 AM · gpg4win, gpgagent, gnupg (gpg22), scd, Windows, Bug Report, yubikey
vovcacik changed the visibility for T3825: Scdaemon needs to restart after wake up from sleep mode for YubiKey to work on Windows.
Mar 5 2018, 11:17 AM · gpg4win, gpgagent, gnupg (gpg22), scd, Windows, Bug Report, yubikey

Feb 6 2018

aheinecke triaged T3776: Indicate that and why PGP-2 pubkeys (or secret) keys are not imported as Normal priority.
Feb 6 2018, 9:14 AM · Windows, kleopatra

Feb 5 2018

bernhard created T3776: Indicate that and why PGP-2 pubkeys (or secret) keys are not imported in the S1 Public space.
Feb 5 2018, 1:59 PM · Windows, kleopatra

Jan 15 2018

RouL added a comment to T3381: dirmngr won't start on Windows 10 with admin level account.

I have exactly the same problem on my Windows 10 machine. I am using bitdefender as virus scanner, but it doesn't work no matter if it is active or not. Windows is fully updated and I am using gpg4win 3.0.3.

Jan 15 2018, 8:30 AM · libassuan, Restricted Project, gpg4win, dirmngr, Windows, Bug Report

Jan 10 2018

aheinecke reopened T3720: Crashes on Windows if homedir is a windows drive letter as "Open".

This is not with 2.0 but with 2.2.3 / current master.

Jan 10 2018, 9:32 AM · gnupg (gpg22), Windows
werner closed T3720: Crashes on Windows if homedir is a windows drive letter as Wontfix.

gnupg 2.0 reached EOL - there won't be any fixes.

Jan 10 2018, 9:15 AM · gnupg (gpg22), Windows
aheinecke added a comment to T3720: Crashes on Windows if homedir is a windows drive letter.

The install location does not have anything to do with that. I just always have my development installations directly under C: so that I can modify them without admin rights.

Jan 10 2018, 8:10 AM · gnupg (gpg22), Windows
aa added a comment to T3720: Crashes on Windows if homedir is a windows drive letter.

ok,
well I run "it" on Power Shell ( Debuggable Package Manager ) and I got ..

Jan 10 2018, 6:17 AM · gnupg (gpg22), Windows

Jan 9 2018

werner added a comment to T3720: Crashes on Windows if homedir is a windows drive letter.

Do you mean that GnuPG installed to c:/gnupg/bin/ crashed if that mentioned --homedir is given but it does work if it is installed at the standard place? Please run "gpgconf --version" in both ways.

Jan 9 2018, 7:06 PM · gnupg (gpg22), Windows
aa added a comment to T3720: Crashes on Windows if homedir is a windows drive letter.

my <output> was the following...

Jan 9 2018, 1:06 PM · gnupg (gpg22), Windows

Jan 8 2018

aheinecke renamed T3720: Crashes on Windows if homedir is a windows drive letter from Crashes on Windows if homedir is a root drive to Crashes on Windows if homedir is a windows drive letter.
Jan 8 2018, 3:55 PM · gnupg (gpg22), Windows
aheinecke created T3720: Crashes on Windows if homedir is a windows drive letter.
Jan 8 2018, 3:52 PM · gnupg (gpg22), Windows

Dec 11 2017

werner renamed T3515: Gpg4win: Gpgconf used to open "windows" and slows down kleo startup from Gpg4win: Gpgconf opens "windows" and slows down kleo startup to Gpg4win: Gpgconf used to open "windows" and slows down kleo startup.
Dec 11 2017, 2:01 PM · Windows, gpgme
werner lowered the priority of T3515: Gpg4win: Gpgconf used to open "windows" and slows down kleo startup from High to Wishlist.

I'd really like to understand what is going on. Thus keeping the report open.

Dec 11 2017, 2:01 PM · Windows, gpgme

Dec 8 2017

aheinecke added a comment to T3378: gpg-agent.exe hanging after left to idle for a while.

There is now also Gpg4win-3.0.2 with that gnupg version available.

Dec 8 2017, 2:18 PM · Windows, libassuan, gpgagent, Bug Report
Kelbom68 added a comment to T3378: gpg-agent.exe hanging after left to idle for a while.

I've been running gnupg-w32-2.2.3_20171207.exe for about as long as it's been available and no hanging whatsoever. Thanks a lot!

Dec 8 2017, 4:07 AM · Windows, libassuan, gpgagent, Bug Report

Dec 7 2017

werner changed the status of T3378: gpg-agent.exe hanging after left to idle for a while from Open to Testing.

All commited. I created a new installer gnupg-w32-2.2.3_20171207.exe which comes with the new libassuan 2.5.1 and the two required patches for gnupg.

Dec 7 2017, 6:07 PM · Windows, libassuan, gpgagent, Bug Report

Dec 6 2017

aseibert88 added a comment to T3381: dirmngr won't start on Windows 10 with admin level account.

I experience this same behavior, standard shell. Both with admin, windows live based account and local, non-admin account.

Dec 6 2017, 9:02 PM · libassuan, Restricted Project, gpg4win, dirmngr, Windows, Bug Report
gniibe added a comment to T3378: gpg-agent.exe hanging after left to idle for a while.

Thanks for testing.
I created another patch which can be applied independently: D457: Avoid crash using nPth

Dec 6 2017, 10:47 AM · Windows, libassuan, gpgagent, Bug Report
aheinecke added a comment to T3378: gpg-agent.exe hanging after left to idle for a while.

Looks good. With the libassuan-hang-test.diff and D455 D456 applied on current master branches it no longer hangs. It hung with only the libassuan-hang-test.diff.

Dec 6 2017, 10:37 AM · Windows, libassuan, gpgagent, Bug Report
gniibe added a comment to T3378: gpg-agent.exe hanging after left to idle for a while.

The patch above libassuan-hang-test.diff requires D455 and D456 applied.
I guess that without the patch for testing, current gpg-agent would just work fine, possibly. (no crash)

Dec 6 2017, 10:23 AM · Windows, libassuan, gpgagent, Bug Report
gniibe added a comment to T3378: gpg-agent.exe hanging after left to idle for a while.

For better reproducibility of hang, this is more better:


It's a patch to libassuan. The patch to gpg-agent is not the exact one. libassuan patch is the exact one.

Dec 6 2017, 7:54 AM · Windows, libassuan, gpgagent, Bug Report
aheinecke added a comment to T3378: gpg-agent.exe hanging after left to idle for a while.

I'm doing the test. I'm currently waiting on a hang with the test change applied.

Dec 6 2017, 7:43 AM · Windows, libassuan, gpgagent, Bug Report
raysatiro added a comment to T3378: gpg-agent.exe hanging after left to idle for a while.

If you can get the developers to make a try-build that is built securely then I'd guess most of us would be happy to try it. Not all of us have a build system for gpg.

Dec 6 2017, 7:28 AM · Windows, libassuan, gpgagent, Bug Report
gniibe added a comment to T3378: gpg-agent.exe hanging after left to idle for a while.

To reproduce this problem of nonce write->read race on Windows, and forgotten wrapping of read/write, please apply this patch for testing:


And then, please confirm that rG1524ba9656f0: agent: Set assuan system hooks before call of assuan_sock_init. can fix this, even with the patch for testing.

Dec 6 2017, 6:40 AM · Windows, libassuan, gpgagent, Bug Report

Dec 5 2017

aheinecke created T3575: Pinentry, FLTK: When cross compiling the hosts FLTK is detected.
Dec 5 2017, 1:19 PM · Windows, pinentry
Kelbom68 added a comment to T3378: gpg-agent.exe hanging after left to idle for a while.

Alright, I need to weight in with something that may possibly be influencing the failure of the December-01-2017 build to operate correctly over here; since this issue is related to sockets, and I have set up a rather unusual security apparatus on my system ("unusual" as far as computers regularly running GPG are concerned, and that only to my personal experience, meaning no reliable statistics or anything), I think it's worth mentioning that my firewall (Sygate Personal Firewall Pro) is configured to be very restrictive and that virtually anything that utilizes tcp or udp is being routed through socks5 via ProxyCap, and that neither application is currently allowing GPG to have access to any address but localhost (there's a reason for this and has got nothing to do with GPG itself, but that's part of a different discussion).

Dec 5 2017, 7:27 AM · Windows, libassuan, gpgagent, Bug Report

Dec 2 2017

werner changed the status of T3378: gpg-agent.exe hanging after left to idle for a while from Testing to Open.

:-(

Dec 2 2017, 12:04 PM · Windows, libassuan, gpgagent, Bug Report
Kelbom68 added a comment to T3378: gpg-agent.exe hanging after left to idle for a while.

Ok here's an update.

Dec 2 2017, 6:57 AM · Windows, libassuan, gpgagent, Bug Report
Kelbom68 added a comment to T3378: gpg-agent.exe hanging after left to idle for a while.

Superb! Testing gnupg-2.2.3_171201.exe as I type, and it's already working past the time it would normally cease to respond :)

Dec 2 2017, 2:51 AM · Windows, libassuan, gpgagent, Bug Report

Dec 1 2017

werner removed a project from T3378: gpg-agent.exe hanging after left to idle for a while: Unreleased.

A new installer with an updated libassuan is now available. To download gnupg-2.2.3_171201.exe please go to https://gnupg.org/download/ . If you had the disable-check-own-socket in your gpg-agent.conf, please remove it so that we can really see whether that version fixes the problem.

Dec 1 2017, 5:19 PM · Windows, libassuan, gpgagent, Bug Report
inc75 added a comment to T3378: gpg-agent.exe hanging after left to idle for a while.

The error is fixed with "disable-check-own-socket"
If someone is interested for next times, the log-file "gpg-agent.log" is on the path "C:\Users\<my user>\AppData\Local\VirtualStore\Program Files (x86)\Mozilla Thunderbird\".

Dec 1 2017, 4:17 PM · Windows, libassuan, gpgagent, Bug Report
werner added a project to T3378: gpg-agent.exe hanging after left to idle for a while: Windows.

Adding Windows again because on Unix it is unlikley that our close will block. A documented blocking behavior is only defined for STREAMS

Dec 1 2017, 1:51 PM · Windows, libassuan, gpgagent, Bug Report
gniibe added a comment to T3378: gpg-agent.exe hanging after left to idle for a while.

Thanks everyone. I think that the problem is identified and fixed in libassuan.

Dec 1 2017, 12:13 AM · Windows, libassuan, gpgagent, Bug Report

Nov 30 2017

hs added a comment to T3378: gpg-agent.exe hanging after left to idle for a while.

Update: It was my mistake (typical beginners failure): I had to create gpg-agent.conf instead of usig gpg.conf.
Adding disable-check-own-socket resulted in the right behavior, till now:
After some time-out, GpgOL asks for password again and decrypts the content as expected.

Nov 30 2017, 2:10 PM · Windows, libassuan, gpgagent, Bug Report
gniibe added a comment to T3378: gpg-agent.exe hanging after left to idle for a while.

Suppose a client which connects stopped task of server on Windows. In this situation, if the client blocks on closesocket, that is, some user space work is needed for server side for closing socket of client side, this bug can be explained.

Nov 30 2017, 10:02 AM · Windows, libassuan, gpgagent, Bug Report
gniibe added a comment to T3378: gpg-agent.exe hanging after left to idle for a while.

If disable-check-own-socket can stop hanging, D454: assuan_close with nPth could be related.

Nov 30 2017, 9:37 AM · Windows, libassuan, gpgagent, Bug Report

Nov 29 2017

inc75 added a comment to T3378: gpg-agent.exe hanging after left to idle for a while.

I have created the file "gpg-agent.conf" in the path "C:\Users\<my user>\AppData\Roaming\gnupg\" with the following content:

Nov 29 2017, 6:38 PM · Windows, libassuan, gpgagent, Bug Report
jbtule added a comment to T3378: gpg-agent.exe hanging after left to idle for a while.

It's working for me now with that config file as well so far. I'll keep watching too.

Nov 29 2017, 6:13 PM · Windows, libassuan, gpgagent, Bug Report
HB1000 added a comment to T3378: gpg-agent.exe hanging after left to idle for a while.

I added "disable-check-own-socket" to gpg-agent.conf .
Since 8 hours no "hanging".
I will watch it furthermore...

Nov 29 2017, 5:11 PM · Windows, libassuan, gpgagent, Bug Report
hs added a comment to T3378: gpg-agent.exe hanging after left to idle for a while.

Could confirm a similar behavior with Windows 7 and Outlook 2010 using GPG4Win 3.0.1.
Time frame for loosing the decryption ability is about one hour or more.
Setting disable-check-own-socket in gpg.conf (didn't find gpg-agent.conf) resulted in "no data" error on all
encrypted e-mails.

Nov 29 2017, 4:50 PM · Windows, libassuan, gpgagent, Bug Report
aheinecke added a comment to T3378: gpg-agent.exe hanging after left to idle for a while.

I assume it goes in %APPDATA%\gnupg\gpg-agent.conf.

Nov 29 2017, 7:39 AM · Windows, libassuan, gpgagent, Bug Report
raysatiro added a comment to T3378: gpg-agent.exe hanging after left to idle for a while.

Can someone please add

disable-check-own-socket

to gpg-agent.conf to test whether this is the cause for the problem. ( note that I asked for this also in T3401)

Nov 29 2017, 6:19 AM · Windows, libassuan, gpgagent, Bug Report
Nillth added a comment to T3470: Issue with the Sign and Encrypt Explorer Context Menu option.

Sorry for the delay, been a busy busy couple of weeks..

Nov 29 2017, 3:03 AM · gpg4win, Windows, gpgex, Bug Report

Nov 28 2017

aheinecke closed T3470: Issue with the Sign and Encrypt Explorer Context Menu option as Resolved.

Setting this to resolved until we get reports to the contrary.

Nov 28 2017, 3:55 PM · gpg4win, Windows, gpgex, Bug Report
werner added a comment to T3378: gpg-agent.exe hanging after left to idle for a while.

Can someone please add

Nov 28 2017, 9:48 AM · Windows, libassuan, gpgagent, Bug Report
gniibe added a comment to T3378: gpg-agent.exe hanging after left to idle for a while.

I introduce GnuPG to my friend, yesterday. I saw this problem. It's on Windows 7, gpg4win 3.0.1 and enigmail.
Looking through this report, Windows 7 is common factor.

Nov 28 2017, 2:04 AM · Windows, libassuan, gpgagent, Bug Report

Nov 21 2017

JochenSaalfeld added a comment to T3470: Issue with the Sign and Encrypt Explorer Context Menu option.

With the Release of Gpg4win 3.0.1 this error doesn't appear anymore for me while testing.

Nov 21 2017, 12:47 PM · gpg4win, Windows, gpgex, Bug Report

Nov 20 2017

gniibe added a comment to T3378: gpg-agent.exe hanging after left to idle for a while.

Not yet located or identified the bug, but some information.

Nov 20 2017, 11:50 AM · Windows, libassuan, gpgagent, Bug Report

Nov 14 2017

aheinecke changed the status of T3470: Issue with the Sign and Encrypt Explorer Context Menu option from Open to Testing.

Multiple bugs fixed here:

Nov 14 2017, 2:35 PM · gpg4win, Windows, gpgex, Bug Report
JochenSaalfeld closed T2416: Outlook 2016 64-bit: Crash if "Send to" > "Mail Recipient" is tried as Resolved.

Tested with Gpg4win-3.0.0-beta17 with GpgOL-2.0.2-beta8 on Windows 10 (64bit) with Outlook 2016.

Nov 14 2017, 1:55 PM · Restricted Project, Windows 32, gpg4win, Bug Report, Windows 64, gpgol, Windows

Nov 13 2017

aheinecke claimed T3470: Issue with the Sign and Encrypt Explorer Context Menu option.

Thanks for the report. This is indeed badly broken. I'll work on this now.
I can reproduce and also have a reproducable crash when trying to encrypt a special folder. This must be a recent regression because I tested this some months ago and it worked fine.

Nov 13 2017, 2:44 PM · gpg4win, Windows, gpgex, Bug Report
aheinecke closed T3445: Update mkportable for Gpg4win 3.0 as Resolved.

Indeed this was a todo that was overlooked.

Nov 13 2017, 2:37 PM · Windows, gpg4win
aheinecke added a project to T3378: gpg-agent.exe hanging after left to idle for a while: gpg4win.

This might be a reason that we got multiple reports for Kleopatra since 3.0 was released that it hangs on keylisting: https://bugs.kde.org/show_bug.cgi?id=381910

Nov 13 2017, 10:38 AM · Windows, libassuan, gpgagent, Bug Report
aheinecke reassigned T2416: Outlook 2016 64-bit: Crash if "Send to" > "Mail Recipient" is tried from aheinecke to JochenSaalfeld.

Jochen could you please test this on one of our test VM's again and resolve this then?

Nov 13 2017, 10:23 AM · Restricted Project, Windows 32, gpg4win, Bug Report, Windows 64, gpgol, Windows
aheinecke closed T3487: Check ldap timeout for CMS certificate search as Resolved.

Indeed bug in Kleo, it was always 0 in kleo. (likely created during Qt5 port) fixed with: https://commits.kde.org/kleopatra/0d53416cfbe6d8fa087887c428cdfffb13514a7d

Nov 13 2017, 9:34 AM · Windows, dirmngr, gpg4win

Nov 10 2017

aheinecke closed T3425: Gpg4win support for Windows Vista and XP for the Qt5 relevant parts (pinentry-qt and kleopatra) as Resolved.

Duplicated problem. Solution for the installer is described in: T3434

Nov 10 2017, 1:15 PM · Windows, Bug Report

Nov 9 2017

jbtule added a comment to T3378: gpg-agent.exe hanging after left to idle for a while.

Both my coworker and I have the same issue. We just started using gpg for git commit signing. Works the first time. Then sometime later, no window pops up and will hang git indefinitely because it's waiting on the agent. Kill the agent and gpg process let git error out. try again, gpg-agent window prompting for password shows up and works.

Nov 9 2017, 6:47 PM · Windows, libassuan, gpgagent, Bug Report

Nov 8 2017

werner added a comment to T3378: gpg-agent.exe hanging after left to idle for a while.

The thing is that I don't see this bug with verbose logging enabled. So we need to do more code starring or instrument the code

Nov 8 2017, 4:57 PM · Windows, libassuan, gpgagent, Bug Report
HB1000 added a comment to T3378: gpg-agent.exe hanging after left to idle for a while.

Is there a more detailed logging that i can switch on? Perhaps i can help you to get diagnostic files. Nearly every day i notice this bug. In the log (with "verbose" in gpg-agent.conf) are the same entries i already posted.

Nov 8 2017, 3:32 PM · Windows, libassuan, gpgagent, Bug Report

Nov 7 2017

bernhard added a comment to T3487: Check ldap timeout for CMS certificate search.

So maybe there is also a display problem, as I saw 0:00 in Kleo. I have to recheck.

Nov 7 2017, 11:30 AM · Windows, dirmngr, gpg4win