Page MenuHome GnuPG
Feed Advanced Search

May 5 2025

werner added a comment to T7620: gpgme_get_key fails to detect secret encryption subkey after key generation on card (until context is recreated).

I doubt that this is a gpgme problem. With a gpgme log we will be able see the exact commands send to gpg and replicate this on the command line.

May 5 2025, 5:45 PM · gnupg, Bug Report
ikloecker moved T7627: gpgme(qt) testsuite error on 32bit archs with 64bit time_t from Backlog to QA for next release on the gpgme board.
May 5 2025, 5:42 PM · gpgme, Bug Report
ikloecker closed T7627: gpgme(qt) testsuite error on 32bit archs with 64bit time_t as Resolved.

Should be fixed.

May 5 2025, 5:41 PM · gpgme, Bug Report
ikloecker added a comment to T7627: gpgme(qt) testsuite error on 32bit archs with 64bit time_t.

For gpgme 2 we changed the data types of the time fields to unsigned: rMf2d40473b522e348d96a70c089d2191d0b978098 . Since this change breaks the ABI we use the above change for the 1.24 branch.

May 5 2025, 5:41 PM · gpgme, Bug Report
werner triaged T7627: gpgme(qt) testsuite error on 32bit archs with 64bit time_t as Normal priority.
May 5 2025, 4:41 PM · gpgme, Bug Report
werner added a comment to T7628: gpg uses "month" as a synonym for 30 days.

And the US administration might even change the definition of a year to, say, 100 months so that potus can rightfully keep his promise that there won't be more election in the foreseeable future ;-)

May 5 2025, 4:27 PM · gnupg, Bug Report
ikloecker added a comment to T7628: gpg uses "month" as a synonym for 30 days.

By the way, "years" is also "incorrect" once in ~4 years because it uses n*365 days. Werner's advice still applies. Enter an ISO date if you want an exact date. Or use a UI tool like Kleopatra.

May 5 2025, 3:31 PM · gnupg, Bug Report
svuorela added a comment to T7627: gpgme(qt) testsuite error on 32bit archs with 64bit time_t.

tested @ikloecker's patch succesful on amdahl.

May 5 2025, 3:20 PM · gpgme, Bug Report
ikloecker added a comment to T7627: gpgme(qt) testsuite error on 32bit archs with 64bit time_t.

The following patch for gpgme 1.24 should fix the test.

diff --git a/lang/cpp/src/key.cpp b/lang/cpp/src/key.cpp
index 42046aa..2b14d90 100644
--- a/src/key.cpp
+++ b/src/key.cpp
@@ -633,7 +633,7 @@ time_t Subkey::creationTime() const
May 5 2025, 3:15 PM · gpgme, Bug Report
svuorela added a comment to T7627: gpgme(qt) testsuite error on 32bit archs with 64bit time_t.

I did a local change (on amdahl.d.o) changing _gpgme_subkey.expires to long long (ABI-break) and all tests succeeded.

May 5 2025, 12:44 PM · gpgme, Bug Report
svuorela added a comment to T7627: gpgme(qt) testsuite error on 32bit archs with 64bit time_t.

It looks like the entirety of gpgme timestamping was missed when the 64bit time transition happened in Debian and Ubuntu.

May 5 2025, 12:43 PM · gpgme, Bug Report
ikloecker edited projects for T7627: gpgme(qt) testsuite error on 32bit archs with 64bit time_t, added: gpgme; removed gpgmeqt, qt.

This looks like a problem in gpgme. struct _gpgme_subkey stores the expiration date as long int expires which is a signed 32-bit value on all 32-bit architectures. gpgmepp casts this to time_t, but that doesn't help if the 32-bit value is already negative. The same problem exists with all other timestamps in gpgme (i.e. key creation date, signature expiration date, etc.).

May 5 2025, 12:14 PM · gpgme, Bug Report
werner triaged T7631: Building libassuan on AIX warns about missing function declarations. as Normal priority.

But the function works and returns the peer's credentials?

May 5 2025, 11:13 AM · AIX, libassuan, Bug Report
werner triaged T7633: libgcrypt fails to build on NetBSD due to the systems bswap32 macro defintion. as High priority.
May 5 2025, 11:12 AM · NetBSD, libgcrypt, Bug Report
werner triaged T7632: gnupg test suite fails to build on AIX. as High priority.
May 5 2025, 11:12 AM · AIX, gnupg, Bug Report
werner triaged T7634: libgcrypt's test t-thread-local fails to link on some platforms. as High priority.
May 5 2025, 11:11 AM · NetBSD, libgcrypt, Bug Report
werner triaged T7638: gpg on Solaris does not print a signal description as Low priority.

The main problem here was that this all is not async-safe and thus I once implemented only the standard cases I could test easily.

May 5 2025, 11:11 AM · Solaris, gnupg, Bug Report
ikloecker added a comment to T7620: gpgme_get_key fails to detect secret encryption subkey after key generation on card (until context is recreated).

The logs of gpgme would be helpful, i.e. run your test program with GPGME_DEBUG=8:$(pwd)/gpgme-$(date +"%Y-%m-%d-%H%M%S").log to create a log file with gpgme's logs.

May 5 2025, 11:07 AM · gnupg, Bug Report
werner changed the status of T7583: 2.5.5 removes sig on clean that 2.5.4 and earlier kept from Open to Testing.
May 5 2025, 9:12 AM · gnupg, Bug Report

May 4 2025

collinfunk created T7638: gpg on Solaris does not print a signal description.
May 4 2025, 8:43 PM · Solaris, gnupg, Bug Report

May 2 2025

werner added a comment to T7583: 2.5.5 removes sig on clean that 2.5.4 and earlier kept.

Yes, this is related to T7547. With my last fix for that I overlooked that we use PUBKEY_USAGE_CERT to internally request the primary key but that one is not set because in general USAGE_SIG means the same (except for some case in PGP7 mode).

May 2 2025, 11:03 AM · gnupg, Bug Report
werner added a project to T7589: Unable to export SSH keys for ED25519 keys generate on a SmartCard: ssh.
May 2 2025, 10:31 AM · gnupg, ssh, Bug Report
werner added a project to T7632: gnupg test suite fails to build on AIX.: AIX.
May 2 2025, 10:30 AM · AIX, gnupg, Bug Report
werner added a project to T7634: libgcrypt's test t-thread-local fails to link on some platforms.: NetBSD.
May 2 2025, 10:29 AM · NetBSD, libgcrypt, Bug Report
werner added a project to T7633: libgcrypt fails to build on NetBSD due to the systems bswap32 macro defintion.: NetBSD.
May 2 2025, 10:29 AM · NetBSD, libgcrypt, Bug Report
werner added a project to T7631: Building libassuan on AIX warns about missing function declarations.: AIX.
May 2 2025, 10:26 AM · AIX, libassuan, Bug Report
werner triaged T7629: gcc 15 warns about -Wunterminated-string-initialization in gnupg as Low priority.
May 2 2025, 10:26 AM · gnupg, Bug Report
collinfunk created T7634: libgcrypt's test t-thread-local fails to link on some platforms..
May 2 2025, 7:14 AM · NetBSD, libgcrypt, Bug Report
collinfunk created T7633: libgcrypt fails to build on NetBSD due to the systems bswap32 macro defintion..
May 2 2025, 7:02 AM · NetBSD, libgcrypt, Bug Report
collinfunk added a project to T7629: gcc 15 warns about -Wunterminated-string-initialization in gnupg: gnupg.
May 2 2025, 6:50 AM · gnupg, Bug Report
collinfunk added a project to T7632: gnupg test suite fails to build on AIX.: gnupg.
May 2 2025, 6:49 AM · AIX, gnupg, Bug Report
collinfunk added a project to T7631: Building libassuan on AIX warns about missing function declarations.: libassuan.
May 2 2025, 6:49 AM · AIX, libassuan, Bug Report

May 1 2025

collinfunk created T7632: gnupg test suite fails to build on AIX..
May 1 2025, 8:18 AM · AIX, gnupg, Bug Report
collinfunk added a comment to T7631: Building libassuan on AIX warns about missing function declarations..

Correction, the _ALL_SOURCE definition only applies if __cplusplus is defined... Strange platform...

May 1 2025, 6:12 AM · AIX, libassuan, Bug Report
collinfunk created T7631: Building libassuan on AIX warns about missing function declarations..
May 1 2025, 5:56 AM · AIX, libassuan, Bug Report

Apr 30 2025

collinfunk added a comment to T7617: libgcrypt: Add __nonstring__ attribute for data for GCC 15 or later.

I think you are correct.

Apr 30 2025, 6:05 AM · libgcrypt, Bug Report
collinfunk created T7629: gcc 15 warns about -Wunterminated-string-initialization in gnupg.
Apr 30 2025, 5:32 AM · gnupg, Bug Report

Apr 28 2025

ebo closed T6646: GpgOL: signature not displayed if mail is saved in the filesystem as Resolved.
Apr 28 2025, 9:26 AM · vsd33 (vsd-3.3.1), Restricted Project, Bug Report, gpgol
ebo moved T6646: GpgOL: signature not displayed if mail is saved in the filesystem from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Apr 28 2025, 9:26 AM · vsd33 (vsd-3.3.1), Restricted Project, Bug Report, gpgol
werner added a project to T7627: gpgme(qt) testsuite error on 32bit archs with 64bit time_t: gpgmeqt.
Apr 28 2025, 9:22 AM · gpgme, Bug Report

Apr 27 2025

werner edited projects for T7627: gpgme(qt) testsuite error on 32bit archs with 64bit time_t, added: qt; removed gpgme.

We won't apply any fixes to the cpp, QT, or Python language bindings in the 1.24 branch. The Qt branch has been factored out to the gpgmeqt project on request from the KDE folks. And yes, we should add projects (tags) for gpgmepp and gpgmeqt.

Apr 27 2025, 9:23 PM · gpgme, Bug Report
werner closed T7628: gpg uses "month" as a synonym for 30 days as Wontfix.

The report is correct but it does not make sense to fix it. If you want to use a concrete expiration date just enter the IS date at the prompt; use ? at the prompt for a short description.

Apr 27 2025, 9:19 PM · gnupg, Bug Report
ametzler1 created T7628: gpg uses "month" as a synonym for 30 days.
Apr 27 2025, 1:29 PM · gnupg, Bug Report

Apr 26 2025

ametzler1 created T7627: gpgme(qt) testsuite error on 32bit archs with 64bit time_t.
Apr 26 2025, 1:56 PM · gpgme, Bug Report

Apr 25 2025

ebo added a comment to T6646: GpgOL: signature not displayed if mail is saved in the filesystem.

Fixed:

Apr 25 2025, 3:10 PM · vsd33 (vsd-3.3.1), Restricted Project, Bug Report, gpgol
ebo moved T6646: GpgOL: signature not displayed if mail is saved in the filesystem from Backlog to QA on the vsd33 board.
Apr 25 2025, 1:54 PM · vsd33 (vsd-3.3.1), Restricted Project, Bug Report, gpgol
ebo reopened T6646: GpgOL: signature not displayed if mail is saved in the filesystem as "Testing".
Apr 25 2025, 1:54 PM · vsd33 (vsd-3.3.1), Restricted Project, Bug Report, gpgol

Apr 24 2025

werner triaged T7619: [yat2m] gpg-agent manpage formatting issues as Normal priority.

Thanks for the patch but I think it is better to fix this in yat2m. I created a new tag for bugs related to it.

Apr 24 2025, 10:11 AM · Documentation, yat2m, Bug Report

Apr 23 2025

werner closed T7622: `gpg --encrypt --default-recipient-self` emits wrong message about "signing" as Wontfix.

This is really a minor thing and and it is actually true if you also sign something.

Apr 23 2025, 8:58 AM · gnupg, Bug Report
gniibe changed the status of T7624: libksba: __non_string for GCC 15 or later, a subtask of T7617: libgcrypt: Add __nonstring__ attribute for data for GCC 15 or later, from Open to Testing.
Apr 23 2025, 3:21 AM · libgcrypt, Bug Report
gniibe changed the status of T7624: libksba: __non_string for GCC 15 or later from Open to Testing.
Apr 23 2025, 3:21 AM · libksba, Bug Report
gniibe triaged T7624: libksba: __non_string for GCC 15 or later as Normal priority.
Apr 23 2025, 3:18 AM · libksba, Bug Report
gniibe changed the status of T7621: libgpg-error: __non_string for GCC 15 or later, a subtask of T7617: libgcrypt: Add __nonstring__ attribute for data for GCC 15 or later, from Open to Testing.
Apr 23 2025, 3:17 AM · libgcrypt, Bug Report
gniibe changed the status of T7621: libgpg-error: __non_string for GCC 15 or later from Open to Testing.
Apr 23 2025, 3:17 AM · gpgrt, Bug Report
gniibe changed the status of T7617: libgcrypt: Add __nonstring__ attribute for data for GCC 15 or later from Open to Testing.
Apr 23 2025, 3:16 AM · libgcrypt, Bug Report
gniibe changed the status of T7623: gpgscm: Fix fixed-size characters (for portability, specifically for GCC 15 or later) from Open to Testing.
Apr 23 2025, 3:16 AM · gnupg, gpgrt, Bug Report
gniibe changed the status of T7623: gpgscm: Fix fixed-size characters (for portability, specifically for GCC 15 or later), a subtask of T7617: libgcrypt: Add __nonstring__ attribute for data for GCC 15 or later, from Open to Testing.
Apr 23 2025, 3:16 AM · libgcrypt, Bug Report

Apr 22 2025

ebo triaged T7609: GpgOL: Certificates imported from WKD are always shown as level 2 as Normal priority.
Apr 22 2025, 2:21 PM · gpd5x, Bug Report, kleopatra, gpgol
werner added projects to T7620: gpgme_get_key fails to detect secret encryption subkey after key generation on card (until context is recreated): gpgme, gnupg.
Apr 22 2025, 9:35 AM · gnupg, Bug Report
gniibe added a comment to T7623: gpgscm: Fix fixed-size characters (for portability, specifically for GCC 15 or later).

doc/HACKING says it's OK to use variadic arg macros (from C99 features).
If it's OK, this patch can fix the initialization (which silences GCC 15 warnings):

Apr 22 2025, 7:53 AM · gnupg, gpgrt, Bug Report
gniibe renamed T7623: gpgscm: Fix fixed-size characters (for portability, specifically for GCC 15 or later) from gpgscm: Don't use fixed size characters (for portability, specifically for GCC 15 or later) to gpgscm: Fix fixed-size characters (for portability, specifically for GCC 15 or later).
Apr 22 2025, 7:50 AM · gnupg, gpgrt, Bug Report
gniibe triaged T7623: gpgscm: Fix fixed-size characters (for portability, specifically for GCC 15 or later) as Normal priority.
Apr 22 2025, 4:06 AM · gnupg, gpgrt, Bug Report

Apr 21 2025

dkg created T7622: `gpg --encrypt --default-recipient-self` emits wrong message about "signing".
Apr 21 2025, 6:20 PM · gnupg, Bug Report
gniibe triaged T7621: libgpg-error: __non_string for GCC 15 or later as Normal priority.
Apr 21 2025, 4:43 AM · gpgrt, Bug Report
Saturneric created T7620: gpgme_get_key fails to detect secret encryption subkey after key generation on card (until context is recreated).
Apr 21 2025, 3:56 AM · gnupg, Bug Report

Apr 20 2025

ametzler1 created T7619: [yat2m] gpg-agent manpage formatting issues.
Apr 20 2025, 4:09 PM · Documentation, yat2m, Bug Report

Apr 19 2025

ametzler1 reopened T1421: GnuPG should verify --homedir option before creating a key as "Open".

Good morning,
I stumbled upon this when digging through old Debian bug reports against 1.4 and checking whether they still applied to 2.4. This one really still applies.

Apr 19 2025, 7:29 AM · Bug Report, gnupg

Apr 18 2025

gniibe added a comment to T7617: libgcrypt: Add __nonstring__ attribute for data for GCC 15 or later.

IIUC, it's GCC 8 which starts the support of __nonstring__ attribute.

Apr 18 2025, 4:26 AM · libgcrypt, Bug Report
gniibe set External Link to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117178 on T7617: libgcrypt: Add __nonstring__ attribute for data for GCC 15 or later.
Apr 18 2025, 4:25 AM · libgcrypt, Bug Report
gniibe claimed T7617: libgcrypt: Add __nonstring__ attribute for data for GCC 15 or later.
Apr 18 2025, 4:13 AM · libgcrypt, Bug Report
gniibe created T7617: libgcrypt: Add __nonstring__ attribute for data for GCC 15 or later.
Apr 18 2025, 4:12 AM · libgcrypt, Bug Report

Apr 17 2025

dkg added a project to T7611: WoT: adding a marginal trustsig reduces the validity of a downstream certificate: gnupg.
Apr 17 2025, 7:24 PM · Not A Bug, gnupg
ebo added a project to T7609: GpgOL: Certificates imported from WKD are always shown as level 2: gpd5x.
Apr 17 2025, 4:49 PM · gpd5x, Bug Report, kleopatra, gpgol
werner added projects to T7609: GpgOL: Certificates imported from WKD are always shown as level 2: kleopatra, Bug Report.
Apr 17 2025, 4:48 PM · gpd5x, Bug Report, kleopatra, gpgol
dkg updated the task description for T7611: WoT: adding a marginal trustsig reduces the validity of a downstream certificate.
Apr 17 2025, 3:16 PM · Not A Bug, gnupg
dkg updated the task description for T7611: WoT: adding a marginal trustsig reduces the validity of a downstream certificate.
Apr 17 2025, 3:15 PM · Not A Bug, gnupg
ebo edited projects for T7212: Problems with certificate colors / styles, added: gpd5x; removed Restricted Project.
Apr 17 2025, 10:49 AM · gpd5x, kleopatra, Bug Report
dkg created T7611: WoT: adding a marginal trustsig reduces the validity of a downstream certificate.
Apr 17 2025, 12:26 AM · Not A Bug, gnupg

Apr 15 2025

andreasstieger added a comment to T7605: [PATCH] mail-to-translators, gpg-authcode-sign.sh: convert legacy egrep.

POSIX specifies and requires grep -E, but only mentions egrep as old.

Apr 15 2025, 9:51 AM · gnupg, Bug Report
J.Schmitz created T7607: Bug 501820 Missing digital signature for GPGOL Outlook Add-in in GPG4Win 4.4.0.
Apr 15 2025, 9:24 AM · gpgol
werner triaged T7605: [PATCH] mail-to-translators, gpg-authcode-sign.sh: convert legacy egrep as Low priority.

Removing egrep from a Unix system will break all kind of stuff. I am not even sure whether old Unices support grep -E.

Apr 15 2025, 9:06 AM · gnupg, Bug Report

Apr 14 2025

andreasstieger updated the task description for T7605: [PATCH] mail-to-translators, gpg-authcode-sign.sh: convert legacy egrep.
Apr 14 2025, 9:23 PM · gnupg, Bug Report
andreasstieger created T7605: [PATCH] mail-to-translators, gpg-authcode-sign.sh: convert legacy egrep.
Apr 14 2025, 9:22 PM · gnupg, Bug Report
ebo added a project to T7596: GpgOL: Draft is not decrypted after cancelling decryption once: gpd5x.
Apr 14 2025, 4:52 PM · gpd5x, Bug Report, gpgol

Apr 12 2025

dkg added a comment to T7603: gpgv has unnecessary dependency on libassuan and NPth.

And, one more update, to fix win32 builds under --disable-npth. This is a roll-up patch that i think covers everything, you can disregard the earlier patches posted here.

Apr 12 2025, 2:41 AM · Debian, Feature Request, gpgv
dkg renamed T7603: gpgv has unnecessary dependency on libassuan and NPth from gpgv has unnecessary dependency on libassuan to gpgv has unnecessary dependency on libassuan and NPth.
Apr 12 2025, 12:36 AM · Debian, Feature Request, gpgv
dkg added a comment to T7603: gpgv has unnecessary dependency on libassuan and NPth.

Hm, we probably should avoid gpgv linking to npth as well, as that's also a sticking point in debian. This updated patch (also targeting the 2.4 branch) also has gpgv building against libcommon instead of libcommonpth, which appears to remove the dependency for me.

Apr 12 2025, 12:35 AM · Debian, Feature Request, gpgv

Apr 11 2025

dkg added a comment to T7603: gpgv has unnecessary dependency on libassuan and NPth.

This patch avoids the unnecessary libassuan linkage by creating a set of stub functions to handle the keydb formats while avoiding potential callouts to keyboxd:

Apr 11 2025, 11:08 PM · Debian, Feature Request, gpgv
dkg created T7603: gpgv has unnecessary dependency on libassuan and NPth.
Apr 11 2025, 11:05 PM · Debian, Feature Request, gpgv

Apr 10 2025

ebo closed T7532: Kleopatra fails to decrypt/extract archives located at very long file paths as Resolved.

Well, I could not reproduce this at any time but tested decryption with long file paths to be sure nothing broke and it worked fine.

Apr 10 2025, 12:25 PM · vsd33 (vsd-3.3.1), gpd5x, Bug Report, kleopatra

Apr 9 2025

werner changed the status of T7547: signatures from revoked or expired keys show up as missing keys, a subtask of T7527: Keyring/keybox denial of service, from Open to Testing.
Apr 9 2025, 1:54 PM · OpenPGP, gnupg, Bug Report
werner changed the status of T7547: signatures from revoked or expired keys show up as missing keys from Open to Testing.
Apr 9 2025, 1:54 PM · gnupg26, gnupg24, Bug Report
werner changed the status of T7544: Kleopatra (gnupg, gpgsm) hang on key-creation when x.509 certs are in keystore from Open to Testing.

There is no well defined pripority for the CRL DPs. The code enumarates the DP and tries one after the other until it founds one. If you use --ignore-http_dp http DPs are skipped and with --ignore-ldap-dp LDAP DPs are ignored.

Apr 9 2025, 1:50 PM · gnupg, kleopatra, Bug Report
werner triaged T7596: GpgOL: Draft is not decrypted after cancelling decryption once as Normal priority.
Apr 9 2025, 12:34 PM · gpd5x, Bug Report, gpgol
werner closed T7599: libgpg-error: API break in 1.52 as Resolved.

1.53 has been released this morning.

Apr 9 2025, 12:33 PM · Bug Report
wiz created T7599: libgpg-error: API break in 1.52.
Apr 9 2025, 11:56 AM · Bug Report

Apr 8 2025

dkg created T7598: Avoiding keyboxd by default.
Apr 8 2025, 8:00 PM · Not A Bug, gnupg24 (gnupg-2.4.5), keyboxd
werner moved T7478: _gpg_close_all_fds hangs on nwer Linux systems in a simple chroot w/o /proc/self/fd from Backlog to QA on the gpgrt board.
Apr 8 2025, 8:44 AM · Linux, gnupg, gpgrt, Bug Report

Apr 6 2025

ametzler1 added a comment to T7071: gpg: Support of No CRC in ASCII armor.

this marked as fixed in 2.4.7. However afaict only one of the two patches made it to STABLE-BRANCH-2-4, b1857a2836c9a91ef4e359ef7ba949b54c77219d did not.

Apr 6 2025, 6:33 PM · gnupg, Bug Report

Apr 3 2025

werner moved T7532: Kleopatra fails to decrypt/extract archives located at very long file paths from WiP to QA on the vsd33 board.
Apr 3 2025, 9:52 AM · vsd33 (vsd-3.3.1), gpd5x, Bug Report, kleopatra