Page MenuHome GnuPG
Feed Advanced Search

Oct 22 2018

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

I'm also seeing the same behaviour on a freshly installed Windows 10 1809 with Gpg4win v3.1.4. Have to kill dirmngr from task manager to be able to get into Kleopatra.

Oct 22 2018, 10:27 AM · libassuan, Restricted Project, gpg4win, dirmngr, Windows, Bug Report

Oct 8 2018

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

Hi, Has anyone found a reason why that happens. I run into the same behavior on my Windows 10 1803 computer. I have Gpg4win version 3.1.3 freshly installed and dirmngr hangs. Thanks and best regards, Peter

Oct 8 2018, 9:39 AM · libassuan, Restricted Project, gpg4win, dirmngr, Windows, Bug Report

Aug 24 2018

werner lowered the priority of T3957: GPGME: mkdefsinc segfaults on windows from Normal to Low.

I need to know which of the processes segv: mkdefsinc, cat or the subshell. And a backtrace would also be very helpful.

Aug 24 2018, 5:52 PM · unreproducible, toolchain, Documentation, Windows, gpgme

Aug 6 2018

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

Was anyone successful in debugging dirmngr? I'm having the same issue. The dirmngr process gets stuck, no output at all, and this causes Kleopatra to get stuck waiting for it. I can only run Kleopatra after I have killed the dirmngr process. If I understand correctly I still need this process for network-related functionality, so I would need to fix it if I want to use all functions.

Aug 6 2018, 7:21 PM · libassuan, Restricted Project, gpg4win, dirmngr, Windows, Bug Report

Jul 5 2018

aheinecke closed T4054: libgpg-error, w32: logging crashes on unmatched %s on window as Resolved.

IMO this can be closed. At least the problem for which I intended this ticket is fixed.

Jul 5 2018, 8:56 AM · Windows, gpgrt

Jul 4 2018

werner added a comment to T4054: libgpg-error, w32: logging crashes on unmatched %s on window.

Printing "(null)" is just coincidence because NULL is stored at the respective stack address on one platform.

Jul 4 2018, 8:04 PM · Windows, gpgrt
aheinecke reassigned T4054: libgpg-error, w32: logging crashes on unmatched %s on window from aheinecke to werner.

Well I'm pretty sure the reason is that valuetable_buffer is not inialized in _gpgrt_estream_format. But the resulting behavior confused me. It would not crash. But it would also not print "gpg: Entschlüsselung als fehlgeschlagen angesehen: (null)" It would just print nothing instead of that string.

Jul 4 2018, 6:26 PM · Windows, gpgrt
aheinecke added a revision to T4054: libgpg-error, w32: logging crashes on unmatched %s on window: D465: Fix uninitialized access to valutable_buffer.
Jul 4 2018, 6:24 PM · Windows, gpgrt
aheinecke renamed T4054: libgpg-error, w32: logging crashes on unmatched %s on window from libgpg-error: w32 gettext crashes on unmatched %s in translation to libgpg-error, w32: logging crashes on unmatched %s on window.
Jul 4 2018, 6:06 PM · Windows, gpgrt

Jun 21 2018

werner added a comment to T3996: Undefined reference to GpgME::Data::seek(long, int) on MinGW.

Not really. off_t is a real portability problem and this why we moved that problem out of the GPGME ABI to the application. Thus the application needs to care about mapping gpgme_off_t to whatever off_t it uses. Without that we can't provide a stable _and_ toolchain independent ABI.

Jun 21 2018, 9:28 AM · Windows, C++, gpgme, Bug Report

Jun 20 2018

aheinecke added a comment to T3996: Undefined reference to GpgME::Data::seek(long, int) on MinGW.

Thank you for pointing this out.

Jun 20 2018, 9:07 PM · Windows, C++, gpgme, Bug Report
wojnilowicz added a comment to T3996: Undefined reference to GpgME::Data::seek(long, int) on MinGW.

Following patch fixes the issue.

Jun 20 2018, 7:08 PM · Windows, C++, gpgme, Bug Report

Jun 12 2018

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

@tinkerwolf This is weird... I've reinstalled my PC from scratch with an initial account set as local, and was able to set up GPG4Win perfectly fine for the first time on my PC (as I did in the VM). So, set up a VM with an initial account set up from an online account. GPG4Win started up fine... I am now really confused!! Somewhere within the getting set up with an online account, something has to be happening that interferes with dirmngr..
Will investigate further.

Jun 12 2018, 11:24 PM · 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.

@RAmbidge are you able to further test this by using a VM with a MS account? I don't have the means right now, or I'd do it myself.

Jun 12 2018, 4:18 PM · 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.

That actually makes sense, because it works fine on my laptop, where it's been a local account from the start, but it's broken on my desktop where it was originally a MS account, but is now local.

Jun 12 2018, 12:44 PM · libassuan, Restricted Project, gpg4win, dirmngr, Windows, Bug Report

Jun 11 2018

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

I'm having the same issue. I read somewhere that it's likely caused by using an online Windows account to login with. So I converted to local log in. Issue persists. As a test, I've just set up a VM with a local account set up at install, and GPG4Win works perfectly fine. So I'm guessing that there may be an issue which stays in the files system caused by online account users. I'm not a programmer and have no idea how or where to look to see what's causing it and how to fix it though.

Jun 11 2018, 1:04 AM · libassuan, Restricted Project, gpg4win, dirmngr, Windows, Bug Report

May 29 2018

wojnilowicz added a comment to T3996: Undefined reference to GpgME::Data::seek(long, int) on MinGW.

Maybe the off_t mess comes from following line

May 29 2018, 3:05 PM · Windows, C++, gpgme, Bug Report
aheinecke changed the status of T3996: Undefined reference to GpgME::Data::seek(long, int) on MinGW from Open to Testing.

The gpgme c api already had a convenience function gpgme_data_rewind to do data.seek (0, SEEK_SET); As this is by far the most common seek operation. KMymoney also only uses such seeks.

May 29 2018, 9:29 AM · Windows, C++, gpgme, Bug Report

May 28 2018

wojnilowicz added a comment to T3996: Undefined reference to GpgME::Data::seek(long, int) on MinGW.

Uhm, yeah I would be willing to help. But I tried to understand it and don't see the problem.

So what the error tells us is that "off_t" is defined as long in the declaration but as something else in the definition.

But how can that be? data.cpp includes the data.h header so they both should have the same definition of off_t.

The only thing I could imagine is that something which is included in the cpp but not in the header undef's off_t and defines it to something else.

Or more likely that the archive was compiled with a different definition of off_t then what is included in the headers when kmymoney is built.

Are you using the same mingw version as the buildchain which compiles the gpgme binary?

May 28 2018, 6:52 PM · Windows, C++, gpgme, Bug Report
aheinecke claimed T3996: Undefined reference to GpgME::Data::seek(long, int) on MinGW.

Uhm, yeah I would be willing to help. But I tried to understand it and don't see the problem.

May 28 2018, 4:43 PM · Windows, C++, gpgme, Bug Report
werner triaged T3996: Undefined reference to GpgME::Data::seek(long, int) on MinGW as Normal priority.

You are not cross-compiling. This is not suggested and I don't have the environment to replicate this. Maybe @aheinecke can help.

May 28 2018, 2:53 PM · Windows, C++, gpgme, Bug Report

May 16 2018

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

@werner I was hoping to make a modified gpg-agent build that would let me walk through what's going on after the nonce is sent but it looks like the gpg4win process only takes in a package of pre-built gpg binaries which rules that out. As far as I can figure out, after the nonce is read and accepted, libassuan creates a stream object out of the socket and then finding nothing in the stream terminates the ssh handler. We send the actual client request immediately after the nonce but in a separate call to send() so I now wonder if by not having anything read in at the same time as the nonce gpg-agent or libassuan thinks that it's a 0-length stream.

May 16 2018, 6:54 PM · Not A Bug, workaround, gnupg24, Windows, ssh

May 3 2018

aheinecke created T3957: GPGME: mkdefsinc segfaults on windows.
May 3 2018, 2:02 PM · unreproducible, toolchain, Documentation, Windows, gpgme

May 2 2018

aheinecke added a parent task for T2110: Gpgsm 2.1 external key search gives duplicated results: T3899: Gpg4win 3.1.1.
May 2 2018, 1:41 PM · gnupg (gpg22), S/MIME, Bug Report, gpg4win, Windows, Windows 32
aheinecke closed T2110: Gpgsm 2.1 external key search gives duplicated results as Resolved.

No longer happens when the good old ldapwrapper is used.

May 2 2018, 1:41 PM · gnupg (gpg22), S/MIME, Bug Report, gpg4win, Windows, Windows 32

Apr 25 2018

aheinecke added a parent task for T2110: Gpgsm 2.1 external key search gives duplicated results: T3937: Dirmgnr: X509 Searches on Windows can hang.
Apr 25 2018, 4:52 PM · gnupg (gpg22), S/MIME, Bug Report, gpg4win, Windows, Windows 32
aheinecke added a comment to T2110: Gpgsm 2.1 external key search gives duplicated results.

Still happens. There are also "BER" errors that seem random.

Apr 25 2018, 4:52 PM · gnupg (gpg22), S/MIME, Bug Report, gpg4win, Windows, Windows 32

Apr 21 2018

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

I just took a look through assuan-socket.c and it appears that we just need to send the nonce and don't need to read anything back. We also found a bug on our side that was preventing the nonce from being sent, which has been fixed. The error message logged above no longer happens.

Apr 21 2018, 9:16 PM · Not A Bug, workaround, gnupg24, Windows, ssh
werner added a comment to T3883: Add Win32-OpenSSH support to gpg-agent's ssh-agent.

The nonce is a string of octets thus it needs to be passed verbatim. I would need to study the code in libassun/src/assuan-socket.c to tell more.

Apr 21 2018, 12:11 AM · Not A Bug, workaround, gnupg24, Windows, ssh

Apr 20 2018

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

@werner After sending the nonce value from the socket file, does anything need to be read back before ssh-agent commands can be sent? Are there any byte ordering requirements for sending the nonce or can they be sent in the same order as they are in the file?

Apr 20 2018, 5:41 PM · Not A Bug, workaround, gnupg24, Windows, ssh

Apr 16 2018

bernhard added a comment to T3904: Clarify suggestion for diskperf.

Got the question about this note from a user (in a internal email) and I see the problem that users do not have enough information to decide this. They do not know what the consequences of this note are (and suspect it to be the cause of error of they see it together with other problems). So to me it is more than a 'wish' as it will generate questions and leaves users in a situation where they cannot progress by their own in most of the situations.

Apr 16 2018, 12:00 PM · Windows, libgcrypt
werner triaged T3904: Clarify suggestion for diskperf as Wishlist priority.
Apr 16 2018, 11:41 AM · Windows, libgcrypt
werner added a comment to T3904: Clarify suggestion for diskperf.

It is not an error or even a warning but just a NOTE. Thus the user should decide. it is not even translated and most systems this is enabled anyway.

Apr 16 2018, 11:41 AM · Windows, libgcrypt
tinkerwolf added a comment to T3381: dirmngr won't start on Windows 10 with admin level account.

Did that help any?

Apr 16 2018, 2:47 AM · libassuan, Restricted Project, gpg4win, dirmngr, Windows, Bug Report

Apr 14 2018

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

I've been working with one of Microsoft's developers on a temporary tool that should bridge the connection between named pipes and the Unix sockets emulation used by gpg-agent but things appear to trip up with sending the nonce. From the position of the tool, the nonce value is successfully sent (send returns 16), but never seems to be picked up by gpg-agent. Instead both gpg-agent and the bridge sit there until whatever tool is using them (I test using ssh-add -l) is terminated, at which point gpg-agent immediately spits up the message

Apr 14 2018, 4:37 AM · Not A Bug, workaround, gnupg24, Windows, ssh

Apr 13 2018

bernhard updated the task description for T3904: Clarify suggestion for diskperf.
Apr 13 2018, 3:27 PM · Windows, libgcrypt
bernhard created T3904: Clarify suggestion for diskperf in the S1 Public space.
Apr 13 2018, 3:26 PM · Windows, libgcrypt

Apr 12 2018

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

So I used a debugger to see if I could garner any additional info. Here's the log:

Apr 12 2018, 10:17 AM · libassuan, Restricted Project, gpg4win, dirmngr, Windows, Bug Report

Apr 11 2018

gniibe closed T3825: Scdaemon needs to restart after wake up from sleep mode for YubiKey to work on Windows as Resolved.

Workaround is implemented in 2.2.6.

Apr 11 2018, 1:59 AM · gpg4win, gpgagent, gnupg (gpg22), scd, Windows, Bug Report, yubikey

Apr 10 2018

tinkerwolf added a comment to T3381: dirmngr won't start on Windows 10 with admin level account.
dirmngr -v --debug ipc,dns,network --log-file - --server --debug-wait 3
Apr 10 2018, 8:41 PM · libassuan, Restricted Project, gpg4win, dirmngr, Windows, Bug Report
werner added a comment to T3381: dirmngr won't start on Windows 10 with admin level account.

--debug-wait 3

Apr 10 2018, 1:51 PM · 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.

@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