<!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=US-ASCII" http-equiv="Content-Type">
<title>
GitLab
</title>
<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">
<p class="details" style="font-style: italic; color: #777;">
<a href="https://gitlab.com/xnox">Dimitri John Ledkov</a> created an issue:
</p>
<div></div>
<p dir="auto">gnutls serv loads keyfile & cert, but doesn't bother to check if it should trust it or if it is acceptable as per policy.</p>
<p dir="auto">For example, one can start gnutls serv with 512 RSA keys in the cert chain, even if no sane client will trust to connect to it.</p>
<p dir="auto">Some checks are performed e.g. gnutls_check_key_cert_match, but it should also check if the cert meets the minimum profile security standard w.r.t. algos / key sizes / hashes / etc. Such that, for example, daemons fail to start with bogus certs instead of waiting for clients to fail to establish a connection.</p>
</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/issues/881">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/fc70b0b1072502fea6a9b0185e48e18b/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 Issue","url":"https://gitlab.com/gnutls/gnutls/issues/881"}}</script>
</p>
</div>
</body>
</html>