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 711864 - GTlsCertificate needs properties for some certificate attributes
GTlsCertificate needs properties for some certificate attributes
Status: RESOLVED OBSOLETE
Product: glib
Classification: Platform
Component: network
unspecified
Other All
: Normal enhancement
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2013-11-11 21:22 UTC by Allison Karlitskaya (desrt)
Modified: 2018-05-29 06:42 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Allison Karlitskaya (desrt) 2013-11-11 21:22:00 UTC
It would be really nice if we could have a way to get a GBytes of the subjectPublicKeyInfo from a GTlsCertificate (as a way to facilitate key pinning in a reasonable way).
Comment 1 Allison Karlitskaya (desrt) 2013-11-13 15:56:51 UTC
fwiw, my original requirement for this was to implement something like http://en.wikipedia.org/wiki/DNS-based_Authentication_of_Named_Entities based on key id.  DANE appears to be based on certificate signature so maybe the APIs we have are already enough.
Comment 2 Dan Winship 2013-11-13 16:10:07 UTC
The plan was always to add some additional getters to GTlsCertificate, we just never knew exactly which ones would be needed. So if it would be useful, we can add it.
Comment 3 Dan Winship 2014-02-01 14:23:40 UTC
(changing summary; I keep seeing it and thinking you mean that the "private-key" property needs to be G_PARAM_READWRITE. [which it can't be])
Comment 4 GNOME Infrastructure Team 2018-05-24 16:00:31 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/glib/issues/788.
Comment 5 Michael Catanzaro 2018-05-25 16:35:29 UTC
Reopening. This bug was migrated to https://gitlab.gnome.org/GNOME/glib, but it should have been migrated to https://gitlab.gnome.org/GNOME/glib-networking.
Comment 6 Christoph Reiter (lazka) 2018-05-29 06:42:10 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/glib-networking/issues/21.