GnuPG 2.4.8 / Kleopatra Hanging - gpg --list-keys and keyboxd Unresponsive on Windows Server
"niveditharao.kulkarni--- via Gnupg-users" <[email protected]> Wed, 22 Jul 2026 23:49:24 +0530
| Newsgroups | gmane.comp.encryption.gpg.user,gmane.comp.encryption.gpg.devel |
|---|---|
| Message-ID | <CAJGfpUF6V=FtQKH-rgDrNPsSYbPfyfvy-y0gLxYK1AX8rJ6aCA@mail.gmail.com> |
--===============4889865274100776551== Content-Type: multipart/alternative; boundary="0000000000009693600657372ed2" --0000000000009693600657372ed2 Content-Type: text/plain; charset="UTF-8" Dear GnuPG Support Team, We are experiencing an issue with GnuPG/Kleopatra in our production environment and would appreciate your guidance. Environment - *GnuPG Version:* 2.4.8 - *Operating System:* Windows Server (please let us know if you need the exact version) - *Application:* SQL Server executes GPG commands using xp_cmdshell - *Purpose:* Encrypting CSV files before uploading them to Amazon S3. Background The setup has been working successfully for approximately *8 months* without any issues. About *4 days ago*, encryption suddenly stopped working. No GnuPG/Gpg4win upgrade was performed during this period. Observed Symptoms 1. CSV files are generated successfully. 2. Encryption never starts, so no encrypted (.gpg) file is created. 3. Kleopatra opens but remains indefinitely at *"Loading certificates..."*. 4. The command: gpg --version returns immediately and reports *GnuPG 2.4.8*. 5. The command: gpg --list-keys hangs indefinitely. 6. The command: gpgconf --launch keyboxd also hangs indefinitely. 7. While the above command is running, *keyboxd.exe* appears in Task Manager but remains at *0% CPU usage* and never becomes responsive. 8. Earlier, multiple *gpg.exe* processes accumulated in Task Manager. We terminated the hung processes, but the issue persists. Additional Information - The GnuPG home directory structure appears normal. - The public-keys.d, private-keys-v1.d, trustdb.gpg, and other standard folders/files are present. - We have not modified or recreated any keys. - No GnuPG configuration changes have been made. - We have compared the folder structure with another working environment and did not notice any obvious differences. Questions 1. What could cause keyboxd to start but remain unresponsive? 2. Are there any known issues in GnuPG 2.4.8 that produce these symptoms? 3. Are there any diagnostic commands or debug logging options you recommend to identify where keyboxd is hanging? 4. Is there anything specific we should verify regarding the key database (public-keys.d) or GnuPG configuration? This is a production issue, so we would appreciate any guidance on how to diagnose the root cause without risking the existing key material. Thank you for your assistance. Kind regards, Niveditha. 7022567479 --0000000000009693600657372ed2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><p class=3D"gmail-PDq2pG_selectionAnchorContainer">Dear Gn= uPG Support Team,<span aria-hidden=3D"true" class=3D"gmail-PDq2pG_selection= Anchor"></span></p> <p>We are experiencing an issue with GnuPG/Kleopatra in our production envi= ronment and would appreciate your guidance.</p> <h3>Environment</h3> <ul> <li> <strong>GnuPG Version:</strong> 2.4.8 </li> <li> <strong>Operating System:</strong> Windows Server (please let us know if yo= u need the exact version) </li> <li> <strong>Application:</strong> SQL Server executes GPG commands using <code>= xp_cmdshell</code> </li> <li> <strong>Purpose:</strong> Encrypting CSV files before uploading them to Ama= zon S3. </li> </ul> <h3>Background</h3> <p>The setup has been working successfully for approximately <strong>8 mont= hs</strong> without any issues. About <strong>4 days ago</strong>, encrypti= on suddenly stopped working. No GnuPG/Gpg4win upgrade was performed during = this period.</p> <h3>Observed Symptoms</h3> <ol> <li> CSV files are generated successfully. </li> <li> Encryption never starts, so no encrypted (.gpg) file is created. </li> <li> Kleopatra opens but remains indefinitely at <strong>"Loading certifica= tes..."</strong>. </li> <li> <p>The command:</p> <pre class=3D"gmail-overflow-visible! gmail-px-0!"><div class=3D"gmail-rela= tive gmail-w-full gmail-mt-4 gmail-mb-1"><div class=3D"gmail-"><div class= =3D"gmail-contents"><div class=3D"gmail-border gmail-border-token-border-li= ght gmail-border-radius-3xl gmail-corner-superellipse/1.1 gmail-rounded-3xl= "><div class=3D"gmail-relative gmail-h-full gmail-w-full gmail-border-radiu= s-3xl gmail-bg-(--code-block-surface) gmail-corner-superellipse/1.1 gmail-o= verflow-clip gmail-rounded-3xl gmail-[--code-block-surface:var(--bg-elevate= d-secondary)] gmail-dark:[--code-block-surface:var(--composer-surface-prima= ry)] gmail-lxnfua_clipPathFallback"><div class=3D"gmail-pointer-events-none= gmail-absolute gmail-inset-x-4 gmail-top-12 gmail-bottom-4"><div class=3D"= gmail-pointer-events-none gmail-sticky gmail-z-40 gmail-shrink-0 gmail-z-1!= "><div class=3D"gmail-sticky gmail-bg-token-border-light"></div></div></div= ><div class=3D"gmail-relative"><div class=3D"gmail-h-full gmail-min-h-0 gma= il-min-w-0"><div class=3D"gmail-h-full gmail-min-h-0 gmail-min-w-0"><div cl= ass=3D"gmail-"><div class=3D"gmail-relative"><div class=3D"gmail-"><div cla= ss=3D"gmail-relative gmail-z-0 gmail-flex gmail-max-w-full"><div id=3D"gmai= l-code-block-viewer" dir=3D"ltr" class=3D"gmail-q9tKkq_viewer gmail-cm-edit= or gmail-z-10 gmail-light:cm-light gmail-dark:cm-light gmail-flex gmail-h-f= ull gmail-w-full gmail-flex-col gmail-items-stretch gmail-=CD=BCd gmail-=CD= =BCr"><div class=3D"gmail-cm-scroller"><pre class=3D"gmail-cm-content gmail= -q9tKkq_readonly gmail-m-0"><code>gpg --version</code></pre></div></div></d= iv></div></div></div></div></div><div class=3D"gmail-"><div class=3D"gmail-= "></div></div></div></div></div></div></div></div></pre> <p>returns immediately and reports <strong>GnuPG 2.4.8</strong>.</p> </li> <li> <p>The command:</p> <pre class=3D"gmail-overflow-visible! gmail-px-0!"><div class=3D"gmail-rela= tive gmail-w-full gmail-mt-4 gmail-mb-1"><div class=3D"gmail-"><div class= =3D"gmail-contents"><div class=3D"gmail-border gmail-border-token-border-li= ght gmail-border-radius-3xl gmail-corner-superellipse/1.1 gmail-rounded-3xl= "><div class=3D"gmail-relative gmail-h-full gmail-w-full gmail-border-radiu= s-3xl gmail-bg-(--code-block-surface) gmail-corner-superellipse/1.1 gmail-o= verflow-clip gmail-rounded-3xl gmail-[--code-block-surface:var(--bg-elevate= d-secondary)] gmail-dark:[--code-block-surface:var(--composer-surface-prima= ry)] gmail-lxnfua_clipPathFallback"><div class=3D"gmail-pointer-events-none= gmail-absolute gmail-inset-x-4 gmail-top-12 gmail-bottom-4"><div class=3D"= gmail-pointer-events-none gmail-sticky gmail-z-40 gmail-shrink-0 gmail-z-1!= "><div class=3D"gmail-sticky gmail-bg-token-border-light"></div></div></div= ><div class=3D"gmail-relative"><div class=3D"gmail-h-full gmail-min-h-0 gma= il-min-w-0"><div class=3D"gmail-h-full gmail-min-h-0 gmail-min-w-0"><div cl= ass=3D"gmail-"><div class=3D"gmail-relative"><div class=3D"gmail-"><div cla= ss=3D"gmail-relative gmail-z-0 gmail-flex gmail-max-w-full"><div id=3D"gmai= l-code-block-viewer" dir=3D"ltr" class=3D"gmail-q9tKkq_viewer gmail-cm-edit= or gmail-z-10 gmail-light:cm-light gmail-dark:cm-light gmail-flex gmail-h-f= ull gmail-w-full gmail-flex-col gmail-items-stretch gmail-=CD=BCd gmail-=CD= =BCr"><div class=3D"gmail-cm-scroller"><pre class=3D"gmail-cm-content gmail= -q9tKkq_readonly gmail-m-0"><code>gpg --list-keys</code></pre></div></div><= /div></div></div></div></div></div><div class=3D"gmail-"><div class=3D"gmai= l-"></div></div></div></div></div></div></div></div></pre> <p>hangs indefinitely.</p> </li> <li> <p>The command:</p> <pre class=3D"gmail-overflow-visible! gmail-px-0!"><div class=3D"gmail-rela= tive gmail-w-full gmail-mt-4 gmail-mb-1"><div class=3D"gmail-"><div class= =3D"gmail-contents"><div class=3D"gmail-border gmail-border-token-border-li= ght gmail-border-radius-3xl gmail-corner-superellipse/1.1 gmail-rounded-3xl= "><div class=3D"gmail-relative gmail-h-full gmail-w-full gmail-border-radiu= s-3xl gmail-bg-(--code-block-surface) gmail-corner-superellipse/1.1 gmail-o= verflow-clip gmail-rounded-3xl gmail-[--code-block-surface:var(--bg-elevate= d-secondary)] gmail-dark:[--code-block-surface:var(--composer-surface-prima= ry)] gmail-lxnfua_clipPathFallback"><div class=3D"gmail-pointer-events-none= gmail-absolute gmail-inset-x-4 gmail-top-12 gmail-bottom-4"><div class=3D"= gmail-pointer-events-none gmail-sticky gmail-z-40 gmail-shrink-0 gmail-z-1!= "><div class=3D"gmail-sticky gmail-bg-token-border-light"></div></div></div= ><div class=3D"gmail-relative"><div class=3D"gmail-h-full gmail-min-h-0 gma= il-min-w-0"><div class=3D"gmail-h-full gmail-min-h-0 gmail-min-w-0"><div cl= ass=3D"gmail-"><div class=3D"gmail-relative"><div class=3D"gmail-"><div cla= ss=3D"gmail-relative gmail-z-0 gmail-flex gmail-max-w-full"><div id=3D"gmai= l-code-block-viewer" dir=3D"ltr" class=3D"gmail-q9tKkq_viewer gmail-cm-edit= or gmail-z-10 gmail-light:cm-light gmail-dark:cm-light gmail-flex gmail-h-f= ull gmail-w-full gmail-flex-col gmail-items-stretch gmail-=CD=BCd gmail-=CD= =BCr"><div class=3D"gmail-cm-scroller"><pre class=3D"gmail-cm-content gmail= -q9tKkq_readonly gmail-m-0"><code>gpgconf --launch keyboxd</code></pre></di= v></div></div></div></div></div></div></div><div class=3D"gmail-"><div clas= s=3D"gmail-"></div></div></div></div></div></div></div></div></pre> <p>also hangs indefinitely.</p> </li> <li> While the above command is running, <strong>keyboxd.exe</strong> appears in= Task Manager but remains at <strong>0% CPU usage</strong> and never become= s responsive. </li> <li> Earlier, multiple <strong>gpg.exe</strong> processes accumulated in Task Ma= nager. We terminated the hung processes, but the issue persists. </li> </ol> <h3>Additional Information</h3> <ul> <li> The GnuPG home directory structure appears normal. </li> <li> The <code>public-keys.d</code>, <code>private-keys-v1.d</code>, <code>trust= db.gpg</code>, and other standard folders/files are present. </li> <li> We have not modified or recreated any keys. </li> <li> No GnuPG configuration changes have been made. </li> <li> We have compared the folder structure with another working environment and = did not notice any obvious differences. </li> </ul> <h3>Questions</h3> <ol> <li> What could cause <code>keyboxd</code> to start but remain unresponsive? </li> <li> Are there any known issues in GnuPG 2.4.8 that produce these symptoms? </li> <li> Are there any diagnostic commands or debug logging options you recommend to= identify where <code>keyboxd</code> is hanging? </li> <li> Is there anything specific we should verify regarding the key database (<co= de>public-keys.d</code>) or GnuPG configuration? </li> </ol> <p>This is a production issue, so we would appreciate any guidance on how t= o diagnose the root cause without risking the existing key material.</p> <p>Thank you for your assistance.</p> <p>Kind regards,</p><p>Niveditha.</p><p>7022567479</p></div> --0000000000009693600657372ed2-- --===============4889865274100776551== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Gnupg-users mailing list [email protected] https://lists.gnupg.org/mailman/listinfo/gnupg-users --===============4889865274100776551==--