<!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: #666;">
<a href="https://gitlab.com/dkg">Daniel Kahn Gillmor</a> created an issue: <a href="https://gitlab.com/gnutls/gnutls/-/issues/1243">#1243</a>
</p>
<div></div>
<p dir="auto">over <a href="https://mailarchive.ietf.org/arch/msg/spasm/dDB3vVtC1K8SbA8KBGFKLoeXnRc/" rel="nofollow noreferrer noopener" target="_blank">on the IETF LAMPS mailing list</a>, David Cooper writes:</p>
<blockquote dir="auto">
<p>I noticed that the attributes in the issuer and subject fields of the certificates are encoded in the reverse order of what one would expect.</p>
</blockquote>
<p dir="auto">In particular, the expectation is that the ASN.1 wire encoding lists the more general fields first. So, for example, "O" (organizationalName) should come before "OU" (organizationalUnit, a subset of the organization), and "C" (country) should come before "ST" (state).</p>
<p dir="auto">(note that the <em>visualization</em> of the DN is typically the reverse of the wire encoding; the work done to close <a href="https://gitlab.com/gnutls/gnutls/-/issues/111" data-original="#111" data-link="false" data-link-reference="false" data-project="179611" data-issue="2596504" data-reference-type="issue" data-container="body" data-placement="top" title="gnutls_x509_crt_get_dn and gnutls_x509_rdn_get are not RFC4514 compliant" class="gfm gfm-issue has-tooltip">#111</a> is correct, the problem is the wire encoding)</p>
</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/1243">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/eeb1fb67785bcd3372195c4f4c17ef6e/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/1243"}}</script>
</p>
</div>
</body>
</html>