Page MenuHome GnuPG
Feed Advanced Search

Yesterday

gniibe closed T8080: libgcrypt 1.12.0 regression: gcry_mpi_ec_curve_point as Resolved.

Fixed in 1.12.1.

Sat, Feb 21, 1:19 AM · libgcrypt, Bug Report

Fri, Feb 20

werner changed the status of T8094: libgcrypt: EC least leak failure from Open to Testing.
Fri, Feb 20, 1:55 PM · libgcrypt, Bug Report
werner closed T7071: gpg: Support of No CRC in ASCII armor as Resolved.

Cool. Works for me now.

Fri, Feb 20, 1:37 PM · gnupg, Bug Report
gniibe added a comment to T7071: gpg: Support of No CRC in ASCII armor.

rG62b8bf2f introduced the regression. The intent of the fix was about comparison of -----END , which has nine characters.
But it also added afx->buffer_pos ==1, that affected.

Fri, Feb 20, 6:22 AM · gnupg, Bug Report

Thu, Feb 19

werner reopened T7071: gpg: Support of No CRC in ASCII armor as "Open".

Using --enarmor and removing the checksum I sometimes get

Thu, Feb 19, 5:03 PM · gnupg, Bug Report
ebo moved T7875: GnuPG: Deletion of kyber key fails from Backlog to WIP on the gnupg26 board.
Thu, Feb 19, 10:25 AM · Bug Report, PQC, gnupg26
gniibe closed T8065: gnupg self test hang: clean migration as Resolved.

Fixed in libgpg-error 1.59.

Thu, Feb 19, 5:32 AM · gpgrt, NetBSD, gnupg26, Bug Report
gniibe triaged T8052: GnuPG: First listing of secret keys is empty as Normal priority.
Thu, Feb 19, 5:21 AM · gpgrt, Bug Report, gpgagent, gpd5x, gnupg26
gniibe changed the status of T7875: GnuPG: Deletion of kyber key fails from Open to Testing.
Thu, Feb 19, 5:20 AM · Bug Report, PQC, gnupg26

Wed, Feb 18

timegrid updated the task description for T8113: GpgOL: p7m attachments break attachment parsing.
Wed, Feb 18, 4:03 PM · Bug Report, gpd5x, vsd34, gpgol
timegrid created T8113: GpgOL: p7m attachments break attachment parsing.
Wed, Feb 18, 4:03 PM · Bug Report, gpd5x, vsd34, gpgol
werner changed the status of T8111: Assertion failure in Libksba's ocsp.c from Open to Testing.
Wed, Feb 18, 9:39 AM · Bug Report, libksba
werner triaged T8111: Assertion failure in Libksba's ocsp.c as Normal priority.
Wed, Feb 18, 8:39 AM · Bug Report, libksba

Tue, Feb 17

svuorela added a comment to T8108: gpgmepp: Improve the getrandom API.

I came from it with stuffing the vector into a QByteArrayView - and then comparing it with the same string being roundtripped thru a copy/paste operation by the user.

Tue, Feb 17, 2:46 PM · gpgmepp
ikloecker added a comment to T8108: gpgmepp: Improve the getrandom API.

I explicitly keep the null byte so that you can simply pass the (pointer to the data of the) vector of bytes to the std::string c'tor. Meh! The c'tor wants const char *, but the vector is const unsigned char * so that one has to reinterpret_cast.

Tue, Feb 17, 1:58 PM · gpgmepp
svuorela added a comment to T8108: gpgmepp: Improve the getrandom API.

I don't think the trailing zero-byte should survive the conversion to c++ datastructures.

Tue, Feb 17, 10:37 AM · gpgmepp
ikloecker closed T8108: gpgmepp: Improve the getrandom API as Resolved.

I have documented the function. The documentation is essentially a copy of the documentation of gpgme_op_random_bytes which should make clear that the function essentially behaves like gpgme_op_random_bytes (except that the gpgmepp function creates a buffer instead of taking one).

Tue, Feb 17, 10:32 AM · gpgmepp
ikloecker added a project to T8108: gpgmepp: Improve the getrandom API: Documentation.
Tue, Feb 17, 10:04 AM · gpgmepp
ikloecker added a comment to T8108: gpgmepp: Improve the getrandom API.

I guess it would have been better gpgmepp API to add an additional function for getting 30 zbase32 bytes and to omit the mode flag in the generateRandomBytes function instead of mirroring the API of gpgme.

Tue, Feb 17, 10:03 AM · gpgmepp
ikloecker added a comment to T8108: gpgmepp: Improve the getrandom API.

I don't consider this a bug in gpgmepp's code. gpgmepp behaves exactly like gpgme (because it simply calls gpgme_op_random_bytes after creating a buffer of the requested size). With zbase32 you get 30 bytes zbase32 code and, if you requested more bytes, you get uninitialized additional bytes (which happen to be nullbytes, but that's more accidental than intentional). If anything then the problem is that gpgmepp's API is in general un(der)documented.

Tue, Feb 17, 9:56 AM · gpgmepp
gniibe claimed T7875: GnuPG: Deletion of kyber key fails.
Tue, Feb 17, 8:48 AM · Bug Report, PQC, gnupg26

Mon, Feb 16

svuorela added a comment to T8108: gpgmepp: Improve the getrandom API.

Yeah. It's a gpgmepp bug.

Mon, Feb 16, 10:37 AM · gpgmepp

Sun, Feb 15

werner added a comment to T8094: libgcrypt: EC least leak failure.

FWIW: Okay, gmime is still a wrapper around gpgme. After decryption it has the ability to get the used session key from the gpgme result structure. Thus, I have been on the wrong trail. The actual problem is not gpgme but more GnuPG's use of Libgcrypt or an actual regression in Libgcrypt. Well, Friday 13th.

Sun, Feb 15, 4:37 PM · libgcrypt, Bug Report
werner added a comment to T8108: gpgmepp: Improve the getrandom API.

I can't speak for gpgmpp but for gpgme. And the gpgme manual says:

Sun, Feb 15, 3:21 PM · gpgmepp

Sat, Feb 14

thesamesam added a comment to T8094: libgcrypt: EC least leak failure.

Any hints where to find the actual crypto code which uses libgcrypt?

Sat, Feb 14, 5:59 AM · libgcrypt, Bug Report

Fri, Feb 13

jrm added a comment to T8094: libgcrypt: EC least leak failure.

Maintainer of the FreeBSD notmuch port/package here. The steps below consistently trigger the problem on FreeBSD 16.0 (unreleased main branch), but there are no problems on FreeBSD 15.0. All my testing was on amd64.

Fri, Feb 13, 6:26 PM · libgcrypt, Bug Report
svuorela created T8108: gpgmepp: Improve the getrandom API.
Fri, Feb 13, 5:25 PM · gpgmepp
werner added a comment to T8101: Upgrade of local (portable) installation failed.

Yeah sure.

Fri, Feb 13, 1:56 PM · Bug Report, gpg4win
uwi added a comment to T8101: Upgrade of local (portable) installation failed.

You need to use a current Windows version (and not Windows Server 2016)

Fri, Feb 13, 1:17 PM · Bug Report, gpg4win
werner closed T8096: GnuPG: quick-key-manipulation regression test FTBFS-2038 as Resolved.
Fri, Feb 13, 10:56 AM · Bug Report
werner added a comment to T8094: libgcrypt: EC least leak failure.

Any hints where to find the actual crypto code which uses libgcrypt?

Fri, Feb 13, 10:16 AM · libgcrypt, Bug Report
werner closed T8101: Upgrade of local (portable) installation failed as Invalid.

I'm surprised that nobody did detect these problems during the long beta phase...

Fri, Feb 13, 9:52 AM · Bug Report, gpg4win
werner closed T8101: Upgrade of local (portable) installation failed, a subtask of T8100: Kleopatra does not start on Windows Server 2016, as Invalid.
Fri, Feb 13, 9:52 AM · kleopatra, Bug Report, gpg4win, gpd5x, qt
gniibe raised the priority of T8094: libgcrypt: EC least leak failure from Low to High.
Fri, Feb 13, 9:32 AM · libgcrypt, Bug Report
gniibe added a comment to T8094: libgcrypt: EC least leak failure.

@thesamesam Thanks a lot.
I managed to replicate the failure somehow (for me, it fails at the importing the key).

Fri, Feb 13, 9:31 AM · libgcrypt, Bug Report
thesamesam added a comment to T8094: libgcrypt: EC least leak failure.

I've attached notmuch-bug.log with debug-level guru commented out for gpg-agent:

Fri, Feb 13, 8:35 AM · libgcrypt, Bug Report
thesamesam added a comment to T8094: libgcrypt: EC least leak failure.

I can reproduce it using Stuart's script from https://lists.gnupg.org/pipermail/gcrypt-devel/2026-February/006031.html.

Fri, Feb 13, 8:34 AM · libgcrypt, Bug Report
thesamesam added a comment to T8094: libgcrypt: EC least leak failure.
$ uname -a
Linux mop 6.18.10 #1 SMP PREEMPT_DYNAMIC Wed Feb 11 21:14:57 GMT 2026 x86_64 AMD Ryzen 9 3950X 16-Core Processor AuthenticAMD GNU/Linux
Fri, Feb 13, 8:22 AM · libgcrypt, Bug Report
gniibe added a project to T8094: libgcrypt: EC least leak failure: Info Needed.

Please tell us the information of your environment.
What the versions of gpg and gpg-agent?

Fri, Feb 13, 8:13 AM · libgcrypt, Bug Report
gniibe renamed T8094: libgcrypt: EC least leak failure from libgcrypt: EC least leak failure on 32-bit machine to libgcrypt: EC least leak failure.
Fri, Feb 13, 8:10 AM · libgcrypt, Bug Report
gniibe added a comment to T7875: GnuPG: Deletion of kyber key fails.

Here is an attempt of mine this week:

diff --git a/g10/call-agent.c b/g10/call-agent.c
index 5e13a3e52..8949fad17 100644
--- a/g10/call-agent.c
+++ b/g10/call-agent.c
@@ -3290,13 +3290,14 @@ confirm_status_cb (void *opaque, const char *line)
    message.  If FORCE is true the agent is advised not to ask for
    confirmation. */
 gpg_error_t
-agent_delete_key (ctrl_t ctrl, const char *hexkeygrip, const char *desc,
+agent_delete_key (ctrl_t ctrl, const char *keygrip, const char *desc,
                   int force)
 {
   gpg_error_t err;
   char line[ASSUAN_LINELENGTH];
   struct default_inq_parm_s dfltparm;
   struct confirm_parm_s confirm_parm;
+  const char *keygrip2 = NULL;
Fri, Feb 13, 8:07 AM · Bug Report, PQC, gnupg26
thesamesam added a comment to T8094: libgcrypt: EC least leak failure.

We have seen the same thing on amd64 (x86_64) linux: https://bugs.gentoo.org/969501

Fri, Feb 13, 6:28 AM · libgcrypt, Bug Report

Thu, Feb 12

werner added a parent task for T8101: Upgrade of local (portable) installation failed: T8100: Kleopatra does not start on Windows Server 2016.
Thu, Feb 12, 1:18 PM · Bug Report, gpg4win
werner added a subtask for T8100: Kleopatra does not start on Windows Server 2016: T8101: Upgrade of local (portable) installation failed.
Thu, Feb 12, 1:18 PM · kleopatra, Bug Report, gpg4win, gpd5x, qt
werner added a comment to T8101: Upgrade of local (portable) installation failed.

Please do not use the portable installation - it is dangerous to use it. We will eventually remove this option.

Thu, Feb 12, 1:18 PM · Bug Report, gpg4win
werner lowered the priority of T8045: Stack-based buffer overflow in TPM2 `PKDECRYPT` from Unbreak Now! to Normal.
Thu, Feb 12, 11:14 AM · gnupg26, CVE, TPM, Bug Report
gniibe added a comment to T8045: Stack-based buffer overflow in TPM2 `PKDECRYPT`.

The fix causes a regression. Reported: https://lists.gnupg.org/pipermail/gnupg-devel/2026-February/036218.html

Thu, Feb 12, 2:49 AM · gnupg26, CVE, TPM, Bug Report
gniibe reopened T8045: Stack-based buffer overflow in TPM2 `PKDECRYPT` as "Open".

This is not 2.5-only.

Thu, Feb 12, 2:48 AM · gnupg26, CVE, TPM, Bug Report

Wed, Feb 11

ikloecker renamed T8100: Kleopatra does not start on Windows Server 2016 from QT: SetThreadDescription not found in Qt6Core.dll to Kleopatra does not start on Windows Server 2016.
Wed, Feb 11, 12:06 PM · kleopatra, Bug Report, gpg4win, gpd5x, qt
pmgdeb added a comment to T8096: GnuPG: quick-key-manipulation regression test FTBFS-2038.

Hi, the test is green with rG86baca6e62b3 for both 2038-01-01 and 2105-01-01. Thanks!

Wed, Feb 11, 11:19 AM · Bug Report
uwi added a comment to T8101: Upgrade of local (portable) installation failed.

For the time being I "upgraded 5.0.1 to 4.4.1 (in the new directory), and then Kleopatra started again.
When upgrading that installation again to 5.0.1, Kleopatra does not start (same error message as before).

Wed, Feb 11, 9:03 AM · Bug Report, gpg4win
uwi added a comment to T8101: Upgrade of local (portable) installation failed.

Also: When I click "Abort" ("Abbrechen"), the dialog disappeared, but the main windows does not show any progress: Specifically it does not abort.
I had to press "Abort" ("Abbrechen") in the main window; then the upgrade aborted.
When retrying (and confirming that I don't want to install as Administrator (actually I cannot), the proposed target directory still is "C:\Program Files\Gpg4win".
When locating the previous installation directory (it seems it was a subdirectory of %USERPROFIL%\Downloads) the upgrade succeeded, but Kleopatra fails to start.
It want a bin\Qt6Core.dll, bit in the bin directory there is only a Qt5Corew.dll dated " 14. ‎Juli ‎2023, ‏‎13:23:40".
When retrying the installation/upgrade it announced to upgrade 5.0.1, but then did seemingly nothing (I guess as the version was estimated to "be current").
It seems some "reinstall/repair" option is missing.

Wed, Feb 11, 8:54 AM · Bug Report, gpg4win
uwi created T8101: Upgrade of local (portable) installation failed.
Wed, Feb 11, 8:31 AM · Bug Report, gpg4win
gniibe added a comment to T8094: libgcrypt: EC least leak failure.

No, OpenBSD's implementation of POSIX semaphore is different to NetBSD.
(It doesn't support PSHARED=1.)

Wed, Feb 11, 2:51 AM · libgcrypt, Bug Report
gniibe added a comment to T8094: libgcrypt: EC least leak failure.

Possibly, it is related to the NetBSD failure of T8065.
If importing the secret key fails (which invokes gpg-agent), decryption cannot be succeeded.
I will check OpenBSD implementation of POSIX semaphore, if it's similar to NetBSD one.

Wed, Feb 11, 2:41 AM · libgcrypt, Bug Report

Tue, Feb 10

ikloecker added a comment to T8099: Kleopatra: no default OpenPGP server configured.

We forgot to update the tooltip when the default keyserver was removed in gpg 2.5.3. This has already been fixed in the meantime. Sorry for the inconvenience!

Tue, Feb 10, 10:43 PM · Keyserver, Support, gpg4win
OliverL created T8099: Kleopatra: no default OpenPGP server configured.
Tue, Feb 10, 1:20 PM · Keyserver, Support, gpg4win