Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 561292 - app-crypt/gnupg-2.1.8 gpg-agent improperly handles ed25519 ssh keys
Summary: app-crypt/gnupg-2.1.8 gpg-agent improperly handles ed25519 ssh keys
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Crypto team [DISABLED]
URL: https://bugs.gnupg.org/gnupg/issue2096
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2015-09-23 18:51 UTC by Łukasz Stelmach
Modified: 2015-10-10 11:14 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Fix registering SSH Key of Ed25519. (0001-agent-Fix-registering-SSH-Key-of-Ed25519.patch,1.88 KB, patch)
2015-09-23 18:52 UTC, Łukasz Stelmach
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Łukasz Stelmach 2015-09-23 18:51:47 UTC
There was a bug upstream that made gpg-agent improperly handle ed25519 ssh keys. It has been fixed in commit 7d5999f0.

Reproducible: Always

Steps to Reproduce:
1. install gnupg 2.1.8
2. add an ed25519 ssh-key
3. run ssh-add -l
Actual Results:  
ssh-add prints

error fetching identities for protocol 2: invalid format
The agent has no identities.


Expected Results:  
ssh-add should print

256 SHA256:----------here-be-the-digest------------ ~/.ssh/id_ed25519 (ED25519)
Comment 1 Łukasz Stelmach 2015-09-23 18:52:39 UTC
Created attachment 412672 [details, diff]
Fix registering SSH Key of Ed25519.
Comment 2 Kristian Fiskerstrand (RETIRED) gentoo-dev 2015-09-28 08:39:46 UTC
Thanks for the report. I do not expect to create a new revision with this patch, but will rather wait for a new upstream release (with the current release cycle a new version is released roughly once a month).
Comment 3 Kristian Fiskerstrand (RETIRED) gentoo-dev 2015-10-10 11:14:38 UTC
gnupg 2.1.9 is now in tree that incorporates this fix