[gnutls-devel] GnuTLS | WIP: RFC7250 Raw public keys (!650)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Mon Sep 17 11:08:04 CEST 2018


For (1) you are right that if we update these functions we end-up in a convoluted scenario. Having a separate `_mem` and `_file` functions for raw public keys may be a better way to go.

For (2), I think the tofu code gets a certificate and converts it to public key. It would need to handle a raw public key too (via a switch or so); it should be simple as the code already handles public keys. You can see verify-tofu and search for `GNUTLS_CRT_X509`.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/650#note_101767904
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20180917/690e307e/attachment.html>


More information about the Gnutls-devel mailing list