<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>
GitLab
</title>


<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">
<div>
<p dir="auto">Two more comments: the certificate setter functions <code>gnutls_certificate_set_rawpk_keypair_raw</code> and <code>gnutls_certificate_set_rawpk_keypair</code> are not as easy to use when working with files. What about this idea: add a flag to <code>gnutls_certificate_set_x509_key_file2</code> and <code>gnutls_certificate_set_x509_key_mem2</code> to force it loading a raw public key? That way we also reduce the number of added functions.</p>
<p dir="auto">The other is that it would be very good to tie the raw public keys with the tofu validation (<code>gnutls_verify_stored_pubkey</code>, <code>gnutls_store_pubkey</code>) in documentation and examples. It ties very well with the raw keys, and makes them fully functional and secure. This subsystem needs however some tweaks to work with raw keys.</p>
</div>


</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #777;">

<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/merge_requests/650#note_101413544">view it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.com.
If you'd like to receive fewer emails, you can
<a href="https://gitlab.com/sent_notifications/ca12dfb378f0697494e5bfb4ed3094d1/unsubscribe">unsubscribe</a>
from this thread or
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Merge request","url":"https://gitlab.com/gnutls/gnutls/merge_requests/650#note_101413544"}}</script>
</p>
</div>
</body>
</html>