<!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>
<blockquote dir="auto">
<p>That was intentional when DANE was implemented. I found the "trust anchor assertion" obsurd at
the time. So the way it was implemented was for the validation intention/plan has to be
specified by the user, not the server.</p>
</blockquote>
<p dir="auto">Browsing over the RFCs I agree that there is <em>some</em> client policy involved (e.g. MTAs my treat PKIX-TA/PKIX-EE as "unusable"). However with the current setup I am missing the expected result of a --dane option:</p>
<p dir="auto"><strong>X</strong> Full DANE support, i.e. additional checking of ca-verification with PKIX-TA/PKIX-EE but not for DANE-TA/DANE-EE. Do the right thing with mixed/multiple TLSA records.</p>
<p dir="auto">Instead gnutls-cli supports the following policies:</p>
<ol dir="auto">
<li>Ignore TLSA, no DANE support (--dane not specified)</li>
<li>Require DANE success in addition to ca-verification (--dane)</li>
<li>Treat PKIX-TA as if DANE-TA was set, treat PKIX-EE as if DANE-EE was used. (--dane --no-ca-verification)</li>
</ol>
<p dir="auto">I do not know what policies really make sense (apart from <strong>X</strong> and <strong>1</strong>) since I have not read all the RFCs. e.g. rfc7672 (SMTP) could use a policy to ignore PKIX-EE/PKIX-TA.</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/issues/557#note_101686429">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/b444bb0045d0efdd8b24e05f27e1b503/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/557#note_101686429"}}</script>
</p>
</div>
</body>
</html>