<!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/boekhold">Maarten Boekhold</a>
commented:
</p>
<div style="">
<p dir="auto">I've got GIT working by creating the following file</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext"># /etc/gnutls/config</span>
<span id="LC2" class="line" lang="plaintext">[overrides]</span>
<span id="LC3" class="line" lang="plaintext">tls-disabled-group = group-secp256r1</span></code></pre>
<p dir="auto">However this doesn't work for apt/apt-get. If I run:</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">export GNUTLS_DEBUG_LEVEL=9</span>
<span id="LC2" class="line" lang="plaintext">apt update</span></code></pre>
<p dir="auto">I'm getting a different kind of exception from gnutls:</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">gnutls[3]: ASSERT: ../../lib/buffers.c[get_last_packet]:1168</span>
<span id="LC2" class="line" lang="plaintext">gnutls[5]: REC[0x55ea6c6b1bf0]: SSL 3.3 Alert packet received. Epoch 0, length: 2</span>
<span id="LC3" class="line" lang="plaintext">gnutls[5]: REC[0x55ea6c6b1bf0]: Expected Packet Handshake(22)</span>
<span id="LC4" class="line" lang="plaintext">gnutls[5]: REC[0x55ea6c6b1bf0]: Received Packet Alert(21) with length: 2</span>
<span id="LC5" class="line" lang="plaintext">gnutls[5]: REC[0x55ea6c6b1bf0]: Decrypted Packet[0] Alert(21) with length: 2</span>
<span id="LC6" class="line" lang="plaintext">gnutls[5]: REC[0x55ea6c6b1bf0]: Alert[2|40] - Handshake failed - was received</span>
<span id="LC7" class="line" lang="plaintext">gnutls[3]: ASSERT: ../../lib/record.c[record_add_to_buffers]:891</span>
<span id="LC8" class="line" lang="plaintext">gnutls[3]: ASSERT: ../../lib/record.c[record_add_to_buffers]:897</span>
<span id="LC9" class="line" lang="plaintext">gnutls[3]: ASSERT: ../../lib/record.c[_gnutls_recv_in_buffers]:1577</span>
<span id="LC10" class="line" lang="plaintext">gnutls[3]: ASSERT: ../../lib/buffers.c[_gnutls_handshake_io_recv_int]:1446</span>
<span id="LC11" class="line" lang="plaintext">gnutls[3]: ASSERT: ../../lib/handshake.c[_gnutls_recv_handshake]:1531</span>
<span id="LC12" class="line" lang="plaintext">gnutls[3]: ASSERT: ../../lib/handshake.c[handshake_client]:2918</span>
<span id="LC13" class="line" lang="plaintext">gnutls[3]: ASSERT: ../../lib/buffers.c[_gnutls_io_write_flush]:696</span>
<span id="LC14" class="line" lang="plaintext">gnutls[5]: REC: Sending Alert[1|0] - Close notify</span>
<span id="LC15" class="line" lang="plaintext">gnutls[5]: REC[0x55ea6c6b1bf0]: Preparing Packet Alert(21) with length: 2 and min pad: 0</span>
<span id="LC16" class="line" lang="plaintext">gnutls[9]: ENC[0x55ea6c6b1bf0]: cipher: NULL, MAC: MAC-NULL, Epoch: 0</span>
<span id="LC17" class="line" lang="plaintext">gnutls[5]: REC[0x55ea6c6b1bf0]: Sent Packet[2] Alert(21) in epoch 0 and length: 7</span>
<span id="LC18" class="line" lang="plaintext">gnutls[3]: ASSERT: ../../lib/record.c[check_session_status]:1649</span>
<span id="LC19" class="line" lang="plaintext">gnutls[3]: ASSERT: ../../lib/record.c[gnutls_bye]:324</span>
<span id="LC20" class="line" lang="plaintext">Err:14 https://download.mono-project.com/repo/ubuntu stable-focal Release                                                     </span>
<span id="LC21" class="line" lang="plaintext">  Could not handshake: A TLS fatal alert has been received. [IP: 152.199.19.161 443]</span></code></pre>
<p dir="auto">Will keep investigating...</p>
</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/-/issues/990#note_370499297">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/3336ecb5c675f0845934c5cd0520f64b/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/990#note_370499297"}}</script>


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