<!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=utf-8" 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: "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: "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/alexander-travov">Alexander Travov</a>
commented on a
<a href="https://gitlab.com/gnutls/gnutls/-/issues/1774#note_2962697672">discussion</a>:
</p>
<div class="md" style="position: relative; z-index: 1; color: #3a383f; word-wrap: break-word;">
<p dir="auto" style="color: #3a383f; margin: 0 0 1rem;" align="initial">Adding logs from old and new versions with p11-kit debug logs enabled. Maybe it will shed some light</p>
<p dir="auto" style="color: #3a383f; margin: 0 0 1rem;" align="initial">old version:</p>
<div class="gl-relative markdown-code-block js-markdown-code">
<pre class="code highlight js-syntax-highlight language-plaintext" v-pre="true" style='display: block; font-size: 14px; color: #3a383f; line-height: 1.6em; overflow-x: auto; border-radius: .25rem; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; margin: 0 0 1rem; 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: .25rem; white-space: pre; margin-top: 0; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; overflow-wrap: normal; padding: unset;'><span id="LC1" class="line" lang="plaintext" style="margin-top: 0;">P11_KIT_DEBUG=all GNUTLS_DEBUG_LEVEL=5 p11tool --provider=/usr/lib/librtpkcs11ecp.so --list-token-urls -d 9</span>
<span id="LC2" class="line" lang="plaintext">(p11-kit:3417) p11_library_init_impl: initializing library</span>
<span id="LC3" class="line" lang="plaintext">gnutls[2]: Enabled GnuTLS 3.8.3 logging...</span>
<span id="LC4" class="line" lang="plaintext">gnutls[2]: getrandom random generator was selected</span>
<span id="LC5" class="line" lang="plaintext">gnutls[2]: Intel SSSE3 was detected</span>
<span id="LC6" class="line" lang="plaintext">gnutls[2]: Intel SHA was detected</span>
<span id="LC7" class="line" lang="plaintext">gnutls[2]: Intel AES accelerator was detected</span>
<span id="LC8" class="line" lang="plaintext">gnutls[2]: Intel GCM accelerator (AVX) was detected</span>
<span id="LC9" class="line" lang="plaintext">gnutls[2]: cfg: disabling version tls1.0</span>
<span id="LC10" class="line" lang="plaintext">gnutls[2]: cfg: disabling version tls1.1</span>
<span id="LC11" class="line" lang="plaintext">gnutls[2]: cfg: disabling version dtls0.9</span>
<span id="LC12" class="line" lang="plaintext">gnutls[2]: cfg: disabling version dtls1.0</span>
<span id="LC13" class="line" lang="plaintext">gnutls[2]: cfg: loaded system config /etc/gnutls/config mtime 1709575231</span>
<span id="LC14" class="line" lang="plaintext">Setting log level to 9</span>
<span id="LC15" class="line" lang="plaintext">(p11-kit:3417) p11_kit_module_load: in: /usr/lib/librtpkcs11ecp.so</span>
<span id="LC16" class="line" lang="plaintext">(p11-kit:3417) load_module_from_file_inlock: loading module from path: /usr/lib/librtpkcs11ecp.so</span>
<span id="LC17" class="line" lang="plaintext">(p11-kit:3417) dlopen_and_get_function_list: C_GetInterface not available. Falling back to C_GetFunctionList()</span>
<span id="LC18" class="line" lang="plaintext">(p11-kit:3417) dlopen_and_get_function_list: opened module: /usr/lib/librtpkcs11ecp.so</span>
<span id="LC19" class="line" lang="plaintext">(p11-kit:3417) p11_kit_module_load: out: success</span>
<span id="LC20" class="line" lang="plaintext">|<2>| p11: Initializing module: /usr/lib/librtpkcs11ecp.so</span>
<span id="LC21" class="line" lang="plaintext">(p11-kit:3417) managed_C_Initialize: in</span>
<span id="LC22" class="line" lang="plaintext">(p11-kit:3417) initialize_module_inlock_reentrant: C_Initialize: calling</span>
<span id="LC23" class="line" lang="plaintext">(p11-kit:3417) initialize_module_inlock_reentrant: C_Initialize: result: 0</span>
<span id="LC24" class="line" lang="plaintext">(p11-kit:3417) managed_C_Initialize: out: 0</span>
<span id="LC25" class="line" lang="plaintext">|<2>| p11: No login requested.</span>
<span id="LC26" class="line" lang="plaintext">pkcs11:model=Rutoken%20ECP;manufacturer=Aktiv%20Co.;serial=XXXXXXX;token=XXXXXXXXXXXXX</span>
<span id="LC27" class="line" lang="plaintext">|<2>| p11: No login requested.</span>
<span id="LC28" class="line" lang="plaintext">|<3>| ASSERT: ../../lib/pkcs11.c[find_token_num_cb]:2352</span>
<span id="LC29" class="line" lang="plaintext">|<3>| ASSERT: ../../lib/pkcs11.c[_gnutls_pkcs11_token_get_url]:2432</span>
<span id="LC30" class="line" lang="plaintext">(p11-kit:3417) managed_C_Finalize: in</span>
<span id="LC31" class="line" lang="plaintext">(p11-kit:3417) managed_C_Finalize: out: 0</span>
<span id="LC32" class="line" lang="plaintext">(p11-kit:3417) p11_kit_module_release: in</span>
<span id="LC33" class="line" lang="plaintext">(p11-kit:3417) p11_kit_module_release: out</span>
<span id="LC34" class="line" lang="plaintext">(p11-kit:3417) uninit_common: uninitializing library</span></code></pre>
<copy-code></copy-code><insert-code-snippet></insert-code-snippet>
</div>
<p dir="auto" style="color: #3a383f; margin: 0 0 1rem;" align="initial">new version</p>
<div class="gl-relative markdown-code-block js-markdown-code" style="margin-bottom: 0;">
<pre class="code highlight js-syntax-highlight language-plaintext" v-pre="true" style='display: block; font-size: 14px; color: #3a383f; line-height: 1.6em; overflow-x: auto; border-radius: .25rem; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; margin: 0 0 1rem; 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: .25rem; white-space: pre; margin-top: 0; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; overflow-wrap: normal; padding: unset;'><span id="LC1" class="line" lang="plaintext" style="margin-top: 0;">P11_KIT_DEBUG=all GNUTLS_DEBUG_LEVEL=5 p11tool --provider=/usr/lib/librtpkcs11ecp.so --list-token-urls -d 9</span>
<span id="LC2" class="line" lang="plaintext">(p11-kit:19048) p11_library_init_impl: initializing library</span>
<span id="LC3" class="line" lang="plaintext">gnutls[2]: Enabled GnuTLS 3.8.11 logging...</span>
<span id="LC4" class="line" lang="plaintext">gnutls[2]: getrandom random generator was selected</span>
<span id="LC5" class="line" lang="plaintext">gnutls[2]: Intel SSSE3 was detected</span>
<span id="LC6" class="line" lang="plaintext">gnutls[2]: Intel AES accelerator was detected</span>
<span id="LC7" class="line" lang="plaintext">gnutls[2]: Intel GCM accelerator (AVX) was detected</span>
<span id="LC8" class="line" lang="plaintext">gnutls[2]: cfg: disabling version tls1.0</span>
<span id="LC9" class="line" lang="plaintext">gnutls[2]: cfg: disabling version tls1.1</span>
<span id="LC10" class="line" lang="plaintext">gnutls[2]: cfg: disabling version dtls0.9</span>
<span id="LC11" class="line" lang="plaintext">gnutls[2]: cfg: disabling version dtls1.0</span>
<span id="LC12" class="line" lang="plaintext">gnutls[2]: cfg: loaded system config /etc/gnutls/config mtime 1765814046</span>
<span id="LC13" class="line" lang="plaintext">Setting log level to 9</span>
<span id="LC14" class="line" lang="plaintext">(p11-kit:19048) p11_kit_module_load: in: /usr/lib/librtpkcs11ecp.so</span>
<span id="LC15" class="line" lang="plaintext">(p11-kit:19048) load_module_from_file_inlock: loading module from path: /usr/lib/librtpkcs11ecp.so</span>
<span id="LC16" class="line" lang="plaintext">(p11-kit:19048) dlopen_and_get_function_list: C_GetInterface not available. Falling back to C_GetFunctionList()</span>
<span id="LC17" class="line" lang="plaintext">(p11-kit:19048) dlopen_and_get_function_list: opened module: /usr/lib/librtpkcs11ecp.so</span>
<span id="LC18" class="line" lang="plaintext">(p11-kit:19048) p11_kit_module_load: out: success</span>
<span id="LC19" class="line" lang="plaintext">|<2>| p11: Initializing module: (null)</span>
<span id="LC20" class="line" lang="plaintext">(p11-kit:19048) managed_C_Initialize: in</span>
<span id="LC21" class="line" lang="plaintext">(p11-kit:19048) initialize_module_inlock_reentrant: C_Initialize: calling</span>
<span id="LC22" class="line" lang="plaintext">(p11-kit:19048) initialize_module_inlock_reentrant: C_Initialize: result: 9</span>
<span id="LC23" class="line" lang="plaintext">(p11-kit:19048) managed_C_Initialize: out: 9</span>
<span id="LC24" class="line" lang="plaintext">|<3>| ASSERT: ../../lib/pkcs11.c[pkcs11_provider_init]:301</span>
<span id="LC25" class="line" lang="plaintext">(p11-kit:19048) p11_kit_module_release: in</span>
<span id="LC26" class="line" lang="plaintext">(p11-kit:19048) p11_kit_module_release: out</span>
<span id="LC27" class="line" lang="plaintext">|<3>| ASSERT: ../../lib/pkcs11.c[gnutls_pkcs11_add_provider]:503</span>
<span id="LC28" class="line" lang="plaintext">pkcs11_add_provider: Thread locking error</span>
<span id="LC29" class="line" lang="plaintext">(p11-kit:19048) uninit_common: uninitializing library</span></code></pre>
<copy-code></copy-code><insert-code-snippet></insert-code-snippet>
</div>
</div>


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

<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/-/issues/1774#note_2962697672">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/2-ephzgbpi4d1takt9pl194tg2y/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>
<span style="color: transparent; font-size: 0; display: none; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0;">
Notification message regarding https://gitlab.com/gnutls/gnutls/-/issues/1774#note_2962697672 at 1766054467
</span>
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Issue","url":"https://gitlab.com/gnutls/gnutls/-/issues/1774#note_2962697672"}}</script>


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