<!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/dueno">Daiki Ueno</a> created a merge request:
</p>
<p>
</p>
<div class="branch">
Project:Branches: dueno/gnutls:tmp-draft-ietf-quic-tls-25 to gnutls/gnutls:master
</div>
<div class="author">
Author: Daiki Ueno
</div>
<div class="assignee">
Assignees: 
</div>
<div class="approvers">

</div>

<div>
<p dir="auto">This adds:</p>
<ul dir="auto">
<li>a new CH/EE extension <code>quic_transport_params</code>
</li>
<li>a callback to get notified with traffic secret changes, after epoch is set up</li>
</ul>
<p dir="auto">The following are still missing:</p>
<ul dir="auto">
<li>a function to get the current PRF algorithm</li>
<li>raw ChaCha20 interface, that allows counter setting (see <a href="https://quicwg.org/base-drafts/draft-ietf-quic-tls.html#name-chacha20-based-header-prote" rel="nofollow noreferrer noopener" target="_blank">ChaCha20-Based Header Protection</a>)</li>
</ul>
<p dir="auto">You can play with it using <a href="https://github.com/ueno/ngtcp2/tree/wip/dueno/crypto-gnutls" rel="nofollow noreferrer noopener" target="_blank">my ngtcp2 branch</a>, though it's still very much work in progress:</p>
<pre class="code highlight js-syntax-highlight shell" lang="shell" v-pre="true"><code><span id="LC1" class="line" lang="shell">git clone https://github.com/ngtcp2/nghttp3</span>
<span id="LC2" class="line" lang="shell"><span class="nb">cd </span>nghttp3</span>
<span id="LC3" class="line" lang="shell">autoreconf <span class="nt">-f</span> <span class="nt">-i</span></span>
<span id="LC4" class="line" lang="shell">./configure <span class="nt">--prefix</span><span class="o">=</span><span class="nv">$HOME</span>/.local/nghttp3</span>
<span id="LC5" class="line" lang="shell">make <span class="nb">install</span></span>
<span id="LC6" class="line" lang="shell"></span>
<span id="LC7" class="line" lang="shell">git clone https://github.com/tatsuhiro-t/openssl.git</span>
<span id="LC8" class="line" lang="shell"><span class="nb">cd </span>openssl</span>
<span id="LC9" class="line" lang="shell">git checkout OpenSSL_1_1_1d-quic-draft-25</span>
<span id="LC10" class="line" lang="shell">./config <span class="nt">--debug</span> enable-tls1_3 <span class="nt">--prefix</span><span class="o">=</span><span class="nv">$HOME</span>/.local/openssl</span>
<span id="LC11" class="line" lang="shell">make</span>
<span id="LC12" class="line" lang="shell">make install_sw</span>
<span id="LC13" class="line" lang="shell"></span>
<span id="LC14" class="line" lang="shell">git clone https://github.com/ueno/ngtcp2.git</span>
<span id="LC15" class="line" lang="shell">git checkout wip/dueno/crypto-gnutls</span>
<span id="LC16" class="line" lang="shell">autoreconf <span class="nt">-f</span> <span class="nt">-i</span></span>
<span id="LC17" class="line" lang="shell"><span class="nv">PKG_CONFIG_PATH</span><span class="o">=</span><span class="nv">$HOME</span>/.local/openssl/lib/pkgconfig:<span class="nv">$HOME</span>/.local/nghttp3/lib/pkgconfig ./configure</span>
<span id="LC18" class="line" lang="shell">make</span>
<span id="LC19" class="line" lang="shell"></span>
<span id="LC20" class="line" lang="shell"><span class="c"># start the server</span></span>
<span id="LC21" class="line" lang="shell"><span class="nv">LD_LIBRARY_PATH</span><span class="o">=</span><span class="nv">$HOME</span>/.local/openssl/lib examples/server <span class="nt">-s</span> localhost 4443 ../gnutls/doc/credentials/x509/key-rsa.pem ../gnutls/doc/credentials/x509/cert-rsa.pem</span>
<span id="LC22" class="line" lang="shell"></span>
<span id="LC23" class="line" lang="shell"><span class="c"># start the client</span></span>
<span id="LC24" class="line" lang="shell"><span class="nv">GNUTLS_DEBUG_LEVEL</span><span class="o">=</span>4177 examples-gnutls/client <span class="nt">--disable-early-data</span> localhost 4443</span></code></pre>
<h2 dir="auto">
<a id="user-content-checklist" class="anchor" href="#checklist" aria-hidden="true"></a>Checklist</h2>
<ul class="task-list" dir="auto">
<li class="task-list-item">
<input type="checkbox" class="task-list-item-checkbox" disabled> Commits have <code>Signed-off-by:</code> with name/author being identical to the commit author</li>
<li class="task-list-item">
<input type="checkbox" class="task-list-item-checkbox" disabled> Code modified for feature</li>
<li class="task-list-item">
<input type="checkbox" class="task-list-item-checkbox" disabled> Test suite updated with functionality tests</li>
<li class="task-list-item">
<input type="checkbox" class="task-list-item-checkbox" disabled> Test suite updated with negative tests</li>
<li class="task-list-item">
<input type="checkbox" class="task-list-item-checkbox" disabled> Documentation updated / NEWS entry present (for non-trivial changes)</li>
<li class="task-list-item">
<input type="checkbox" class="task-list-item-checkbox" disabled> CI timeout is 2h or higher (see Settings/CICD/General pipelines/Timeout)</li>
</ul>
<h2 dir="auto">
<a id="user-content-reviewers-checklist" class="anchor" href="#reviewers-checklist" aria-hidden="true"></a>Reviewer's checklist:</h2>
<ul class="task-list" dir="auto">
<li class="task-list-item">
<input type="checkbox" class="task-list-item-checkbox" disabled> Any issues marked for closing are addressed</li>
<li class="task-list-item">
<input type="checkbox" class="task-list-item-checkbox" disabled> There is a test suite reasonably covering new functionality or modifications</li>
<li class="task-list-item">
<input type="checkbox" class="task-list-item-checkbox" disabled> Function naming, parameters, return values, types, etc., are consistent and according to <code>CONTRIBUTION.md</code>
</li>
<li class="task-list-item">
<input type="checkbox" class="task-list-item-checkbox" disabled> This feature/change has adequate documentation added</li>
<li class="task-list-item">
<input type="checkbox" class="task-list-item-checkbox" disabled> No obvious mistakes in the code</li>
</ul>
</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/1197">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/9701d949ef9a5e3dba3be0c1e5a243e3/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/1197"}}</script>


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