GNOME Bugzilla – Bug 711864
GTlsCertificate needs properties for some certificate attributes
Last modified: 2018-05-29 06:42:10 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).
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.
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.
(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])
-- 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.
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.
-- 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.