From: Julian Scheid <julians37@gmail.com>
To: 35787@debbugs.gnu.org
Subject: bug#35787: 26.2; gnutls: accessing raw server certificate data
Date: Sat, 18 May 2019 13:48:47 +1200 [thread overview]
Message-ID: <CAD1CDTUctQqDsT6Kun1yB-eGzAHF8N9Vu3q1nzjamp9pvXq_8w@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 728 bytes --]
Hello, I would like to request a feature: accessing the raw certificate
of a server connected to via `gnutls-negotiate' (or such).
Currently, `gnutls-peer-status' only allows accessing high-level
information extracted from the certificate, such as the issuer, but not
the certificate data itself.
Access to the raw certificate data would allow implementing the
`tls-server-endpoint' channel binding type as per
https://tools.ietf.org/html/rfc5929#section-4.1 , which requires
> [t]he hash of the TLS server's certificate [RFC5280] as it
> appears, octet for octet, in the server's Certificate message. Note
> that the Certificate message contains a certificate_list, in which
> the first element is the server's certificate.
[-- Attachment #2: Type: text/html, Size: 1076 bytes --]
next reply other threads:[~2019-05-18 1:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-18 1:48 Julian Scheid [this message]
2019-07-09 2:42 ` bug#35787: 26.2; gnutls: accessing raw server certificate data Lars Ingebrigtsen
2019-07-09 4:20 ` Julian Scheid
2019-07-09 13:44 ` Lars Ingebrigtsen
2019-09-24 5:44 ` Lars Ingebrigtsen
2019-09-24 7:36 ` Julian Scheid
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAD1CDTUctQqDsT6Kun1yB-eGzAHF8N9Vu3q1nzjamp9pvXq_8w@mail.gmail.com \
--to=julians37@gmail.com \
--cc=35787@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).