<!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/dueno">Daiki Ueno</a>
commented:
</p>
<div style="">
<p dir="auto">Apologies for the delay. It seems that the GnuTLS client is sending TLSPlaintext with the legacy_record_version set to TLS 1.0. This is okay for the first Client Hello, but after Hello Retry Request the field must be set to TLS 1.2, according to the RFC:</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext"> legacy_record_version: MUST be set to 0x0303 for all records</span>
<span id="LC2" class="line" lang="plaintext"> generated by a TLS 1.3 implementation other than an initial</span>
<span id="LC3" class="line" lang="plaintext"> ClientHello (i.e., one not generated after a HelloRetryRequest),</span>
<span id="LC4" class="line" lang="plaintext"> where it MAY also be 0x0301 for compatibility purposes.</span></code></pre>
<p dir="auto">If I manually modify the version in a GDB session (in <code>copy_record_version</code> in record.c), the command works as expected.</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/1053#note_401589913">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/1ab53462fc1a256bfb4917392ce4bef1/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/1053#note_401589913"}}</script>
</p>
</div>
</body>
</html>