Page MenuHome GnuPG
Feed Advanced Search

Thu, Mar 26

gniibe claimed T8048: Keyboxd: S/MIME certificate is imported on ldap search.

I applied the keyboxd part for SETEPHEMERAL command, as it doesn't break anything.

Thu, Mar 26, 3:56 AM · keyboxd, Bug Report, gnupg26, S/MIME, LDAP, gpd5x
gniibe committed rG92c75575ecd4: keyboxd: Add SETEPHEMERAL command. (authored by gniibe).
keyboxd: Add SETEPHEMERAL command.
Thu, Mar 26, 3:52 AM

Wed, Mar 25

gniibe added a comment to T8048: Keyboxd: S/MIME certificate is imported on ldap search.

Here is an attempt to fix the client side:

Wed, Mar 25, 5:26 AM · keyboxd, Bug Report, gnupg26, S/MIME, LDAP, gpd5x
gniibe committed rG2a2145782cbb: gpgsm: Make sure initializing TMP_CERT. (authored by gniibe).
gpgsm: Make sure initializing TMP_CERT.
Wed, Mar 25, 2:12 AM
gniibe committed rG8b6de59ad880: agent: Raise GPG_ERR_BAD_SECKEY when p >= q for RSA key. (authored by gniibe).
agent: Raise GPG_ERR_BAD_SECKEY when p >= q for RSA key.
Wed, Mar 25, 1:39 AM
gniibe changed the status of T8171: interoperability of PGP RSA keys from Open to Testing.

Pushed: rG8b6de59ad880: agent: Raise GPG_ERR_BAD_SECKEY when p >= q for RSA key.

Wed, Mar 25, 1:39 AM · libgcrypt, gnupg, Bug Report

Tue, Mar 24

gniibe changed the status of T7957: dotlock clean up for error/warning message from Open to Testing.

Pushed the change: rG533bcc265e9c: common:dotlock: Clean up for error/info/warning message.

Tue, Mar 24, 6:33 AM · gnupg, Bug Report
gniibe committed rG533bcc265e9c: common:dotlock: Clean up for error/info/warning message. (authored by gniibe).
common:dotlock: Clean up for error/info/warning message.
Tue, Mar 24, 6:32 AM
gniibe committed rA64c608e68640: w32: Fix ASSUAN_INVALID_FD. (authored by gniibe).
w32: Fix ASSUAN_INVALID_FD.
Tue, Mar 24, 6:13 AM
gniibe committed rA44af1376511e: w32: Fix Windows specific warnings. (authored by gniibe).
w32: Fix Windows specific warnings.
Tue, Mar 24, 6:13 AM
gniibe committed rG7a2692fe5e58: tool:gpgtar: Check the output directory with --directory. (authored by gniibe).
tool:gpgtar: Check the output directory with --directory.
Tue, Mar 24, 3:38 AM
gniibe added a comment to T8171: interoperability of PGP RSA keys.

While I pushed the change of libgcrypt, I'd like to apply following change to GnuPG.
This is more kind than GPG_ERR_BAD_PASSPHRASE by gcry_pk_testkey failure.

Tue, Mar 24, 3:33 AM · libgcrypt, gnupg, Bug Report
gniibe committed rC39aca53012e0: cipher:rsa: Fix the dead-code of stronger_key_check. (authored by gniibe).
cipher:rsa: Fix the dead-code of stronger_key_check.
Tue, Mar 24, 3:22 AM

Mon, Mar 23

gniibe added a comment to T8171: interoperability of PGP RSA keys.

I retract my patch in T8171#215603

Mon, Mar 23, 10:36 AM · libgcrypt, gnupg, Bug Report
gniibe updated subscribers of T8171: interoperability of PGP RSA keys.

@m.eik gave us this link: https://github.com/ProtonMail/go-crypto/issues/184

Mon, Mar 23, 10:21 AM · libgcrypt, gnupg, Bug Report
gniibe closed T4163: hkps://hkps.pool.sks-keyservers.net has to many bad servers to be a good default as Resolved.

It had already fixed in: rG55b5928099ba: dirmngr: Change the default keyserver.
And then in: rGa2f2523b99ff: Remove the default keyserver.

Mon, Mar 23, 5:50 AM · gnupg, Keyserver
gniibe closed T3958: GPGME: Qt Bindings and MacOS as Resolved.

With same reason for T3852, I close this ticket.

Mon, Mar 23, 5:42 AM · MacOS, qt, gpgme
gniibe closed T3852: GPGME, qt: possible version mismatch between moc and qt version as Resolved.

GPGME has been divided into new GpgME, QGpgme, GpgMEpp, and GpgME-python.
And new QGpgme uses CMake now.

Mon, Mar 23, 5:25 AM · qt, gpgme
gniibe claimed T8136: w32: fix GNUPG_INVALID_FD and ASSUAN_INVALID_FD.
Mon, Mar 23, 3:26 AM · gnupg, libassuan, Windows
gniibe added a project to T6910: pinentry: Possibly add pinentry-gtk with GTK 4, and Drop pinentry-gtk-2: pinentry.
Mon, Mar 23, 3:15 AM · pinentry
gniibe committed rG41c4325813c1: scd:openpgp: Fix removal of the diagnostic for Admin PIN. (authored by gniibe).
scd:openpgp: Fix removal of the diagnostic for Admin PIN.
Mon, Mar 23, 2:39 AM
gniibe added inline comments to rG2239f687bb14: scd:openpgp: UI improvement for use of PIN-entry..
Mon, Mar 23, 2:04 AM

Fri, Mar 20

gniibe committed rM8b89678aed6d: Fix passphrase cancel handling. (authored by gniibe).
Fix passphrase cancel handling.
Fri, Mar 20, 6:16 AM
gniibe added a comment to T8162: pinentry/gpg/gpgme/Kleo: Cancel semantics: decryption.

Pushed the change of gpgme: rM8b89678aed6d: Fix passphrase cancel handling.

Fri, Mar 20, 5:21 AM · pinentry, Feature Request, gnupg26, gpd5x, kleopatra
gniibe committed rG2239f687bb14: scd:openpgp: UI improvement for use of PIN-entry. (authored by gniibe).
scd:openpgp: UI improvement for use of PIN-entry.
Fri, Mar 20, 5:03 AM
gniibe changed the status of T6425: improve pinentry behavior and texts in smart card context , a subtask of T6785: Kleopatra: Improvements related to smart cards, from Open to Testing.
Fri, Mar 20, 5:01 AM · kleopatra
gniibe changed the status of T6425: improve pinentry behavior and texts in smart card context from Open to Testing.

Pushed the last change: rG2239f687bb14: scd:openpgp: UI improvement for use of PIN-entry.

Fri, Mar 20, 5:01 AM · needs discussion, kleopatra, gpd5x, gnupg24 (gnupg-2.4.5), scd, Bug Report

Thu, Mar 19

gniibe added a comment to T8182: Make OK the default action for the "insert card" prompt..

It seems that pinentry-curses defaults to "OK".
(my branch for GTK-4, same.)

Thu, Mar 19, 8:07 AM · gpgagent, gnupg26, pinentry, Bug Report
gniibe added a comment to T6425: improve pinentry behavior and texts in smart card context .

This is a bit larger change (of UI improvement):

Thu, Mar 19, 6:55 AM · needs discussion, kleopatra, gpd5x, gnupg24 (gnupg-2.4.5), scd, Bug Report
gniibe closed T7894: libgcrypt, scute, gpgrt/argparse, gnupg/dirmngr: Hard-coded /etc as Resolved.
Thu, Mar 19, 1:58 AM · libgcrypt, scute, gpgrt, Bug Report

Wed, Mar 18

gniibe committed rG268e435f921a: tests:openpgp: With gpgtar, extract tarball into an empty directory. (authored by gniibe).
tests:openpgp: With gpgtar, extract tarball into an empty directory.
Wed, Mar 18, 8:40 AM
gniibe added a comment to T8171: interoperability of PGP RSA keys.

I sent a patch to gcrypt-devel mailing list for the preparation of the change of RSA secret key checking.
If enabled, wrong RSA secret key (wrong means: under the Libre/OpenPGP specification) is rejected at import when gpg-agent calls gcry_pk_test_key.

Wed, Mar 18, 7:00 AM · libgcrypt, gnupg, Bug Report
gniibe added a comment to T8162: pinentry/gpg/gpgme/Kleo: Cancel semantics: decryption.

I consider again about Ben's change. It could be simply support of the detection of the cancel situation where gpgme should return GPG_ERR_CANCELED (not related to single cancellation vs. whole cancellation).

Wed, Mar 18, 6:38 AM · pinentry, Feature Request, gnupg26, gpd5x, kleopatra

Tue, Mar 17

gniibe added a comment to T8162: pinentry/gpg/gpgme/Kleo: Cancel semantics: decryption.

I investigated the introduction of STATUS_CANCELED_BY_USER and GPGME_STATUS_CANCELED_BY_USER:
rG31e47dfad0f4: gpg: Add canceled status message.
rM35ca460019ea: Parse STATUS_CANCELED_BY_USER.

Tue, Mar 17, 10:07 AM · pinentry, Feature Request, gnupg26, gpd5x, kleopatra
gniibe added a comment to T8171: interoperability of PGP RSA keys.

For OpenSSH, ssh-agent spec. defines p, q, and qInv.
FIPS has: FIPS 186-5 and SP 800-56Br2.

Tue, Mar 17, 8:53 AM · libgcrypt, gnupg, Bug Report
gniibe committed rE7957a1f72005: spawn:w32: Fix use-after-scope of handle array. (authored by mfilippov).
spawn:w32: Fix use-after-scope of handle array.
Tue, Mar 17, 1:50 AM
gniibe added a comment to T8171: interoperability of PGP RSA keys.

existing standards

Tue, Mar 17, 1:22 AM · libgcrypt, gnupg, Bug Report

Mon, Mar 16

gniibe added a comment to T8171: interoperability of PGP RSA keys.

CRT is used with GnuPG. In libgcrypt, pk_sign and pk_decrypt don't require P, Q, and U in a key (it's optional), but pk_test_key does.

Mon, Mar 16, 5:42 AM · libgcrypt, gnupg, Bug Report

Fri, Mar 13

gniibe created T8171: interoperability of PGP RSA keys.
Fri, Mar 13, 7:46 AM · libgcrypt, gnupg, Bug Report

Wed, Mar 11

gniibe updated the task description for T8162: pinentry/gpg/gpgme/Kleo: Cancel semantics: decryption.
Wed, Mar 11, 2:05 AM · pinentry, Feature Request, gnupg26, gpd5x, kleopatra
gniibe renamed T8162: pinentry/gpg/gpgme/Kleo: Cancel semantics: decryption from pinentry/gpg/gpgme/Kleo: Cancel semantics to pinentry/gpg/gpgme/Kleo: Cancel semantics: decryption.
Wed, Mar 11, 2:02 AM · pinentry, Feature Request, gnupg26, gpd5x, kleopatra
gniibe updated the task description for T8162: pinentry/gpg/gpgme/Kleo: Cancel semantics: decryption.
Wed, Mar 11, 1:58 AM · pinentry, Feature Request, gnupg26, gpd5x, kleopatra
gniibe triaged T8162: pinentry/gpg/gpgme/Kleo: Cancel semantics: decryption as Normal priority.
Wed, Mar 11, 1:56 AM · pinentry, Feature Request, gnupg26, gpd5x, kleopatra
gniibe added a comment to T7339: Kleopatra: Cannot decrypt packets with hybrid cipher without using symmetric passphrase.

@bernhard Thank you for the link.

Wed, Mar 11, 1:27 AM · gnupg26, gpd5x, kleopatra, Bug Report

Tue, Mar 10

gniibe added a comment to T6425: improve pinentry behavior and texts in smart card context .

I was wrong. gpg (scdaemon) needed to be fixed with more changes for the interaction with pinentry.

Tue, Mar 10, 6:37 AM · needs discussion, kleopatra, gpd5x, gnupg24 (gnupg-2.4.5), scd, Bug Report
gniibe committed rGc5f4900a57f8: scd: Return GPG_ERR_PIN_BLOCKED before asking the PIN to a user. (authored by gniibe).
scd: Return GPG_ERR_PIN_BLOCKED before asking the PIN to a user.
Tue, Mar 10, 6:31 AM
gniibe committed rG55b72dcb13ba: scd: Return GPG_ERR_BAD_RESET_CODE when unblocking fails with PUK. (authored by gniibe).
scd: Return GPG_ERR_BAD_RESET_CODE when unblocking fails with PUK.
Tue, Mar 10, 6:04 AM
gniibe committed rG1c2ba3bb2060: scd: Return GPG_ERR_PIN_BLOCKED before asking pin. (authored by gniibe).
scd: Return GPG_ERR_PIN_BLOCKED before asking pin.
Tue, Mar 10, 5:39 AM
gniibe committed rM53c8f29125ff: Handle the case when pinentry is invoked multiple times. (authored by gniibe).
Handle the case when pinentry is invoked multiple times.
Tue, Mar 10, 3:02 AM
gniibe committed rG3ddb622f4db9: gpg: Don't call gcry_kdf_derive with empty passphrase. (authored by gniibe).
gpg: Don't call gcry_kdf_derive with empty passphrase.
Tue, Mar 10, 2:25 AM
gniibe claimed T7339: Kleopatra: Cannot decrypt packets with hybrid cipher without using symmetric passphrase.
Tue, Mar 10, 2:22 AM · gnupg26, gpd5x, kleopatra, Bug Report
gniibe added a comment to T7339: Kleopatra: Cannot decrypt packets with hybrid cipher without using symmetric passphrase.

I pushed my patch for gpg, since it does not break anything, just allow empty passphrase input (to skip).
I also pushed my patch for gpgme. I believe that it's correct.

Tue, Mar 10, 2:21 AM · gnupg26, gpd5x, kleopatra, Bug Report
gniibe added a comment to T7339: Kleopatra: Cannot decrypt packets with hybrid cipher without using symmetric passphrase.

gpg 2.2 does: when it sees PKT_PUBKEY_ENC it asks a user to try decrypting the session key. when it sees PKT_SYMKEY_ENC it asks a user to try decrypting the encrypted session key by passphrase. When one of tries successes, it use the result (the session key) to decrypt PKT_ENCRYPTED_* packet. When there are multiple PKT_PUBKEY_ENC and PKT_SYMKEY_ENC, gpg 2.2 handles sequentially.

Tue, Mar 10, 2:12 AM · gnupg26, gpd5x, kleopatra, Bug Report

Mon, Mar 9

gniibe added a comment to T7339: Kleopatra: Cannot decrypt packets with hybrid cipher without using symmetric passphrase.

I was too optimistic. GPGME is required the following change, too:

diff --git a/src/passphrase.c b/src/passphrase.c
index 140cd03a..d07afa91 100644
--- a/src/passphrase.c
+++ b/src/passphrase.c
@@ -114,6 +114,11 @@ _gpgme_passphrase_status_handler (void *priv, gpgme_status_code_t code,
     case GPGME_STATUS_CANCELED_BY_USER:
       return gpg_error (GPG_ERR_CANCELED);
Mon, Mar 9, 8:16 AM · gnupg26, gpd5x, kleopatra, Bug Report
gniibe added a comment to T7339: Kleopatra: Cannot decrypt packets with hybrid cipher without using symmetric passphrase.

I'd propose applying the patch of mine above to gpg, and suggest users to input empty pass phrase to skip (instead of cancelling).
This could be a minimum change (only gpg). Or else, gpgme needs to change to ignore CANCEL status; I think that it's not easy change.

Mon, Mar 9, 5:39 AM · gnupg26, gpd5x, kleopatra, Bug Report

Wed, Mar 4

gniibe committed rP572b3f3c02ff: build: Fix m4/Makefile.am to distribute qt6.m4. (authored by gniibe).
build: Fix m4/Makefile.am to distribute qt6.m4.
Wed, Mar 4, 9:44 AM
gniibe added a comment to T8012: Missing error on first key search without keyserver.

Possibly, it was the same cause as T8052 (the bug in libgpg-error spawning a process).

Wed, Mar 4, 8:09 AM · dirmngr, Bug Report, gnupg26
gniibe added a comment to T8048: Keyboxd: S/MIME certificate is imported on ldap search.

I looked at sm/keydb.c:keydb_set_ephemeral function. It says:

Wed, Mar 4, 7:38 AM · keyboxd, Bug Report, gnupg26, S/MIME, LDAP, gpd5x
gniibe committed rG087f4b745bda: build: Add forgotten m4 file and update m4/Makefile.am. (authored by gniibe).
build: Add forgotten m4 file and update m4/Makefile.am.
Wed, Mar 4, 6:53 AM
gniibe committed rEe5a81daca8e0: build: Revert pkg-config requirement. (authored by sachint).
build: Revert pkg-config requirement.
Wed, Mar 4, 2:57 AM
gniibe claimed T8139: Test results of libgpg-error-1.59 from Mac OS X 10.6.8, Snow Leopard.

How did you configure? If possible, please show us the configure options when you built.
Did it work in older version(s) of libgpg-error?

Wed, Mar 4, 1:36 AM · Info Needed, gpgrt, Bug Report

Tue, Mar 3

gniibe changed the status of T7677: Duplicate --with-gnu-ld Entries in libgpg-error 1.55 configure Help Output from Open to Testing.
Tue, Mar 3, 3:34 AM · gpgrt, Bug Report
gniibe committed rE158a36d23bda: build: Put a work-around for AC_LIB_PROG_LD issue. (authored by gniibe).
build: Put a work-around for AC_LIB_PROG_LD issue.
Tue, Mar 3, 3:34 AM
gniibe committed rEa4951fabc1e5: build: Fix m4/Makefile.am. (authored by gniibe).
build: Fix m4/Makefile.am.
Tue, Mar 3, 3:34 AM
gniibe committed rEb31584791efc: build: Add forgotten m4 file for gettext. (authored by gniibe).
build: Add forgotten m4 file for gettext.
Tue, Mar 3, 3:33 AM
gniibe added a comment to T8032: libksba: Input validation for DER encoded INTEGER.

It seemed that the reporter (also) claimed that a git repo could be weak/vulnerable when X.509 signature is used to validate the commits.

Tue, Mar 3, 1:51 AM · S/MIME, libksba, Bug Report
gniibe added a comment to T8032: libksba: Input validation for DER encoded INTEGER.

For the record (to show we don't hide a problem), I add some information.

Tue, Mar 3, 1:25 AM · S/MIME, libksba, Bug Report
gniibe claimed T7677: Duplicate --with-gnu-ld Entries in libgpg-error 1.55 configure Help Output.

It should be solved by the upstream (libtool, gnulib, and possibly autoconf/automake). The solution would be refactoring AC_PROG_LD and AC_LIB_PROG_LD factoring out common things like handling use of GNU LD.

Tue, Mar 3, 1:06 AM · gpgrt, Bug Report

Mon, Mar 2

gniibe added a project to T7519: libgcrypt: (EC)DSA signature generation should be constant-time: CVE.

The reporter informed:
CVE-2025-69913

Mon, Mar 2, 2:34 AM · CVE, libgcrypt, Bug Report

Feb 27 2026

gniibe committed rAe71eb3ec615e: Enable warnings for maintainer mode. Fix warnings. (authored by gniibe).
Enable warnings for maintainer mode. Fix warnings.
Feb 27 2026, 10:27 AM
gniibe closed T7629: gcc 15 warns about -Wunterminated-string-initialization in gnupg as Resolved.
Feb 27 2026, 7:21 AM · gnupg, Bug Report
gniibe added a comment to T8078: GpgAgent: trustlist.txt still requires LF on the last line.

I found that it's not that simple to accept the case of no newline at the end.
Because we need to handle the edge case where no newline occurs at the maximum buffer length, too.
It's something like the following.

Feb 27 2026, 3:21 AM · gnupg24, gnupg22, Bug Report, gpgagent, gnupg26
gniibe claimed T8092: GnuPG: Add algorithm info for all kyber choices on certificate generation.
Feb 27 2026, 1:55 AM · Feature Request, PQC, gnupg26

Feb 26 2026

gniibe triaged T8136: w32: fix GNUPG_INVALID_FD and ASSUAN_INVALID_FD as Low priority.
Feb 26 2026, 3:33 AM · gnupg, libassuan, Windows
gniibe committed rEc2c60d911b09: w32:estream: Use INVALID_SOCKET to check invalid socket. (authored by gniibe).
w32:estream: Use INVALID_SOCKET to check invalid socket.
Feb 26 2026, 1:59 AM
gniibe changed the status of T8052: GnuPG: First listing of secret keys is empty from Open to Testing.
Feb 26 2026, 12:55 AM · gpd5x (gpd-5.0.2), gpgrt, Bug Report, gpgagent, gnupg26

Feb 25 2026

gniibe committed rG6cd241007f39: dirmngr: Fix a call of calloc. (authored by gniibe).
dirmngr: Fix a call of calloc.
Feb 25 2026, 5:21 AM
gniibe changed the status of T8092: GnuPG: Add algorithm info for all kyber choices on certificate generation from Open to Testing.
Feb 25 2026, 5:16 AM · Feature Request, PQC, gnupg26
gniibe committed rG555a9f5b3a0c: agent: Fix the regression in pkdecrypt with TPM RSA. (authored by gniibe).
agent: Fix the regression in pkdecrypt with TPM RSA.
Feb 25 2026, 3:57 AM
gniibe committed rG01c130031806: tpm: Fix possible buffer overflow in PKDECRYPT (authored by werner).
tpm: Fix possible buffer overflow in PKDECRYPT
Feb 25 2026, 3:57 AM
gniibe committed rG8a597f8b3898: gpg: Fix armor parsing when no CRC is found. (authored by gniibe).
gpg: Fix armor parsing when no CRC is found.
Feb 25 2026, 3:57 AM
gniibe committed rG869cc5027c72: gpg: Fix armored input parsing. (authored by gniibe).
gpg: Fix armored input parsing.
Feb 25 2026, 3:57 AM
gniibe committed rG3c728ccd54df: gpg: Fix handling with no CRC armor. (authored by gniibe).
gpg: Fix handling with no CRC armor.
Feb 25 2026, 3:57 AM
gniibe added a comment to T8045: Stack-based buffer overflow in TPM2 `PKDECRYPT`.

Also applied to 2.4 branch.

Feb 25 2026, 3:56 AM · gnupg26, CVE, TPM, Bug Report
gniibe added a comment to T7071: gpg: Support of No CRC in ASCII armor.

Also applied to 2.4 branch.

Feb 25 2026, 3:56 AM · gnupg, Bug Report