<!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 style="color: #777777;">
<a href="https://gitlab.com/romankulikov">Roman Kulikov</a>
<a href="https://gitlab.com/gnutls/gnutls/-/issues/1255#note_666437024">commented</a>:
</p>
<div style="">
<blockquote dir="auto">
<p>the dup-exts.pem is there only for the <a href="https://gitlab.com/gnutls/gnutls/-/blob/master/tests/cert-tests/x509-duplicate-ext.sh">negative test case</a></p>
</blockquote>
<p dir="auto">Sure. I've just used it to illustrate the problem.</p>
<blockquote dir="auto">
<p>but I think it's an issue in the trust store setup; i.e., all the contained certs must be in a valid form</p>
</blockquote>
<p dir="auto">Well, this is may be the main question: do we really need to treat <em>every</em> certificate as invalid if trust store contains <em>only one</em> invalid root? From my point as a regular user this should not happen and evert certificate should be treated as valid if its trust chain goes to valid root certificate in trust store.</p>
<blockquote dir="auto">
<p>Wouldn't it be possible to adjust the trust store not to include such certs (I'm not sure how it's done on macOS)?</p>
</blockquote>
<p dir="auto">Yes, it is possible. And I've submitted pull request to Homebrew project fixing this. But nevertheless it would be great to make GnuTLS a bit more robust in such error condition.</p>
</div>


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

<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/-/issues/1255#note_666437024">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/a61ad75b0cd3b2e18a06ed064b163dbf/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/1255#note_666437024"}}</script>


</p>
</div>
</body>
</html>