<!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: #777;">
<a href="https://gitlab.com/airtower-luna">Airtower</a> created an issue <a href="https://gitlab.com/gnutls/gnutls/-/issues/1038">#1038</a>:
</p>
<div></div>
<p dir="auto">Running <code>make check</code> fails with an error in <code>tests/cert-tests/pem-decoding</code>. The log file <code>tests/cert-tests/pem-decoding.log</code> looks like this:</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">9d8</span>
<span id="LC2" class="line" lang="plaintext">< error importing public key: The curve is unsupported</span>
<span id="LC3" class="line" lang="plaintext">10a10,19</span>
<span id="LC4" class="line" lang="plaintext">>   Algorithm Security Level: High (256 bits)</span>
<span id="LC5" class="line" lang="plaintext">>           Curve:  CryptoPro-A</span>
<span id="LC6" class="line" lang="plaintext">>           Digest: GOSTR341194</span>
<span id="LC7" class="line" lang="plaintext">>           ParamSet: CryptoPro-A</span>
<span id="LC8" class="line" lang="plaintext">>           X:</span>
<span id="LC9" class="line" lang="plaintext">>                   e0:35:f2:a8:40:cf:ea:25:63:b5:c1:eb:fa:fd:1d:7f</span>
<span id="LC10" class="line" lang="plaintext">>                  45:d6:2a:31:96:56:35:75:25:19:f6:62:69:db:da:eb</span>
<span id="LC11" class="line" lang="plaintext">>          Y:</span>
<span id="LC12" class="line" lang="plaintext">>                  57:41:b2:c1:e2:1f:7b:d0:13:c8:dd:eb:9f:ba:cb:42</span>
<span id="LC13" class="line" lang="plaintext">>                  a3:63:c7:0b:f4:e9:24:d7:dd:e9:34:8d:12:18:67:d8</span>
<span id="LC14" class="line" lang="plaintext">31a41,45</span>
<span id="LC15" class="line" lang="plaintext">>  Public Key ID:</span>
<span id="LC16" class="line" lang="plaintext">>          sha1:43757042dae9e9f5fa92cc2d2cbf4950f28a7bd0</span>
<span id="LC17" class="line" lang="plaintext">>          sha256:cee4a59e7803bafb101af8e39e5355d7895e3b85e7616fe624d48f2c51e8bdbf</span>
<span id="LC18" class="line" lang="plaintext">>  Public Key PIN:</span>
<span id="LC19" class="line" lang="plaintext">>          pin-sha256:zuSlnngDuvsQGvjjnlNV14leO4XnYW/mJNSPLFHovb8=</span>
<span id="LC20" class="line" lang="plaintext">GOST cert decoding failed 2</span>
<span id="LC21" class="line" lang="plaintext">FAIL pem-decoding (exit status: 1)</span></code></pre>
<h2 dir="auto">
<a id="user-content-version-of-gnutls-used" class="anchor" href="#version-of-gnutls-used" aria-hidden="true"></a>Version of gnutls used:</h2>
<p dir="auto">Build from master at <a href="https://gitlab.com/gnutls/gnutls/-/commit/1c8720d012d47439e96672ea44f34e50ae8c6725" data-original="1c8720d012d47439e96672ea44f34e50ae8c6725" data-link="false" data-link-reference="false" data-project="179611" data-commit="1c8720d012d47439e96672ea44f34e50ae8c6725" data-reference-type="commit" data-container="body" data-placement="top" data-html="true" title="Merge branch 'tmp-mark-gost94-as-broken' into 'master'" class="gfm gfm-commit has-tooltip">1c8720d0</a>. The build I based <a href="https://gitlab.com/gnutls/gnutls/-/merge_requests/1289" data-original="!1289" data-link="false" data-link-reference="false" data-project="179611" data-merge-request="61436890" data-project-path="gnutls/gnutls" data-iid="1289" data-mr-title="Wipe session ticket keys before releasing the session structure" data-reference-type="merge_request" data-container="body" data-placement="top" data-html="true" title="" class="gfm gfm-merge_request">!1289</a> on was fine, so the bug must have been introduced after <a href="https://gitlab.com/gnutls/gnutls/-/commit/1270e81b944e1672f89d8a8b1db986535cf5b072" data-original="1270e81b944e1672f89d8a8b1db986535cf5b072" data-link="false" data-link-reference="false" data-project="179611" data-commit="1270e81b944e1672f89d8a8b1db986535cf5b072" data-reference-type="commit" data-container="body" data-placement="top" data-html="true" title="Merge branch 'nettle_so' into 'master'" class="gfm gfm-commit has-tooltip">1270e81b</a>.</p>
<h2 dir="auto">
<a id="user-content-how-reproducible" class="anchor" href="#how-reproducible" aria-hidden="true"></a>How reproducible:</h2>
<ul dir="auto">
<li>Run <code>./configure</code> with <code>--disable-gost</code>.</li>
<li>Run <code>make check</code>
</li>
</ul>
<h2 dir="auto">
<a id="user-content-actual-results" class="anchor" href="#actual-results" aria-hidden="true"></a>Actual results:</h2>
<p dir="auto"><code>tests/cert-tests/pem-decoding</code> fails, the test suite stops after running tests in the <code>cert-tests</code> directory.</p>
<h2 dir="auto">
<a id="user-content-expected-results" class="anchor" href="#expected-results" aria-hidden="true"></a>Expected results:</h2>
<p dir="auto">Passing test.</p>

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

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


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