After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 672140 - Add support for parsing openssh ECDSA public keys
Add support for parsing openssh ECDSA public keys
Status: RESOLVED FIXED
Product: gnome-keyring
Classification: Core
Component: ssh-agent
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: GNOME keyring maintainer(s)
GNOME keyring maintainer(s)
Depends on:
Blocks: 641082
 
 
Reported: 2012-03-15 14:29 UTC by Stef Walter
Modified: 2018-03-06 11:27 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Stef Walter 2012-03-15 14:29:58 UTC
Update pkcs11/ssh-store/gkm-ssh-openssh.c for the relevant ECDSA public key format used by ECDSA. Add tests and test files.

Some of the functions that probably need to be updated are:

 * keytype_to_algo()
 * read_public()
 * is_private_key_type()

Reference for the public key format is openssh. I haven't looked at the format in use, but in the case of RSA and DSA the public key formats are specific to openssh, so I'm assuming that's the same for ECDSA.
The private ones have been pretty 'standard', and are implemented elsewhere, tracked by another bug.

Add tests for public keys in this new format in the tests/ subdirectory.
Comment 1 Stef Walter 2016-12-12 12:59:28 UTC
 gnome-keyring should just wrap stock ssh-agent to avoid needing this:

https://bugzilla.gnome.org/show_bug.cgi?id=775981