<!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 on a
<a href="https://gitlab.com/gnutls/gnutls/merge_requests/984#note_275830249">discussion</a>:
</p>
<div style="">
<p dir="auto">Thanks. I'm not sure if it is sufficient, but if I copy the key and cert in <code>fuzz/gnutls_pkcs12_key_parser_fuzzer.in</code> and <code>fuzz/gnutls_x509_parser_fuzzer.in</code>, those fuzzer seem to cover sufficient code path, e.g., the <code>GNUTLS_PK_EDDSA_ED448</code> branch in <code>_gnutls_x509_read_pubkey</code>.</p>
<pre class="code highlight js-syntax-highlight shell" lang="shell" v-pre="true"><code><span id="LC1" class="line" lang="shell"><span class="nv">$ </span>certtool <span class="nt">-i</span> <span class="nt">--infile</span> doc/credentials/x509/cert-ed448.pem <span class="nt">--outfile</span> cert-ed448.der <span class="nt">--outder</span></span>
<span id="LC2" class="line" lang="shell"><span class="nv">$ </span><span class="nb">cp </span>cert-ed448.der fuzz/gnutls_x509_parser_fuzzer.in</span>
<span id="LC3" class="line" lang="shell"><span class="nv">$ </span>openssl pkcs12 <span class="nt">-export</span> <span class="nt">-in</span> doc/credentials/x509/cert-ed448.pem <span class="nt">-inkey</span> doc/credentials/x509/key-ed448.pem <span class="nt">-out</span> ed448.p12 <span class="nt">-name</span> <span class="s2">"Ed448 key and cert"</span></span>
<span id="LC4" class="line" lang="shell"><span class="nv">$ </span><span class="nb">cp </span>ed448.p12 fuzz/gnutls_pkcs12_key_parser_fuzzer.in</span></code></pre>
</div>


</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/merge_requests/984#note_275830249">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/78947118450d8605311c1157bcbe25be/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 Merge request","url":"https://gitlab.com/gnutls/gnutls/merge_requests/984#note_275830249"}}</script>


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