Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#46471 - [gnupg] gpg-agent segfaults when adding ssh key

Attached to Project: Arch Linux
Opened by Alexander Kauer (kaueraal) - Tuesday, 29 September 2015, 10:55 GMT
Last edited by Gaetan Bisson (vesath) - Wednesday, 30 September 2015, 00:48 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Gaetan Bisson (vesath)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description: As of gnupg 2.1.8-3 the gpg-agent segfaults when adding a ssh key.

Steps to reproduce:

alexander@zitroneneis ~ $ cat .gnupg/gpg-agent.conf

enable-ssh-support

alexander@zitroneneis ~ $ gpg-connect-agent /bye
alexander@zitroneneis ~ $ export SSH_AUTH_SOCK=$HOME/.gnupg/S.gpg-agent.ssh
alexander@zitroneneis ~ $ ssh-add ~/.ssh/id_rsa
Enter passphrase for /home/alexander/.ssh/id_rsa:
Could not add identity "/home/alexander/.ssh/id_rsa": communication with agent failed
alexander@zitroneneis ~ $ dmesg | tail -1
[ 4406.941464] gpg-agent[2534]: segfault at 7faab0dac3f0 ip 0000000000414796 sp 00007faaafc9dd40 error 6 in gpg-agent[400000+5f000]
This task depends upon

Closed by  Gaetan Bisson (vesath)
Wednesday, 30 September 2015, 00:48 GMT
Reason for closing:  Fixed
Additional comments about closing:  gnupg-2.1.8-4 in [testing]
Comment by Alexander Kauer (kaueraal) - Tuesday, 29 September 2015, 23:02 GMT
Please see also [1], [2], which seem to contain patches. Thank you for the second report with those links Paul!

1: https://bugs.archlinux.org/task/46483?opened=21468&status%5B0%5D=
2: https://bugs.gnupg.org/gnupg/issue2112

Loading...