<!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 data-premailer="ignore" type="text/css">
a { color: #1068bf; }
</style>
<style>img {
max-width: 100%; height: auto;
}
body {
font-size: 0.875rem;
}
body {
-webkit-text-shadow: rgba(255,255,255,0.01) 0 0 1px;
}
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", Ubuntu, Cantarell, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; font-size: inherit;
}
</style>
</head>
<body style='font-size: inherit; -webkit-text-shadow: rgba(255,255,255,0.01) 0 0 1px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", Ubuntu, Cantarell, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";'>
<div class="content">
<p style="color: #777777;">
<a href="https://gitlab.com/ZoltanFridrich">Zoltán Fridrich</a>
<a href="https://gitlab.com/gnutls/gnutls/-/issues/1335#note_1136181407">commented</a>:
</p>
<div class="md" style="color: #303030; word-wrap: break-word;">
<p dir="auto" style="color: #303030; margin: 0 0 16px;" align="initial">I was able to reproduce and fix this issue in <a href="https://gitlab.com/gnutls/gnutls/-/merge_requests/1653" data-reference-type="merge_request" data-original="!1653" data-link="false" data-link-reference="false" data-project="179611" data-merge-request="182974719" data-project-path="gnutls/gnutls" data-iid="1653" data-container="body" data-placement="top" title="Fix removal of duplicate certs during verification" class="gfm gfm-merge_request" style="margin-top: 0;">!1653</a>.
Below I am attaching two certs where x.pem contains duplicate and y.pem doesn't.
To reproduce this bug use: <code style='font-size: 90%; color: #1f1f1f; word-wrap: break-word; background-color: #f0f0f0; border-radius: 4px; font-weight: inherit; font-family: "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; white-space: pre-wrap; overflow-wrap: break-word; word-break: keep-all; padding: 2px 4px;'>certtool --infile=x.pem --verify</code></p>
<p dir="auto" style="color: #303030; margin: 0 0 16px;" align="initial"><a href="https://gitlab.com/gnutls/gnutls/uploads/19a946d1c252c182c9388551d53e7f0f/x.pem" data-canonical-src="/uploads/19a946d1c252c182c9388551d53e7f0f/x.pem" data-link="true" class="gfm" style="margin-top: 0;">x.pem</a></p>
<p dir="auto" style="color: #303030; margin: 0;" align="initial"><a href="https://gitlab.com/gnutls/gnutls/uploads/1de1ee34c8ebcc45d650e39e6ed7a7bb/y.pem" data-canonical-src="/uploads/1de1ee34c8ebcc45d650e39e6ed7a7bb/y.pem" data-link="true" class="gfm" style="margin-top: 0;">y.pem</a></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/1335#note_1136181407">view it on GitLab</a>.
<br>
You're receiving this email because of your account on <a target="_blank" rel="noopener noreferrer" href="https://gitlab.com">gitlab.com</a>. <a href="https://gitlab.com/-/sent_notifications/bc1b7fb4220405ed255708d64b6af0f0/unsubscribe" target="_blank" rel="noopener noreferrer">Unsubscribe</a> from this thread · <a href="https://gitlab.com/-/profile/notifications" target="_blank" rel="noopener noreferrer" class="mng-notif-link">Manage all notifications</a> · <a href="https://gitlab.com/help" target="_blank" rel="noopener noreferrer" class="help-link">Help</a>
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Issue","url":"https://gitlab.com/gnutls/gnutls/-/issues/1335#note_1136181407"}}</script>
</p>
</div>
</body>
</html>