Page MenuHome GnuPG
Feed Advanced Search

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

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

I built gnupg 2.2.1 with the patch from D450, but that didn't help.
I even got an additional error:

Nov 7 2017, 1:05 PM · gpgme (gpgme 1.23.x), gpgagent, gnupg (gpg23)
gniibe added a comment to T3472: gpgme-1.9.0 test suite hangs on OpenBSD.

Yes, it will be in 2.2.3. It's too late for 2.2.2.

Nov 7 2017, 10:38 AM · gpgagent, gnupg (gpg22), gpgme
vext01 added a comment to T3472: gpgme-1.9.0 test suite hangs on OpenBSD.

So is 380bce13d94f the correct fix? If so, I will update the OpenBSD port including this as a local patch.

Nov 7 2017, 9:47 AM · gpgagent, gnupg (gpg22), gpgme
gniibe changed the status of T3056: gpgme-1.8.0: test failures on NetBSD from Open to Testing.

I believe this is due to the bug of gpg-agent. So, I put this report as a sub task under T3276: the calibrate_get_time() function depends on a system that has a non-tickless kernel.

Nov 7 2017, 9:27 AM · gpgme (gpgme 1.23.x), gpgagent, gnupg (gpg23)
gniibe added a parent task for T3472: gpgme-1.9.0 test suite hangs on OpenBSD: T3276: the calibrate_get_time() function depends on a system that has a non-tickless kernel.
Nov 7 2017, 9:24 AM · gpgagent, gnupg (gpg22), gpgme
gniibe triaged T3472: gpgme-1.9.0 test suite hangs on OpenBSD as Normal priority.
Nov 7 2017, 9:23 AM · gpgagent, gnupg (gpg22), gpgme
gniibe changed the status of T3472: gpgme-1.9.0 test suite hangs on OpenBSD from Open to Testing.

This is a bug in gpg-agent.

Nov 7 2017, 9:23 AM · gpgagent, gnupg (gpg22), gpgme

Nov 6 2017

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

Also failed to replicate on Windows-7 using a dedicated laptop.

Nov 6 2017, 3:12 PM · Windows, libassuan, gpgagent, Bug Report

Nov 3 2017

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

I tested for several days with logging enabled but was not able to replicate it again. Then I tried again w/o logging and couldn't replicate it either.

Nov 3 2017, 10:39 AM · Windows, libassuan, gpgagent, Bug Report
werner merged T3480: gpg-agent seems to hang after Windows 7 is woken from suspend to RAM into T3378: gpg-agent.exe hanging after left to idle for a while.
Nov 3 2017, 10:36 AM · Windows, libassuan, gpgagent, Bug Report

Nov 2 2017

gniibe added a project to T3473: gnupg agent configurable backlog for sockets: gpgagent.
Nov 2 2017, 5:28 AM · gpgagent, Feature Request

Oct 20 2017

werner edited projects for T3108: gpgconf lists the wrong extra socket path when a path is explicitly configured in gpg-agent.conf, added: gnupg (gpg22), gpgagent; removed gnupg (gpg21).

We can't change that anymore. So the question is how and whether to fix it. Right now gpgconf --list-dirs has no need to ask gpg-agent for the actual socket and it would be a catch-22 anyway. Thus to fix this we need to parse the gpg-agent.conf in gpg.conf directly.

Oct 20 2017, 1:46 PM · gnupg (gpg23), gpgagent
werner claimed T3378: gpg-agent.exe hanging after left to idle for a while.

I can replicate this now. Unfortunately without logging enabled.

Oct 20 2017, 8:23 AM · Windows, libassuan, gpgagent, Bug Report

Oct 19 2017

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

Here is a part of the log inline:

Oct 19 2017, 3:33 PM · Windows, libassuan, gpgagent, Bug Report

Oct 17 2017

freysteinn added a comment to T3280: Cannot add subkeys to key stored on card.

Hello.
I am having the same problem with my Yubikey v4.

Oct 17 2017, 8:29 PM · gnupg (gpg22)

Oct 11 2017

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

... gpg-agent hangs. After cancelling the process it works again ...

Oct 11 2017, 9:20 AM · Windows, libassuan, gpgagent, Bug Report

Oct 10 2017

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

Sorry, I haven't waited long enough.
It's happened again. After leaving Thunderbird open for a while, when consulting another encrypted email, the window asking for the password does not appear and does nothing.
I need Gpg4Win, I'm going back to Gpg4Win 2.3.4

Oct 10 2017, 7:24 PM · Windows, libassuan, gpgagent, Bug Report
inc75 added a comment to T3378: gpg-agent.exe hanging after left to idle for a while.

I think it might be a cleanup problem.
If you uninstall Gpg4Win 2.3.4, restart the computer, and then install Gpgp4Win 3.0.0, everything works correctly.

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

gpg-agent.conf actual content:

Oct 10 2017, 9:25 AM · Windows, libassuan, gpgagent, Bug Report
werner added a comment to T3378: gpg-agent.exe hanging after left to idle for a while.

Does anyone of you have a gpg-agent.conf and if so, what options are set?

Oct 10 2017, 7:56 AM · Windows, libassuan, gpgagent, Bug Report
inc75 added a comment to T3378: gpg-agent.exe hanging after left to idle for a while.

It works correctly when installed and executed.
After a period of inactivity and with Thunderbird still open, it stops working.
With Gpg4Win 2.3.4 it works correctly.

Oct 10 2017, 12:18 AM · Windows, libassuan, gpgagent, Bug Report

Sep 29 2017

kousu added a comment to T2688: unlocking gpg-agent via pam?.

For context, here's what the wisdom of the crowd is rigging together around GPG to get this single-sign-on feature:

Sep 29 2017, 6:09 AM · gpgagent, Feature Request

Sep 22 2017

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

Just to inform that it is not a single problem.
I recognized exactly the same behaviour.
After terminating the gpg-agent task everything works as aspected (up to the next non-activity phase).
64-bit Windows 7 Enterprise, Outlook 2010, GPG4Win Version 3.0.0-gpg4win-3.0.0.

Sep 22 2017, 12:40 PM · Windows, libassuan, gpgagent, Bug Report

Sep 12 2017

werner triaged T3400: gpg-agent runtime option for s2k calibration time as Normal priority.
Sep 12 2017, 9:45 AM · gpgagent, Feature Request
werner triaged T3394: "gpgconf --list-options gpg-agent" fails if bad option is present in ~/.gnupg/gpg-agent.conf as Normal priority.
Sep 12 2017, 9:30 AM · Documentation, Bug Report, gpgagent

Sep 9 2017

dkg closed T3399: gpg-agent: add a configure option for default calibration time for s2k as Resolved.
Sep 9 2017, 12:46 AM · gpgagent, Feature Request
dkg claimed T3399: gpg-agent: add a configure option for default calibration time for s2k.
Sep 9 2017, 12:46 AM · gpgagent, Feature Request
dkg added a comment to T3399: gpg-agent: add a configure option for default calibration time for s2k.

I think this is now resolved, as of rG926d07c5fa05

Sep 9 2017, 12:45 AM · gpgagent, Feature Request

Sep 8 2017

dkg created T3400: gpg-agent runtime option for s2k calibration time in the S1 Public space.
Sep 8 2017, 9:19 PM · gpgagent, Feature Request
dkg created T3399: gpg-agent: add a configure option for default calibration time for s2k.
Sep 8 2017, 9:17 PM · gpgagent, Feature Request
werner added a comment to T3394: "gpgconf --list-options gpg-agent" fails if bad option is present in ~/.gnupg/gpg-agent.conf.

The only mitigation I can see for this is a better error message.

Sep 8 2017, 7:59 AM · Documentation, Bug Report, gpgagent
dkg created T3394: "gpgconf --list-options gpg-agent" fails if bad option is present in ~/.gnupg/gpg-agent.conf in the S1 Public space.
Sep 8 2017, 2:45 AM · Documentation, Bug Report, gpgagent

Sep 7 2017

gniibe claimed T2964: dirmngr and gpg-agent should work automatically even when GNUPGHOME is larger than sun_path.
Sep 7 2017, 12:35 AM · Stalled, scd, gpgagent, Bug Report, gnupg, dirmngr

Aug 31 2017

werner triaged T3378: gpg-agent.exe hanging after left to idle for a while as High priority.
Aug 31 2017, 12:28 PM · Windows, libassuan, gpgagent, Bug Report
gniibe closed T3027: gpg-agent crash on macOS Sierra triggerd by ssh as Resolved.

Given no feedback, I'm closing this issue.
If there is still problem, please reopen.

Aug 31 2017, 10:26 AM · Bug Report, gpgagent, gnupg

Aug 15 2017

marcus placed T2011: gnupg should notify cancellation of its operation to gpg-agent to kill pinentry up for grabs.
Aug 15 2017, 5:45 PM · Bug Report, gpgagent

Aug 8 2017

werner closed T3337: --daemon does not cause gpg-agent to run in the background. as Resolved.

In fact, on Windows you would need to have a system service. We did this in the past for the dirmngr but remove that feature due to possible security problems and problems during installation.

Aug 8 2017, 11:06 AM · gnupg (gpg22), Windows, gpgagent, Bug Report
justus triaged T3337: --daemon does not cause gpg-agent to run in the background. as Wishlist priority.

That is correct, gpg-agent does not daemonize on Windows if --daemon is given, it is simply not implemented.

Aug 8 2017, 10:52 AM · gnupg (gpg22), Windows, gpgagent, Bug Report

Aug 4 2017

marcus placed T2946: gpg-agent should be able to terminate when all its state expires up for grabs.
Aug 4 2017, 8:52 PM · gnupg, Debian, gpgagent, Feature Request

Jul 31 2017

gniibe added a comment to T3027: gpg-agent crash on macOS Sierra triggerd by ssh.

GnuPG 2.1.22 in Homebrew is out: https://github.com/Homebrew/homebrew-core/commit/39a392ffd6ac20a36ea8a4aec5c4dc5febcfc1d6
Please check it out.

Jul 31 2017, 2:02 AM · Bug Report, gpgagent, gnupg

Jul 25 2017

p91 added a comment to T2688: unlocking gpg-agent via pam?.

I am not to familiar with the gnome keyring but from looking it up on the arch wiki, it seems to have this single sign on capability.

Jul 25 2017, 7:54 PM · gpgagent, Feature Request
werner removed a project from T2688: unlocking gpg-agent via pam?: Info Needed.
Jul 25 2017, 6:39 PM · gpgagent, Feature Request
werner added a comment to T2688: unlocking gpg-agent via pam?.

So this is basically 0what GNOME does with its keyring daemon and pinentry-gnome.

Jul 25 2017, 6:38 PM · gpgagent, Feature Request
p91 added a comment to T2688: unlocking gpg-agent via pam?.

Btw, this was envoy: https://github.com/vodik/envoy

Jul 25 2017, 6:34 PM · gpgagent, Feature Request
p91 added a comment to T2688: unlocking gpg-agent via pam?.

what I mean by unlocking is the act of using the passphrase to load the gpg and ssh keys and hence not needing to tip the phrase again afterwards.

Jul 25 2017, 6:34 PM · gpgagent, Feature Request
werner added a project to T2688: unlocking gpg-agent via pam?: Info Needed.

I don't understand what you mean by unlocking gpg-agent. Can you please explain in detail what you try to achieve.

Jul 25 2017, 3:52 PM · gpgagent, Feature Request

Jul 24 2017

marcus added a project to T2688: unlocking gpg-agent via pam?: gpgagent.
Jul 24 2017, 6:23 PM · gpgagent, Feature Request

Jul 21 2017

marcus added a project to T2439: Optionally always prompt for key confirmation for requests from restricted sockets: gpgagent.
Jul 21 2017, 5:05 PM · gpgagent, Feature Request

Jul 17 2017

justus closed T3187: Checksum error with extended-key-format and --paswd on a subkey as Invalid.

Sorry, I went through considerable length to reproduce this, but failed.

Jul 17 2017, 12:52 PM · gnupg (gpg22), gpgagent
justus created T3280: Cannot add subkeys to key stored on card.
Jul 17 2017, 12:21 PM · gnupg (gpg22)

Jul 16 2017

landro added a comment to T3027: gpg-agent crash on macOS Sierra triggerd by ssh.

@marcus sure, but I am currently away on vacation and won't be back until mid August. Also, I'd need some detailed build instructions (I'm on mac os) since I'm not very familiar with building C code - I brew installed gpg.

Jul 16 2017, 12:46 PM · Bug Report, gpgagent, gnupg

Jul 14 2017

justus added a comment to T2946: gpg-agent should be able to terminate when all its state expires.

Another reoccurring concern is lingering agents spawned in test suites. See, e.g. a discussion from this week: https://github.com/pazz/alot/pull/1081#issuecomment-315131053

Jul 14 2017, 1:52 PM · gnupg, Debian, gpgagent, Feature Request
marcus reopened T2946: gpg-agent should be able to terminate when all its state expires as "Open".

Well, we always have to weigh the costs with the benefits. From the description of the task, the benefit was to satisfy "people [who] really don't like having idle processes lying around", which is not a strong motivation to take implementation and maintenance cost of any solution.

Jul 14 2017, 1:21 PM · gnupg, Debian, gpgagent, Feature Request
dkg added a comment to T2946: gpg-agent should be able to terminate when all its state expires.

This is a disappointing resolution. There are many other reasons for having a daemon, which include keeping a sensitive piece of data in memory (and not on disk) for a limited period of time, while providing controlled access to it. This is exactly what gpg-agent does.

Jul 14 2017, 12:38 PM · gnupg, Debian, gpgagent, Feature Request

Jul 13 2017

marcus changed the status of T3027: gpg-agent crash on macOS Sierra triggerd by ssh from Open to Testing.

@landro Would you like to do one more round of testing?

Jul 13 2017, 1:43 AM · Bug Report, gpgagent, gnupg
marcus edited projects for T2964: dirmngr and gpg-agent should work automatically even when GNUPGHOME is larger than sun_path, added: Stalled; removed In Progress, gnupg (gpg22).
Jul 13 2017, 1:29 AM · Stalled, scd, gpgagent, Bug Report, gnupg, dirmngr
marcus closed T2946: gpg-agent should be able to terminate when all its state expires as Wontfix.

Werner's comments indicate that this is expected behavior. Also, concerns were raised that this is difficult to implement correctly, and it is difficult to test. So, I am closing as wontfix.

Jul 13 2017, 1:27 AM · gnupg, Debian, gpgagent, Feature Request
marcus merged T1254: pinentry: show only one password dialog - queue others into T1109: Pinentry and cache update race.
Jul 13 2017, 1:24 AM · Info Needed, Bug Report, gnupg, gpgagent
marcus merged task T1254: pinentry: show only one password dialog - queue others into T1109: Pinentry and cache update race.
Jul 13 2017, 1:24 AM · gnupg, Bug Report, gpgagent
marcus merged T2875: Pinentry-curses fallback + gpg / gpgsm can lead to endless 100% cpu loop into T2011: gnupg should notify cancellation of its operation to gpg-agent to kill pinentry.
Jul 13 2017, 1:13 AM · Bug Report, gpgagent
marcus removed projects from T2011: gnupg should notify cancellation of its operation to gpg-agent to kill pinentry: gnupg, pinentry.
Jul 13 2017, 12:27 AM · Bug Report, gpgagent

Jun 30 2017

marcus closed T1952: gpg 1.4 interactions between --passphrase-fd=0 and --use-agent are confused/confusing as Wontfix.

I don't think we want any behavioral changes to gpg 1.4 anymore. And in gpg2 all of this is different (use-agent is mandatory, passphrase-fd only used with batch).

Jun 30 2017, 8:34 PM · Bug Report, gpgagent, gnupg

Jun 28 2017

marcus closed T2114: gpa --disable-x509 as Invalid.

No response.

Jun 28 2017, 4:25 PM · Bug Report, gpa, gpgagent

Jun 27 2017

marcus claimed T2011: gnupg should notify cancellation of its operation to gpg-agent to kill pinentry.
Jun 27 2017, 10:50 AM · Bug Report, gpgagent
marcus merged T3186: pinentry-curses, pinentry-tty both freak out at control+c into T2011: gnupg should notify cancellation of its operation to gpg-agent to kill pinentry.
Jun 27 2017, 10:49 AM · Bug Report, gpgagent

Jun 23 2017

werner added a comment to T3187: Checksum error with extended-key-format and --paswd on a subkey.

FWIW, I ran a make check today and got several failed tests when using the extended key format. Checking out master to see whether this was caused by another patch I am working on, showed that it worked on master. Checking out my local branch again, then passed the test.

Jun 23 2017, 5:08 PM · gnupg (gpg22), gpgagent

Jun 13 2017

justus added a comment to T3187: Checksum error with extended-key-format and --paswd on a subkey.

Still, looks totally fine to me:

Jun 13 2017, 10:57 AM · gnupg (gpg22), gpgagent

Jun 12 2017

justus added a comment to T3187: Checksum error with extended-key-format and --paswd on a subkey.
In T3187#98531, @werner wrote:

I will try to reproduce it. It might be that --passwd also trigerred the conversion to the new format.

Jun 12 2017, 5:00 PM · gnupg (gpg22), gpgagent
werner added a comment to T3187: Checksum error with extended-key-format and --paswd on a subkey.

I will try to reproduce it. It might be that --passwd also trigerred the conversion to the new format.

Jun 12 2017, 4:13 PM · gnupg (gpg22), gpgagent
justus added a comment to T3187: Checksum error with extended-key-format and --paswd on a subkey.

Odd, I cannot reproduce this:

Jun 12 2017, 12:11 PM · gnupg (gpg22), gpgagent
justus claimed T3187: Checksum error with extended-key-format and --paswd on a subkey.
Jun 12 2017, 12:01 PM · gnupg (gpg22), gpgagent

Jun 2 2017

werner added a comment to T3027: gpg-agent crash on macOS Sierra triggerd by ssh.

I released libgcrypt 1.7.7
and nPth 1.6

Jun 2 2017, 10:52 AM · Bug Report, gpgagent, gnupg
gniibe added a comment to T3027: gpg-agent crash on macOS Sierra triggerd by ssh.

libgcrypt secmem fix is not that in hurry, I think. nPTh bug for macOS sounds more severe.

Jun 2 2017, 12:37 AM · Bug Report, gpgagent, gnupg

Jun 1 2017

justus moved T3187: Checksum error with extended-key-format and --paswd on a subkey from Backlog to Blocker on the gnupg (gpg22) board.
Jun 1 2017, 5:20 PM · gnupg (gpg22), gpgagent
werner added a comment to T3027: gpg-agent crash on macOS Sierra triggerd by ssh.

So, should we do a new libgcrypt release RSN?
There is another bug with solution also pending and it might not be too late for Squeeze if we hurry.

Jun 1 2017, 2:47 PM · Bug Report, gpgagent, gnupg
gniibe added a comment to T3027: gpg-agent crash on macOS Sierra triggerd by ssh.

I managed to replicate this issue by preparing artificial nPth on x86 GNU/Linux.

Jun 1 2017, 2:16 PM · Bug Report, gpgagent, gnupg
gniibe added a comment to T3027: gpg-agent crash on macOS Sierra triggerd by ssh.

I fixed a bug in nPth: rPTH4fae99976c31: Fix busy_wait_for.
During this debug, I also found a bug and fixed in libassuan: rA62f3123d3877: Use gpgrt_free to release memory allocated by gpgrt_asprintf.
Also, I fixed two related bug in GnuPG:
rGc03e0eb01dc4: agent: Fix error from do_encryption.
rG996544626ea4: agent: Fix memory leaks.

Jun 1 2017, 5:02 AM · Bug Report, gpgagent, gnupg

May 31 2017

justus triaged T3187: Checksum error with extended-key-format and --paswd on a subkey as Normal priority.
May 31 2017, 12:40 PM · gnupg (gpg22), gpgagent
justus edited projects for T3187: Checksum error with extended-key-format and --paswd on a subkey, added: gnupg (gpg22); removed gnupg.
May 31 2017, 12:39 PM · gnupg (gpg22), gpgagent
werner created T3187: Checksum error with extended-key-format and --paswd on a subkey.
May 31 2017, 10:53 AM · gnupg (gpg22), gpgagent

May 25 2017

landro added a comment to T3027: gpg-agent crash on macOS Sierra triggerd by ssh.

@gniibe , I'm not setting the max-passphrase-option. Currently, my gpg-agent.conf looks like this:

May 25 2017, 7:47 AM · Bug Report, gpgagent, gnupg
gniibe added a comment to T3027: gpg-agent crash on macOS Sierra triggerd by ssh.

@landro , Do you have any key which might require passphrase update for its expiration?
I mean, do you have an gpg-agent option of "max_passphrase_days" set (default is not set).

May 25 2017, 2:47 AM · Bug Report, gpgagent, gnupg
gniibe added a comment to T3027: gpg-agent crash on macOS Sierra triggerd by ssh.

(Since I was writing by phone, the sentence was terse. Sorry. This time, by PC.)

May 25 2017, 12:06 AM · Bug Report, gpgagent, gnupg

May 24 2017

landro added a comment to T3027: gpg-agent crash on macOS Sierra triggerd by ssh.

What do you mean by connection error, @gniibe? I hope the user is not impacted by what you are suggesting.

May 24 2017, 3:13 PM · Bug Report, gpgagent, gnupg
gniibe added a comment to T3027: gpg-agent crash on macOS Sierra triggerd by ssh.

For smartcard, yes. The feature for ssh with smartcard has been available more than ten years. I recently apply the approach to gpg frontend.

May 24 2017, 1:57 PM · Bug Report, gpgagent, gnupg
justus added a comment to T3027: gpg-agent crash on macOS Sierra triggerd by ssh.

"landro (Stefan Magnus Landrø)" <noreply@dev.gnupg.org> writes:

May 24 2017, 1:44 PM · Bug Report, gpgagent, gnupg
justus moved T2964: dirmngr and gpg-agent should work automatically even when GNUPGHOME is larger than sun_path from Backlog to Deferred on the gnupg (gpg22) board.
May 24 2017, 1:29 PM · Stalled, scd, gpgagent, Bug Report, gnupg, dirmngr
landro added a comment to T3027: gpg-agent crash on macOS Sierra triggerd by ssh.

Just noticed one more thing - I'm not trying to use a smartcard at this time (I plan on moving to yubikeys in future though) - why is "new connection to SCdaemon established" all over the logs?

May 24 2017, 12:55 PM · Bug Report, gpgagent, gnupg
landro added a comment to T3027: gpg-agent crash on macOS Sierra triggerd by ssh.

So I'm using pinentry-mac in my gpg-agent.conf:

May 24 2017, 12:52 PM · Bug Report, gpgagent, gnupg

May 23 2017

justus added a comment to T3027: gpg-agent crash on macOS Sierra triggerd by ssh.

So I noticed your log contains lot's of "starting a new PIN Entry", I assume you are using some kind of password manager integration, so that you don't need to enter it each time (sorry, I'm not familiar with how pinentry works on macOS).

May 23 2017, 4:00 PM · Bug Report, gpgagent, gnupg
landro added a comment to T3027: gpg-agent crash on macOS Sierra triggerd by ssh.

Ok. To reproduce, I believe the key is to establish lots of connections (in my rig around 20) to (possibly different) ssh server(s) (possibly by going through a bastion) within a short timeframe.

May 23 2017, 3:46 PM · Bug Report, gpgagent, gnupg
justus added a comment to T3027: gpg-agent crash on macOS Sierra triggerd by ssh.

"landro (Stefan Magnus Landrø)" <noreply@dev.gnupg.org> writes:

Too bad. I installed both libgcrypt and gnupg using homebrew, and apparently there is no way to make homebrew include debug info. I guess I could build from source and include debug info - where can I find instructions on doing that?
May 23 2017, 3:32 PM · Bug Report, gpgagent, gnupg
landro added a comment to T3027: gpg-agent crash on macOS Sierra triggerd by ssh.

Hm, it did not give us the location in the source unfortunately, only
the offset from the top of the function, which the original stack trace
already contains. Maybe the library does not contain debug information.
Depending on how you installed that software, there may be a way to
install the debug symbols too. That would make bug reports much more
helpful. Thanks anyway, maybe the log will help us trace the problem.

May 23 2017, 3:19 PM · Bug Report, gpgagent, gnupg
justus added a comment to T3027: gpg-agent crash on macOS Sierra triggerd by ssh.

"landro (Stefan Magnus Landrø)" <noreply@dev.gnupg.org> writes:

In https://dev.gnupg.org/T3027#97654, @justus wrote:
> Hi @landro, thanks for the stack trace.  Could you please try to resolve this frame
>
>   4   libgcrypt.20.dylib            	0x000000010d8b14d2 openpgp_s2k + 594

Here it is. @justus

$ atos -o /usr/local/opt/libgcrypt/lib/libgcrypt.20.dylib -arch x86_64 -l 0x10d896000 0x000000010d8b14d2
openpgp_s2k (in libgcrypt.20.dylib) + 594
May 23 2017, 12:41 PM · Bug Report, gpgagent, gnupg
gniibe added a comment to T3027: gpg-agent crash on macOS Sierra triggerd by ssh.

@landro Thanks a lot. I think that we see some failures in the log, and there might be another bug in the failure path.

May 23 2017, 12:31 PM · Bug Report, gpgagent, gnupg
landro added a comment to T3027: gpg-agent crash on macOS Sierra triggerd by ssh.
In T3027#97654, @justus wrote:

Hi @landro, thanks for the stack trace. Could you please try to resolve this frame

4   libgcrypt.20.dylib            	0x000000010d8b14d2 openpgp_s2k + 594

to a source code location? I believe it can be done this way:

$ atos -o /usr/local/opt/libgcrypt/lib/libgcrypt.20.dylib -arch x86_64 -l 0x10d896000 0x000000010d8b14d2

I tried to reproduce this issue locally but failed.

May 23 2017, 12:21 PM · Bug Report, gpgagent, gnupg
landro added a comment to T3027: gpg-agent crash on macOS Sierra triggerd by ssh.

Here is the output of the log file

May 23 2017, 12:19 PM · Bug Report, gpgagent, gnupg