<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en" style='--code-editor-font: var(--default-mono-font, "Menlo"), DejaVu Sans Mono, Liberation Mono, Consolas, Ubuntu Mono, Courier New, andale mono, lucida console, monospace;'>
<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: var(--default-regular-font, -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: var(--default-regular-font, -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 class="details" style="font-style: italic; color: #737278;">
<a href="https://gitlab.com/acstime">acstime</a> created an issue: <a href="https://gitlab.com/gnutls/gnutls/-/issues/1450">#1450</a>
</p>
<div class="md" style="color: #333238; word-wrap: break-word;">
<p dir="auto" style="color: #333238; margin: 0 0 16px;" align="initial">I am not an experienced GnuTLS developer but interested and trying to help isolate confirmed behavior under MSYS2/MinGW64 port in MS Windows x64, <a href="https://github.com/msys2/MINGW-packages/issues/14739#issuecomment-1380526887" rel="nofollow noreferrer noopener" target="_blank" style="margin-top: 0;">failure to re-handshake</a>.
Summarized test suite and dependency results posted there as well.</p>
<p dir="auto" style="color: #333238; margin: 0 0 16px;" align="initial">Test x509cert-ct fails massively. Small sections of the two test data sets appear to be completely different
I modified test source as follows, only for reporting purposes (line 253):</p>
<div class="gl-relative markdown-code-block js-markdown-code">
<pre lang="plaintext" class="code highlight js-syntax-highlight language-plaintext" data-canonical-lang="" v-pre="true" style='display: block; font-size: 0.875rem; color: #333238; line-height: 1.6em; overflow-x: auto; border-radius: 4px; position: relative; font-family: var(--default-mono-font, "Menlo"),"DejaVu Sans Mono","Liberation Mono","Consolas","Ubuntu Mono","Courier New","andale mono","lucida console",monospace; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; margin: 0 0 16px; padding: 12px; border: 1px solid #dcdcde;'><code style='font-size: 0.875rem; color: inherit; word-wrap: normal; word-break: keep-all; background-color: inherit; border-radius: 4px; white-space: pre; margin-top: 0; font-family: var(--default-mono-font, "Menlo"),"DejaVu Sans Mono","Liberation Mono","Consolas","Ubuntu Mono","Courier New","andale mono","lucida console",monospace; overflow-wrap: normal; padding: unset;'><span id="LC1" class="line" lang="plaintext" style="margin-top: 0;">xder.data = ct_extension_der;</span>
<span id="LC2" class="line" lang="plaintext">xder.size = sizeof(ct_extension_der);</span>
<span id="LC3" class="line" lang="plaintext">if (ext_out.size != xder.size ||</span>
<span id="LC4" class="line" lang="plaintext"> memcmp(ext_out.data, xder.data, xder.size) != 0)</span>
<span id="LC5" class="line" lang="plaintext"> printf ("ext_out.data (%i bytes):\n", ext_out.size);</span>
<span id="LC6" class="line" lang="plaintext"> for (i=0; i < ext_out.size; ++i)</span>
<span id="LC7" class="line" lang="plaintext"> printf("%02x ", ext_out.data[i]);</span>
<span id="LC8" class="line" lang="plaintext"> printf ("\n\nxder.data (%i bytes):\n", xder.size);</span>
<span id="LC9" class="line" lang="plaintext"> for (i=0; i < xder.size; ++i)</span>
<span id="LC10" class="line" lang="plaintext"> printf("%02x ", xder.data[i]);</span>
<span id="LC11" class="line" lang="plaintext"> printf("\n\n");</span>
<span id="LC12" class="line" lang="plaintext"> fail("DERs do not match");</span></code></pre>
<copy-code></copy-code>
</div>
<p dir="auto" style="color: #333238; margin: 0 0 16px;" align="initial">Produces:</p>
<div class="gl-relative markdown-code-block js-markdown-code" style="margin-bottom: 0;">
<pre lang="plaintext" class="code highlight js-syntax-highlight language-plaintext" data-canonical-lang="" v-pre="true" style='display: block; font-size: 0.875rem; color: #333238; line-height: 1.6em; overflow-x: auto; border-radius: 4px; position: relative; font-family: var(--default-mono-font, "Menlo"),"DejaVu Sans Mono","Liberation Mono","Consolas","Ubuntu Mono","Courier New","andale mono","lucida console",monospace; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; margin: 0 0 16px; padding: 12px; border: 1px solid #dcdcde;'><code style='font-size: 0.875rem; color: inherit; word-wrap: normal; word-break: keep-all; background-color: inherit; border-radius: 4px; white-space: pre; margin-top: 0; font-family: var(--default-mono-font, "Menlo"),"DejaVu Sans Mono","Liberation Mono","Consolas","Ubuntu Mono","Courier New","andale mono","lucida console",monospace; overflow-wrap: normal; padding: unset;'><span id="LC1" class="line" lang="plaintext" style="margin-top: 0;">ext_out.data (486 bytes):</span>
<span id="LC2" class="line" lang="plaintext">04 82 01 e2 01 e0 00 75 00 dd eb 1d 2b 7a 0d 4f a6 20 8b 81 ad 81 68 70 7e 2e 8e 9d 01 d5 5c 88 8d 3d 11 c4 cd b6 ec be cc 00 00 00 00 00 00 00 00 00 00 04 03 00 46 30 44 02 20 4b 95 1e ad 31 c9 77 cd f1 73 f4 2f 2f 1e 4c 42 41 dd 73 00 2a 16 9e ad c9 f4 12 a8 ed 80 d5 0f 02 20 4d fb fa 54 27 d1 30 17 8c a1 da 14 54 d5 4d ca 91 dc d3 23 e2 83 7a b2 d9 0a 5d 34 e0 00 c5 72 00 77 00 a4 b9 09 90 b4 18 58 14 87 bb 13 a2 cc 67 70 0a 3c 35 98 04 f9 1b df b8 e3 77 cd 0e c8 0d dc 10 00 00 00 00 00 00 00 00 00 00 04 03 00 48 30 46 02 21 00 fa 0c 53 f8 b3 d0 d7 b8 be 03 38 71 0a 25 ef 32 d5 4b cc 44 73 5f 27 6a d7 3d 12 02 e9 3a ab ef 02 21 00 b7 2b 7a 9c c8 3b d7 cf da c5 e7 20 d5 f9 36 75 c0 ca 08 ff 04 a4 42 56 9d a6 e7 0d 1c 0c 6f 4d 00 76 00 ee 4b bd b7 75 ce 60 ba e1 42 69 1f ab e1 9e 66 a3 0f 7e 5f b0 72 d8 83 00 c4 7b 89 7a a8 fd cb 00 00 00 00 00 00 00 00 00 00 04 03 00 47 30 45 02 20 7f 29 64 de 5d 89 ed a5 3a de a2 d8 d4 b9 ef 1c 5d ba 8d 76 98 66 78 5e de 9c 3c 04 55 64 28 a9 02 21 00 c4 e1 97 2b ad e0 0a 69 74 8d 99 e5 04 03 7f e3 56 0c 08 d1 74 70 29 7d ac c2 11 98 43 9e 7d f6 00 76 00 bc 78 e1 df c5 f6 3c 68 46 49 33 4d a1 0f a1 5f 09 79 69 20 09 c0 81 b4 f3 f6 91 7f 3e d9 b8 a5 00 00 00 00 00 00 00 00 00 00 04 03 00 47 30 45 02 20 3b 47 9f ea bd de 7f e6 18 6c dd 15 96 fd 3c 89 9e bc 4d ed f3 28 b8 16 91 0a 42 1d df 37 e1 dd 02 21 00 eb 5f 2d 37 f9 51 f6 6f 1d 87 40 55 7c 70 09 f6 8d c2 01 3e 77 b1 68 ce df bb 05 84 73 cd 39 3e </span>
<span id="LC3" class="line" lang="plaintext"></span>
<span id="LC4" class="line" lang="plaintext">xder.data (486 bytes):</span>
<span id="LC5" class="line" lang="plaintext">04 82 01 e2 01 e0 00 75 00 dd eb 1d 2b 7a 0d 4f a6 20 8b 81 ad 81 68 70 7e 2e 8e 9d 01 d5 5c 88 8d 3d 11 c4 cd b6 ec be cc 00 00 01 5a ec a4 b6 4a 00 00 04 03 00 46 30 44 02 20 4b 95 1e ad 31 c9 77 cd f1 73 f4 2f 2f 1e 4c 42 41 dd 73 00 2a 16 9e ad c9 f4 12 a8 ed 80 d5 0f 02 20 4d fb fa 54 27 d1 30 17 8c a1 da 14 54 d5 4d ca 91 dc d3 23 e2 83 7a b2 d9 0a 5d 34 e0 00 c5 72 00 77 00 a4 b9 09 90 b4 18 58 14 87 bb 13 a2 cc 67 70 0a 3c 35 98 04 f9 1b df b8 e3 77 cd 0e c8 0d dc 10 00 00 01 5a ec a4 b6 e8 00 00 04 03 00 48 30 46 02 21 00 fa 0c 53 f8 b3 d0 d7 b8 be 03 38 71 0a 25 ef 32 d5 4b cc 44 73 5f 27 6a d7 3d 12 02 e9 3a ab ef 02 21 00 b7 2b 7a 9c c8 3b d7 cf da c5 e7 20 d5 f9 36 75 c0 ca 08 ff 04 a4 42 56 9d a6 e7 0d 1c 0c 6f 4d 00 76 00 ee 4b bd b7 75 ce 60 ba e1 42 69 1f ab e1 9e 66 a3 0f 7e 5f b0 72 d8 83 00 c4 7b 89 7a a8 fd cb 00 00 01 5a ec a4 b6 9d 00 00 04 03 00 47 30 45 02 20 7f 29 64 de 5d 89 ed a5 3a de a2 d8 d4 b9 ef 1c 5d ba 8d 76 98 66 78 5e de 9c 3c 04 55 64 28 a9 02 21 00 c4 e1 97 2b ad e0 0a 69 74 8d 99 e5 04 03 7f e3 56 0c 08 d1 74 70 29 7d ac c2 11 98 43 9e 7d f6 00 76 00 bc 78 e1 df c5 f6 3c 68 46 49 33 4d a1 0f a1 5f 09 79 69 20 09 c0 81 b4 f3 f6 91 7f 3e d9 b8 a5 00 00 01 5a ec a4 b7 40 00 00 04 03 00 47 30 45 02 20 3b 47 9f ea bd de 7f e6 18 6c dd 15 96 fd 3c 89 9e bc 4d ed f3 28 b8 16 91 0a 42 1d df 37 e1 dd 02 21 00 eb 5f 2d 37 f9 51 f6 6f 1d 87 40 55 7c 70 09 f6 8d c2 01 3e 77 b1 68 ce df bb 05 84 73 cd 39 3e </span></code></pre>
<copy-code></copy-code>
</div>
</div>
</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #737278;">
—
<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/-/issues/1450">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/8a987db086d3d522d638d9f42f2a98b8/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/1450"}}</script>
</p>
</div>
</body>
</html>