<!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=utf-8" http-equiv="Content-Type">
<title>
GitLab
</title>


<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">
<div>
<p dir="auto">Rebasing this to master and applying the following patch, makes eddsa work under PKCS#11.</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">diff --git a/tests/pkcs11/tls-neg-pkcs11-key.c b/tests/pkcs11/tls-neg-pkcs11-key.c</span>
<span id="LC2" class="line" lang="plaintext">index c32dee27a..0b69ae7ed 100644</span>
<span id="LC3" class="line" lang="plaintext">--- a/tests/pkcs11/tls-neg-pkcs11-key.c</span>
<span id="LC4" class="line" lang="plaintext">+++ b/tests/pkcs11/tls-neg-pkcs11-key.c</span>
<span id="LC5" class="line" lang="plaintext">@@ -292,13 +292,12 @@ static const test_st tests[] = {</span>
<span id="LC6" class="line" lang="plaintext">         .exp_kx = GNUTLS_KX_ECDHE_RSA,</span>
<span id="LC7" class="line" lang="plaintext">         .exp_serv_err = GNUTLS_E_NO_CIPHER_SUITES</span>
<span id="LC8" class="line" lang="plaintext">        },</span>
<span id="LC9" class="line" lang="plaintext">-       {.name = "tls1.2: ed25519 cert, ed25519 key", /* we cannot import that key */</span>
<span id="LC10" class="line" lang="plaintext">+       {.name = "tls1.2: ed25519 cert, ed25519 key",</span>
<span id="LC11" class="line" lang="plaintext">         .pk = GNUTLS_PK_EDDSA_ED25519,</span>
<span id="LC12" class="line" lang="plaintext">         .prio = "NORMAL:+ECDHE-RSA:+ECDHE-ECDSA",</span>
<span id="LC13" class="line" lang="plaintext">         .cert = &server_ca3_eddsa_cert,</span>
<span id="LC14" class="line" lang="plaintext">         .key = &server_ca3_eddsa_key,</span>
<span id="LC15" class="line" lang="plaintext">-        .exp_kx = GNUTLS_KX_ECDHE_RSA,</span>
<span id="LC16" class="line" lang="plaintext">-        .exp_key_err = GNUTLS_E_INVALID_REQUEST</span>
<span id="LC17" class="line" lang="plaintext">+        .exp_kx = GNUTLS_KX_ECDHE_RSA</span>
<span id="LC18" class="line" lang="plaintext">        }</span>
<span id="LC19" class="line" lang="plaintext"> };</span>
<span id="LC20" class="line" lang="plaintext"></span></code></pre>
</div>


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

<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/merge_requests/790#note_117770504">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/c1dd79eac6d2fb7370027c575f48d0d2/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/790#note_117770504"}}</script>
</p>
</div>
</body>
</html>