Page MenuHome GnuPG
Feed Advanced Search

Nov 15 2018

werner triaged T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP as High priority.
Nov 15 2018, 4:07 PM · gnupg, gpgagent
werner added a comment to T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP.

Hmmm

Nov 15 2018, 4:06 PM · gnupg, gpgagent
aheinecke assigned T4256: gpg-agent: Spurious pinentries for an already unlocked key when decryption OpenPGP in 10 threads to werner.

You seem to accept it. So Normal Prio and assigned to you :-p

Nov 15 2018, 3:24 PM · gnupg, gpgagent
aheinecke added a comment to T4256: gpg-agent: Spurious pinentries for an already unlocked key when decryption OpenPGP in 10 threads.

Just as a note: I think the main selling point of GnuPG is that its stable. We care about backwards compatibility and we (are || want to be) rock solid. Even if there is a rare race. With millions of installations, that race will happen regularly. So I really would like us to get all this fixed without losing to much performance by locking to much.

Nov 15 2018, 3:23 PM · gnupg, gpgagent
aheinecke added a comment to T4256: gpg-agent: Spurious pinentries for an already unlocked key when decryption OpenPGP in 10 threads.

Happens though. With the test invocation above there is only one key in the keyring.

Nov 15 2018, 3:12 PM · gnupg, gpgagent
aheinecke added a comment to T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP.

1.9.0-beta68

Nov 15 2018, 3:11 PM · gnupg, gpgagent
werner added a comment to T4256: gpg-agent: Spurious pinentries for an already unlocked key when decryption OpenPGP in 10 threads.

Well, it should not happen if you always use the same key.

Nov 15 2018, 3:06 PM · gnupg, gpgagent
werner added a comment to T4256: gpg-agent: Spurious pinentries for an already unlocked key when decryption OpenPGP in 10 threads.

There is indeed a race condition between the passphrase cache and the pinentry invocation. There is even a comment on this somewhere in the code. The problem is that we would need to lock almost everything to avoid this rare condition.

Nov 15 2018, 3:05 PM · gnupg, gpgagent
werner added a comment to T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP.

Which Libgcrypt version?

Nov 15 2018, 3:02 PM · gnupg, gpgagent
aheinecke added a comment to T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP.

Forgot to mention. run-threaded is a new test tool in GPGME.

Nov 15 2018, 12:15 PM · gnupg, gpgagent
aheinecke created T4256: gpg-agent: Spurious pinentries for an already unlocked key when decryption OpenPGP in 10 threads.
Nov 15 2018, 12:14 PM · gnupg, gpgagent
aheinecke created T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP.
Nov 15 2018, 12:13 PM · gnupg, gpgagent

Nov 9 2018

aheinecke created T4248: gpg-agent: Rare unresponsiveness after importing a secret S/MIME cert on Windows.
Nov 9 2018, 1:50 PM · S/MIME, gnupg (gpg22), gpgagent, gpg4win
aheinecke closed T3378: gpg-agent.exe hanging after left to idle for a while as Resolved.

Marking this as resolved as it was forgotten in the testing state.

Nov 9 2018, 1:42 PM · Windows, libassuan, gpgagent, Bug Report

Nov 5 2018

werner edited projects for T3108: gpgconf lists the wrong extra socket path when a path is explicitly configured in gpg-agent.conf, added: gnupg (gpg23); removed gnupg (gpg22).
Nov 5 2018, 9:38 AM · gnupg (gpg23), gpgagent

Oct 29 2018

werner triaged T4167: Pinentry prompt is confusing with regards to multiple smartcards when gpg-agent is used as ssh-agent as Normal priority.
Oct 29 2018, 9:46 AM · Feature Request, ssh, gpgagent
werner added a comment to T4167: Pinentry prompt is confusing with regards to multiple smartcards when gpg-agent is used as ssh-agent.

We had this idea to have a label: or similar item in the extended-key-format which is displayed in addition to the other info. The user can then use an editor to put whatever she likes into this field.

Oct 29 2018, 9:46 AM · Feature Request, ssh, gpgagent

Oct 19 2018

gniibe added a comment to T4167: Pinentry prompt is confusing with regards to multiple smartcards when gpg-agent is used as ssh-agent.

there should be clearer labelling of smartcards so that users can tell them apart more easily

Oct 19 2018, 6:17 AM · Feature Request, ssh, gpgagent

Oct 5 2018

werner added projects to T4167: Pinentry prompt is confusing with regards to multiple smartcards when gpg-agent is used as ssh-agent: gpgagent, ssh.
Oct 5 2018, 9:44 AM · Feature Request, ssh, gpgagent

Sep 17 2018

cepxuo created T4144: pinentry-qt prints Gtk warnings on stderr in the S1 Public space.
Sep 17 2018, 7:24 PM · Bug Report, pinentry

Aug 28 2018

gniibe closed T3056: gpgme-1.8.0: test failures on NetBSD as Resolved.
Aug 28 2018, 4:20 AM · gpgme (gpgme 1.23.x), gpgagent, gnupg (gpg23)

Aug 27 2018

gniibe added a comment to T3056: gpgme-1.8.0: test failures on NetBSD.

I think it's good to close this as "resolved", since many fixes have been done, and I don't have remaining issue.
@wiz Please open another ticket for your next try.

Aug 27 2018, 6:53 AM · gpgme (gpgme 1.23.x), gpgagent, gnupg (gpg23)

Aug 24 2018

werner moved T3056: gpgme-1.8.0: test failures on NetBSD from Backlog to QA for next release on the gpgme board.
Aug 24 2018, 5:57 PM · gpgme (gpgme 1.23.x), gpgagent, gnupg (gpg23)
werner added a comment to T3056: gpgme-1.8.0: test failures on NetBSD.

What are we going to do with this report? The last comment is 6 months old; can we change from testing to resolved or do we need to wait for a gpgme release?

Aug 24 2018, 5:56 PM · gpgme (gpgme 1.23.x), gpgagent, gnupg (gpg23)

Aug 22 2018

gniibe updated the task description for T4106: Terminal use case for gpg-agent and gpg-agent for ssh-agent feature.
Aug 22 2018, 10:03 AM · Debian, gpgagent, Bug Report
gniibe updated the task description for T4106: Terminal use case for gpg-agent and gpg-agent for ssh-agent feature.
Aug 22 2018, 10:03 AM · Debian, gpgagent, Bug Report
gniibe updated the task description for T4106: Terminal use case for gpg-agent and gpg-agent for ssh-agent feature.
Aug 22 2018, 10:00 AM · Debian, gpgagent, Bug Report
gniibe claimed T4106: Terminal use case for gpg-agent and gpg-agent for ssh-agent feature.

This entry was created based on the conversation at #gnupg channel.
I can't reproduce keep hanging.
I confirmed that pinentry vanished (perhaps, because of timeout).

Aug 22 2018, 9:59 AM · Debian, gpgagent, Bug Report
gniibe updated the task description for T4106: Terminal use case for gpg-agent and gpg-agent for ssh-agent feature.
Aug 22 2018, 9:56 AM · Debian, gpgagent, Bug Report

Aug 21 2018

werner added a project to T4106: Terminal use case for gpg-agent and gpg-agent for ssh-agent feature: Debian.

gpg-agent has a pinentry caling timeout - doesn't that trigger?
In any case we agreed that Debian takes care of systemd support because that is not an upstream supported configuration.

Aug 21 2018, 5:28 PM · Debian, gpgagent, Bug Report
gniibe created T4106: Terminal use case for gpg-agent and gpg-agent for ssh-agent feature.
Aug 21 2018, 5:48 AM · Debian, gpgagent, Bug Report
gniibe merged task T2439: Optionally always prompt for key confirmation for requests from restricted sockets into T1840: gpg-agent should have prompt-for-use mechanism.
Aug 21 2018, 2:20 AM · gpgagent, Feature Request

Jun 8 2018

aheinecke created T4010: GnuPG: Allow key generation through the browser socket.
Jun 8 2018, 9:47 AM · gnupg, gpgagent

Jun 6 2018

werner closed T3947: pinentry-gnome3 requires DBUS_SESSION_BUS_ADDRESS to be updated as Resolved.

Thanks. I added all standard names to that list.

Jun 6 2018, 6:39 PM · pinentry, gpgagent, Bug Report

May 17 2018

ccharabaruk added a watcher for gpgagent: ccharabaruk.
May 17 2018, 5:43 PM

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

Apr 27 2018

blueyed updated the task description for T3947: pinentry-gnome3 requires DBUS_SESSION_BUS_ADDRESS to be updated.
Apr 27 2018, 1:36 PM · pinentry, gpgagent, Bug Report
blueyed created T3947: pinentry-gnome3 requires DBUS_SESSION_BUS_ADDRESS to be updated.
Apr 27 2018, 1:35 PM · pinentry, gpgagent, Bug Report

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 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 11 2018

gniibe triaged T3880: gpg-agent's ssh-agent does not handle flags in signing requests properly as Normal priority.
Apr 11 2018, 10:01 AM · ssh, gpgagent, Bug Report
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

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
werner changed the status of T3880: gpg-agent's ssh-agent does not handle flags in signing requests properly from Open to Testing.

Thanks. I took these patches and simplified them. Not test tested, though,.

Apr 10 2018, 8:08 AM · ssh, gpgagent, Bug Report
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
dkg reopened T3880: gpg-agent's ssh-agent does not handle flags in signing requests properly as "Open".

Thanks for the fix! however, the fix only addresses the two flags we currently know about. I've pushed a branch T3880-fix that tries to implement the If the agent does not support the requested flags […] It must reply with a SSH_AGENT_FAILURE message part of the spec.

Apr 10 2018, 12:14 AM · ssh, gpgagent, Bug Report

Apr 9 2018

werner closed T3880: gpg-agent's ssh-agent does not handle flags in signing requests properly as Resolved.

It is in 2.2.6

Apr 9 2018, 10:46 PM · ssh, gpgagent, Bug Report
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

Apr 6 2018

gniibe changed the status of T3880: gpg-agent's ssh-agent does not handle flags in signing requests properly from Open to Testing.
Apr 6 2018, 8:51 AM · ssh, gpgagent, Bug Report

Apr 5 2018

dkg created T3880: gpg-agent's ssh-agent does not handle flags in signing requests properly.
Apr 5 2018, 5:43 PM · ssh, gpgagent, Bug Report

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

werner closed T3858: Associate cache entries with the requesting socket as Resolved.
Mar 27 2018, 6:15 PM · gnupg (gpg22), gpgagent, Bug Report

Mar 23 2018

werner triaged T3858: Associate cache entries with the requesting socket as High priority.
Mar 23 2018, 8:57 AM · gnupg (gpg22), gpgagent, Bug Report
werner created T3858: Associate cache entries with the requesting socket.
Mar 23 2018, 8:56 AM · gnupg (gpg22), gpgagent, Bug Report

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 7 2018

kacperszurek added a comment to T3829: gpg-agent --default-cache-ttl option doesn't expire cache in specific situations.

Probably you are right but I don't know Windows internals that much.

Mar 7 2018, 5:27 PM · gnupg (gpg22), gpgagent, Bug Report
aheinecke added a comment to T3829: gpg-agent --default-cache-ttl option doesn't expire cache in specific situations.

I wonder if this also works similar in a multi user system:

Mar 7 2018, 9:14 AM · gnupg (gpg22), gpgagent, Bug Report

Mar 6 2018

werner closed T3829: gpg-agent --default-cache-ttl option doesn't expire cache in specific situations as Resolved.

Fixed. But you need to wait at least 4 seconds even with a 2 seconds ttl. Will go in 2.2.6 in about 3 weeks. Thanks for reporting.

Mar 6 2018, 6:16 PM · gnupg (gpg22), gpgagent, Bug Report
werner claimed T3829: gpg-agent --default-cache-ttl option doesn't expire cache in specific situations.

Well, if you have access to the user's memory you are lost anyway. Should be fixed, though.

Mar 6 2018, 3:49 PM · gnupg (gpg22), gpgagent, Bug Report
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 26 2018

gniibe closed T3757: Problem building latest master on macOS: unknown identifier LOCAL_PEERUID in command-ssh.c as Resolved.
Feb 26 2018, 7:59 AM · gpgagent, gnupg (gpg23), MacOS, Bug Report

Feb 16 2018

gniibe added a comment to T3056: gpgme-1.8.0: test failures on NetBSD.

The error of testQuickUID is strange. In the test, it adds a UID and checks number of UIDs (3 + 1 = 4).
It is not reproducible for me (Debian with Qt 5.9.2, NetBSD 7.0.2 with Qt 5.5.1), gnupg 2.2.x from the repo.

Feb 16 2018, 12:45 AM · gpgme (gpgme 1.23.x), gpgagent, gnupg (gpg23)

Feb 15 2018

werner added a comment to T3056: gpgme-1.8.0: test failures on NetBSD.

(automake should flag non-portable Makefile features - after all it is there to avoid gmake features)

Feb 15 2018, 11:52 AM · gpgme (gpgme 1.23.x), gpgagent, gnupg (gpg23)
wiz added a comment to T3056: gpgme-1.8.0: test failures on NetBSD.

Thank you very much! This is working quite well now.

Feb 15 2018, 10:57 AM · gpgme (gpgme 1.23.x), gpgagent, gnupg (gpg23)
gniibe added a comment to T3056: gpgme-1.8.0: test failures on NetBSD.

I believe that all BSD Makefile issues has been fixed (except python-tar-gz distribution thing for maintainer).
Please test again.

Feb 15 2018, 5:07 AM · gpgme (gpgme 1.23.x), gpgagent, gnupg (gpg23)
gniibe added a comment to T3056: gpgme-1.8.0: test failures on NetBSD.

I located the problem. It's Makefile portability issue and it is fixed in: rMb5ec21b9baf0: tests: Makefile portability., rMba6e610baa13: tests: More Makefile portability., and rM3224d7f0ea83: tests: Fix previous commit
It was not your final invocation of "make check" (GNU or BSD), but the one before ("make all" by BSD make) which imported keys for tests.
The "export" directive doesn't work on BSD.

Feb 15 2018, 3:40 AM · gpgme (gpgme 1.23.x), gpgagent, gnupg (gpg23)

Feb 14 2018

werner triaged T3783: gpg-connect-agent: `HELP` lists `SIGKEY <hexstring_with_keygrip>` but only shows `SETKEY` as Wishlist priority.
/* Print all commands.  If a help string is available and that
   starts with the command name, print the first line of the
   help string.  */

For SETKEY this is not true. To change this we would need to have an "alias" flag to tell libassuan that setkey is an alias of sigkey. Not sure whether this really makes sense.

Feb 14 2018, 5:12 PM · gpgagent, Bug Report
gniibe added a comment to T3056: gpgme-1.8.0: test failures on NetBSD.

OK. Then, it may be some bashi-ism in Makefile. I'll investigate with no bash installed.

Feb 14 2018, 8:32 AM · gpgme (gpgme 1.23.x), gpgagent, gnupg (gpg23)

Feb 13 2018

wiz added a comment to T3056: gpgme-1.8.0: test failures on NetBSD.

No, I don't have a smartcard. Perhaps it misdetects one?

Feb 13 2018, 10:24 AM · gpgme (gpgme 1.23.x), gpgagent, gnupg (gpg23)
gniibe added a comment to T3056: gpgme-1.8.0: test failures on NetBSD.

For other failures, I guess that you are connecting your card, aren't you?
Last year, I introduced a change for key selection to prefer existing card key. That may affect tests. Well, tests should have configure not to try to access card.

Feb 13 2018, 5:16 AM · gpgme (gpgme 1.23.x), gpgagent, gnupg (gpg23)

Feb 6 2018

dkg created T3783: gpg-connect-agent: `HELP` lists `SIGKEY <hexstring_with_keygrip>` but only shows `SETKEY`.
Feb 6 2018, 10:36 PM · gpgagent, Bug Report
gniibe added a comment to T3056: gpgme-1.8.0: test failures on NetBSD.

For scdaemon process(es), I created a ticket T3778: NetBSD: scdaemon should be killed when its parent (gpg-agent) is going to shutdown.

Feb 6 2018, 7:55 AM · gpgme (gpgme 1.23.x), gpgagent, gnupg (gpg23)

Feb 2 2018

wiz added a comment to T3056: gpgme-1.8.0: test failures on NetBSD.

I'm confused. I've just now retested, and I get further with BSD make (there is another problem when importing the keys into the test keyring, where it the error is ignored with GNU make but the build fails with BSD make) but that is not what I want to focus on.

Feb 2 2018, 4:03 PM · gpgme (gpgme 1.23.x), gpgagent, gnupg (gpg23)

Jan 30 2018

gniibe added a comment to T3056: gpgme-1.8.0: test failures on NetBSD.

Thanks for your additional suggestion. I pushed the change.

Jan 30 2018, 4:37 AM · gpgme (gpgme 1.23.x), gpgagent, gnupg (gpg23)

Jan 29 2018

wiz added a comment to T3056: gpgme-1.8.0: test failures on NetBSD.

For qt: adding /usr/pkg/qt5/bin to the path makes the build succeed. I think you should take a look at the build rules though, since it seems that it wants to execute the header file if "moc" is not found.

Jan 29 2018, 11:59 AM · gpgme (gpgme 1.23.x), gpgagent, gnupg (gpg23)
gniibe added a comment to T3056: gpgme-1.8.0: test failures on NetBSD.

For BSD Make issue, please try:

Jan 29 2018, 11:47 AM · gpgme (gpgme 1.23.x), gpgagent, gnupg (gpg23)
gniibe added a comment to T3056: gpgme-1.8.0: test failures on NetBSD.

For the latter, I think it requires path to moc, which may be like /usr/pkg/qt5. Please add it to your PATH. Then, retry from configure

Jan 29 2018, 11:04 AM · gpgme (gpgme 1.23.x), gpgagent, gnupg (gpg23)