<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en" style='--code-editor-font: var(--default-mono-font, "GitLab Mono"), JetBrains Mono, Menlo, DejaVu Sans Mono, Liberation Mono, Consolas, Ubuntu Mono, Courier New, andale mono, lucida console, monospace;'>
<head>
<meta content="text/html; charset=US-ASCII" http-equiv="Content-Type">
<title>
GitLab
</title>

<style data-premailer="ignore" type="text/css">
a { color: #1068bf; }
</style>

<style>img {
max-width: 100%; height: auto;
}
body {
font-size: .875rem;
}
body {
-webkit-text-shadow: rgba(255,255,255,.01) 0 0 1px;
}
body {
font-family: var(--default-regular-font, "GitLab Sans"),-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"; font-size: inherit;
}
</style>
</head>
<body style='font-size: inherit; -webkit-text-shadow: rgba(255,255,255,.01) 0 0 1px; font-family: var(--default-regular-font, "GitLab Sans"),-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";'>
<div class="content">

<p style="color: #777777;">
<a href="https://gitlab.com/StarlessNights">Iisakki Jaakkola</a>
commented on a
<a href="https://gitlab.com/gnutls/gnutls/-/issues/1524#note_1796528096">discussion</a>:
</p>
<div class="md" style="color: #333238; word-wrap: break-word;">
<p dir="auto" style="color: #333238; margin: 0 0 16px;" align="initial">I didn't know about this either. Here's what I get: (the potentially interesting stuff is at the last lines)</p>
<div class="gl-relative markdown-code-block js-markdown-code" style="margin-bottom: 0;">
<pre data-canonical-lang="bash" class="code highlight js-syntax-highlight language-shell" lang="shell" v-pre="true" style='display: block; font-size: 14px; color: #333238; line-height: 1.6em; overflow-x: auto; border-radius: 4px; position: relative; font-family: var(--default-mono-font, "GitLab Mono"),"JetBrains Mono","Menlo","DejaVu Sans Mono","Liberation Mono","Consolas","Ubuntu Mono","Courier New","andale mono","lucida console",monospace; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; margin: 0 0 16px; padding: 12px; border: 1px solid #dcdcde;'><code style='font-size: inherit; color: inherit; word-wrap: normal; word-break: keep-all; background-color: inherit; border-radius: 4px; white-space: pre; margin-top: 0; font-family: var(--default-mono-font, "GitLab Mono"),"JetBrains Mono","Menlo","DejaVu Sans Mono","Liberation Mono","Consolas","Ubuntu Mono","Courier New","andale mono","lucida console",monospace; overflow-wrap: normal; padding: unset;'><span id="LC1" class="line" lang="shell" style="margin-top: 0;"><span class="nv" style="margin-top: 0;">$ </span><span class="nb">export </span><span class="nv">GNUTLS_DEBUG_LEVEL</span><span class="o">=</span>9                                                                                              </span>
<span id="LC2" class="line" lang="shell"><span class="nv" style="margin-top: 0;">$ </span>certtool <span class="nt">--version</span>                                                                                                      </span>
<span id="LC3" class="line" lang="shell">gnutls[2]: Enabled GnuTLS 3.8.3 logging...</span>
<span id="LC4" class="line" lang="shell">gnutls[2]: getrandom random generator was selected</span>
<span id="LC5" class="line" lang="shell">gnutls[2]: Intel SSSE3 was detected</span>
<span id="LC6" class="line" lang="shell">gnutls[2]: Intel SHA was detected</span>
<span id="LC7" class="line" lang="shell">gnutls[2]: Intel AES accelerator was detected</span>
<span id="LC8" class="line" lang="shell">gnutls[2]: Intel GCM accelerator <span class="o" style="margin-top: 0;">(</span>AVX<span class="o">)</span> was detected</span>
<span id="LC9" class="line" lang="shell">gnutls[2]: cfg: loaded system config /etc/gnutls/config mtime 1705414038</span>
<span id="LC10" class="line" lang="shell">certtool 3.8.3</span>
<span id="LC11" class="line" lang="shell">Copyright <span class="o" style="margin-top: 0;">(</span>C<span class="o">)</span> 2000-2023 Free Software Foundation, and others</span>
<span id="LC12" class="line" lang="shell">This is free software. It is licensed <span class="k" style="margin-top: 0;">for </span>use, modification and</span>
<span id="LC13" class="line" lang="shell">redistribution under the terms of the GNU General Public License,</span>
<span id="LC14" class="line" lang="shell">version 3 or later <http://gnu.org/licenses/gpl.html></span>
<span id="LC15" class="line" lang="shell"></span>
<span id="LC16" class="line" lang="shell">Please send bug reports to:  <bugs@gnutls.org>            </span>
<span id="LC17" class="line" lang="shell"><span class="nv" style="margin-top: 0;">$ </span>certtool <span class="nt">--generate-privkey</span> <span class="nt">--key-type</span><span class="o">=</span>x25519 <span class="nt">--outfile</span> test-certificate.key</span>
<span id="LC18" class="line" lang="shell">gnutls[2]: Enabled GnuTLS 3.8.3 logging...</span>
<span id="LC19" class="line" lang="shell">gnutls[2]: getrandom random generator was selected</span>
<span id="LC20" class="line" lang="shell">gnutls[2]: Intel SSSE3 was detected</span>
<span id="LC21" class="line" lang="shell">gnutls[2]: Intel SHA was detected</span>
<span id="LC22" class="line" lang="shell">gnutls[2]: Intel AES accelerator was detected</span>
<span id="LC23" class="line" lang="shell">gnutls[2]: Intel GCM accelerator <span class="o" style="margin-top: 0;">(</span>AVX<span class="o">)</span> was detected</span>
<span id="LC24" class="line" lang="shell">gnutls[2]: cfg: loaded system config /etc/gnutls/config mtime 1705414038</span>
<span id="LC25" class="line" lang="shell">Generating a 256 bit ECDH <span class="o" style="margin-top: 0;">(</span>X25519<span class="o">)</span> private key...</span>
<span id="LC26" class="line" lang="shell">|<3>| ASSERT: privkey.c[gnutls_x509_privkey_get_seed]:2019</span>
<span id="LC27" class="line" lang="shell">|<3>| ASSERT: privkey.c[gnutls_x509_privkey_get_seed]:2019</span>
<span id="LC28" class="line" lang="shell">|<3>| ASSERT: pkcs7-crypt.c[_gnutls_pkcs_flags_to_schema]:215</span>
<span id="LC29" class="line" lang="shell">|<2>| Selecting default encryption PBES2_AES_256 <span class="o" style="margin-top: 0;">(</span>flags: 33<span class="o">)</span><span class="nb">.</span></span>
<span id="LC30" class="line" lang="shell"><span class="nv" style="margin-top: 0;">$ </span>certtool <span class="nt">--generate-self-signed</span> <span class="nt">--load-privkey</span> test-certificate.key <span class="nt">--outfile</span> test-certificate.pem                      </span>
<span id="LC31" class="line" lang="shell">gnutls[2]: Enabled GnuTLS 3.8.3 logging...</span>
<span id="LC32" class="line" lang="shell">gnutls[2]: getrandom random generator was selected</span>
<span id="LC33" class="line" lang="shell">gnutls[2]: Intel SSSE3 was detected</span>
<span id="LC34" class="line" lang="shell">gnutls[2]: Intel SHA was detected</span>
<span id="LC35" class="line" lang="shell">gnutls[2]: Intel AES accelerator was detected</span>
<span id="LC36" class="line" lang="shell">gnutls[2]: Intel GCM accelerator <span class="o" style="margin-top: 0;">(</span>AVX<span class="o">)</span> was detected</span>
<span id="LC37" class="line" lang="shell">gnutls[2]: cfg: loaded system config /etc/gnutls/config mtime 1705414038</span>
<span id="LC38" class="line" lang="shell">Generating a self signed certificate...</span>
<span id="LC39" class="line" lang="shell">|<3>| ASSERT: attributes.c[_x509_parse_attribute]:97</span>
<span id="LC40" class="line" lang="shell">|<3>| ASSERT: attributes.c[_x509_parse_attribute]:163</span>
<span id="LC41" class="line" lang="shell">Please enter the details of the certificate<span class="s1" style="margin-top: 0;">'s distinguished name. Just press enter to ignore a field.</span></span>
<span id="LC42" class="line" lang="shell"></span>
<span id="LC43" class="line" lang="shell"><span class="s1" style="margin-top: 0;">...skipping the questions here...</span></span>
<span id="LC44" class="line" lang="shell"></span>
<span id="LC45" class="line" lang="shell"><span class="s1" style="margin-top: 0;">Is the above information ok? (y/N): y</span></span>
<span id="LC46" class="line" lang="shell"></span>
<span id="LC47" class="line" lang="shell"></span>
<span id="LC48" class="line" lang="shell"><span class="s1" style="margin-top: 0;">Signing certificate...</span></span>
<span id="LC49" class="line" lang="shell"><span class="s1" style="margin-top: 0;">|<3>| ASSERT: pubkey.c[gnutls_pubkey_get_preferred_hash_algorithm]:355</span></span>
<span id="LC50" class="line" lang="shell"><span class="s1" style="margin-top: 0;">crt_get_preferred_hash_algorithm: GnuTLS internal error.</span></span></code></pre>
<copy-code></copy-code>
</div>
</div>


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

<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/-/issues/1524#note_1796528096">view it on GitLab</a>.
<br>
You're receiving this email because of your account on <a target="_blank" rel="noopener noreferrer" href="https://gitlab.com">gitlab.com</a>. <a href="https://gitlab.com/-/sent_notifications/709721e320e3f57b2568a6d4793dda38/unsubscribe" target="_blank" rel="noopener noreferrer">Unsubscribe</a> from this thread · <a href="https://gitlab.com/-/profile/notifications" target="_blank" rel="noopener noreferrer" class="mng-notif-link">Manage all notifications</a> · <a href="https://gitlab.com/help" target="_blank" rel="noopener noreferrer" class="help-link">Help</a>
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Issue","url":"https://gitlab.com/gnutls/gnutls/-/issues/1524#note_1796528096"}}</script>


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