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 672137 - Research: ASN.1 definitions for ECDSA
Research: ASN.1 definitions for ECDSA
Status: RESOLVED OBSOLETE
Product: gnome-keyring
Classification: Core
Component: general
unspecified
Other Linux
: Low enhancement
: ---
Assigned To: GNOME keyring maintainer(s)
GNOME keyring maintainer(s)
Depends on:
Blocks: 672144 672146
 
 
Reported: 2012-03-15 14:21 UTC by Stef Walter
Modified: 2021-06-18 10:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Changes to pkix.asn and regenerated .asn.h files (29.75 KB, patch)
2014-02-09 22:27 UTC, Scott Schmit
none Details | Review
asn1: Added updates to ASN.1 from RFCs 5480 & 5758 & 5915 (12.85 KB, patch)
2014-04-19 19:11 UTC, Stef Walter
committed Details | Review

Description Stef Walter 2012-03-15 14:21:47 UTC
Research the ASN.1 definitions for ECDSA public and private keys. In particular we want the ASN.1 definitions for:

 * ECDSA as used in openssh private keys.
 * ECDSA as used in the subjectPublicKeyInfo of X.509 certificates.

These definitions would need to be added to egg/pkix.asn in gnome-keyring.
Comment 1 Scott Schmit 2014-02-09 22:27:00 UTC
Created attachment 268612 [details] [review]
Changes to pkix.asn and regenerated .asn.h files
Comment 2 Scott Schmit 2014-02-09 22:29:56 UTC
Does this help?

It appears that openssh uses PKCS #8 for private keys.  RFC 5915 describes the ASN.1 for ECDSA in PKCS #8.

A mix of RFC 5480 and RFC 5758 appears to cover the ECDSA PKIX structures/types.
Comment 3 Stef Walter 2014-04-19 19:11:59 UTC
Created attachment 274738 [details] [review]
asn1: Added updates to ASN.1 from RFCs 5480 & 5758 & 5915

Signed-off-by: Stef Walter <stefw@gnome.org>
 * Fixed conflicts and combined into one commit
 * Moved to pk.asn since it's EXPLICIT tags by default
Comment 4 Stef Walter 2014-04-19 20:37:49 UTC
Comment on attachment 274738 [details] [review]
asn1: Added updates to ASN.1 from RFCs 5480 & 5758 & 5915

Attachment 274738 [details] pushed as 81ede79 - asn1: Added updates to ASN.1 from RFCs 5480 & 5758 & 5915

Pushed to gcr initially.
Comment 5 André Klapper 2021-06-18 10:40:31 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/gnome-keyring/-/issues/

Thank you for your understanding and your help.