Page MenuHome GnuPG

GentooUmbrella
ActivePublic

Recent Activity

Sep 25 2024

werner moved T6579: gnupg-2.4.3 build failure from Backlog to gnupg-2.4.4 on the gnupg24 board.
Sep 25 2024, 4:29 PM · gnupg24 (gnupg-2.4.4), Gentoo, Bug Report

Aug 13 2024

ebo moved T7003: 2.2 gpg-agent doesn't allow KEYINFO when restricted (was: gpgme-1.23.2 test failure (t-json)) from QA to gnupg-2.2.43 on the gnupg22 board.
Aug 13 2024, 10:41 AM · gnupg22 (gnupg-2.2.43), gpgagent, gpgme, Gentoo, Bug Report

Jun 21 2024

gniibe closed T7022: libgcrypt-1.10.3 regression on hppa as Resolved.
Jun 21 2024, 8:48 AM · libgcrypt, Gentoo, hppa, Bug Report

Mar 23 2024

werner closed T7003: 2.2 gpg-agent doesn't allow KEYINFO when restricted (was: gpgme-1.23.2 test failure (t-json)) as Resolved.
Mar 23 2024, 1:29 PM · gnupg22 (gnupg-2.2.43), gpgagent, gpgme, Gentoo, Bug Report
thesamesam added a comment to T7003: 2.2 gpg-agent doesn't allow KEYINFO when restricted (was: gpgme-1.23.2 test failure (t-json)).

Thanks, that patch works for me.

Mar 23 2024, 12:24 PM · gnupg22 (gnupg-2.2.43), gpgagent, gpgme, Gentoo, Bug Report

Mar 21 2024

bonki added a watcher for Gentoo: bonki.
Mar 21 2024, 2:46 AM

Mar 18 2024

werner moved T7003: 2.2 gpg-agent doesn't allow KEYINFO when restricted (was: gpgme-1.23.2 test failure (t-json)) from Backlog to QA on the gnupg22 board.
Mar 18 2024, 4:24 PM · gnupg22 (gnupg-2.2.43), gpgagent, gpgme, Gentoo, Bug Report

Mar 4 2024

thesamesam added a comment to T7022: libgcrypt-1.10.3 regression on hppa.

Thank you!

Mar 4 2024, 3:46 AM · libgcrypt, Gentoo, hppa, Bug Report
gniibe added a comment to T7022: libgcrypt-1.10.3 regression on hppa.

Applied to both (master and 1.10 branch).

Mar 4 2024, 1:11 AM · libgcrypt, Gentoo, hppa, Bug Report

Mar 1 2024

jukivili added a comment to T7022: libgcrypt-1.10.3 regression on hppa.

Looks good to me. __CLOBBER_CC is needed as PA-RISC has carry/borrow bits in status register for add/sub instructions.

Mar 1 2024, 8:02 PM · libgcrypt, Gentoo, hppa, Bug Report
werner added a comment to T7003: 2.2 gpg-agent doesn't allow KEYINFO when restricted (was: gpgme-1.23.2 test failure (t-json)).

In 2.4 we have rG1383aa475 which does

Mar 1 2024, 11:32 AM · gnupg22 (gnupg-2.2.43), gpgagent, gpgme, Gentoo, Bug Report
gniibe changed the status of T7003: 2.2 gpg-agent doesn't allow KEYINFO when restricted (was: gpgme-1.23.2 test failure (t-json)) from Open to Testing.
Mar 1 2024, 6:09 AM · gnupg22 (gnupg-2.2.43), gpgagent, gpgme, Gentoo, Bug Report
gniibe added a comment to T7003: 2.2 gpg-agent doesn't allow KEYINFO when restricted (was: gpgme-1.23.2 test failure (t-json)).

Pushed the change in: rGf50c543326c2: agent: Allow simple KEYINFO command when restricted.

Mar 1 2024, 6:08 AM · gnupg22 (gnupg-2.2.43), gpgagent, gpgme, Gentoo, Bug Report
gniibe changed the status of T7022: libgcrypt-1.10.3 regression on hppa from Open to Testing.

Since I don't like to introduce hppa specific workaround in a way like pragma (and I have no time to fix compiler itself), I tried to improve the ec-nist.c for hppa so that register pressure can be lower.
Here is my solution.

Mar 1 2024, 2:34 AM · libgcrypt, Gentoo, hppa, Bug Report

Feb 29 2024

thesamesam added a comment to T7003: 2.2 gpg-agent doesn't allow KEYINFO when restricted (was: gpgme-1.23.2 test failure (t-json)).

No, thank you both for the speedy responses :)

Feb 29 2024, 7:40 AM · gnupg22 (gnupg-2.2.43), gpgagent, gpgme, Gentoo, Bug Report
gniibe renamed T7003: 2.2 gpg-agent doesn't allow KEYINFO when restricted (was: gpgme-1.23.2 test failure (t-json)) from gpgme-1.23.2 test failure (t-json) to 2.2 gpg-agent doesn't allow KEYINFO when restricted (was: gpgme-1.23.2 test failure (t-json)).
Feb 29 2024, 7:34 AM · gnupg22 (gnupg-2.2.43), gpgagent, gpgme, Gentoo, Bug Report
gniibe triaged T7003: 2.2 gpg-agent doesn't allow KEYINFO when restricted (was: gpgme-1.23.2 test failure (t-json)) as High priority.
Feb 29 2024, 7:33 AM · gnupg22 (gnupg-2.2.43), gpgagent, gpgme, Gentoo, Bug Report
gniibe added projects to T7003: 2.2 gpg-agent doesn't allow KEYINFO when restricted (was: gpgme-1.23.2 test failure (t-json)): gnupg22, gpgagent.

Thanks a lot for your quick testing.
The commit rGff42ed0d69bb: gpg: Enhance agent_probe_secret_key to return bigger value. of GnuPG 2.2 introduced this bug.

Feb 29 2024, 5:48 AM · gnupg22 (gnupg-2.2.43), gpgagent, gpgme, Gentoo, Bug Report
gniibe added a comment to T7022: libgcrypt-1.10.3 regression on hppa.

Alternatively (more narrow workaround), when I add a line:

#pragma GCC optimize("O1")

before the function _gcry_mpi_ec_nist256_mod in mpi/ec-nist.c, it works for me on panama.debian.net (Debian porterbox for hppa).

Feb 29 2024, 5:27 AM · libgcrypt, Gentoo, hppa, Bug Report
thesamesam added a comment to T7003: 2.2 gpg-agent doesn't allow KEYINFO when restricted (was: gpgme-1.23.2 test failure (t-json)).

Ah, thanks Werner, I'll keep that in mind.

Feb 29 2024, 3:15 AM · gnupg22 (gnupg-2.2.43), gpgagent, gpgme, Gentoo, Bug Report

Feb 28 2024

jukivili added a comment to T7022: libgcrypt-1.10.3 regression on hppa.

No, hardware barrier is not needed here. Compiler barrier is used here to prevent optimization removing mask generation and usage in following constant-time code.

Feb 28 2024, 9:34 PM · libgcrypt, Gentoo, hppa, Bug Report
matoro added a comment to T7022: libgcrypt-1.10.3 regression on hppa.

Clarification from Dave:

Feb 28 2024, 7:32 PM · libgcrypt, Gentoo, hppa, Bug Report
matoro added a comment to T7022: libgcrypt-1.10.3 regression on hppa.

Thanks, I can confirm that this patch fixes the issue. I'll let Sam decide if this is how we want to handle it downstream or wait for confirmation from gcc.

Feb 28 2024, 4:37 PM · libgcrypt, Gentoo, hppa, Bug Report
werner added a comment to T7003: 2.2 gpg-agent doesn't allow KEYINFO when restricted (was: gpgme-1.23.2 test failure (t-json)).

Although I don't think this is the case here one should be aware that tests mail fail due to global configuration of GnuPG (/etc/gnupg/*.conf). There is no easy way so solve this except for running a per-test local installation of GnuPG using the gpgconf.ctl feature.

Feb 28 2024, 10:41 AM · gnupg22 (gnupg-2.2.43), gpgagent, gpgme, Gentoo, Bug Report
gniibe added a comment to T7003: 2.2 gpg-agent doesn't allow KEYINFO when restricted (was: gpgme-1.23.2 test failure (t-json)).

You can get more information by applying a patch below (and also tests/json/Makefile.in):

diff --git a/tests/json/Makefile.am b/tests/json/Makefile.am
index 90fba79e..7523bb6b 100644
--- a/tests/json/Makefile.am
+++ b/tests/json/Makefile.am
@@ -106,6 +106,8 @@ gpg-agent.conf:
 # a key from a smartcard reader (error might be: Unusable secret key)
 	echo pinentry-program $(abs_srcdir)/../gpg/pinentry > ./gpg-agent.conf
 	echo disable-scdaemon >> ./gpg-agent.conf
+	echo debug-all >> ./gpg-agent.conf
+	echo log-file /tmp/gpg-agent-logfile.log >> ./gpg-agent.conf
Feb 28 2024, 7:24 AM · gnupg22 (gnupg-2.2.43), gpgagent, gpgme, Gentoo, Bug Report
gniibe added a comment to T7003: 2.2 gpg-agent doesn't allow KEYINFO when restricted (was: gpgme-1.23.2 test failure (t-json)).

T4820 is not related (it's a failure of t-keylist-secret in t-json), while this is failure of t-decrypt.

Feb 28 2024, 7:18 AM · gnupg22 (gnupg-2.2.43), gpgagent, gpgme, Gentoo, Bug Report
thesamesam added a project to T7003: 2.2 gpg-agent doesn't allow KEYINFO when restricted (was: gpgme-1.23.2 test failure (t-json)): gpgme.
Feb 28 2024, 4:40 AM · gnupg22 (gnupg-2.2.43), gpgagent, gpgme, Gentoo, Bug Report
gniibe added a project to T7022: libgcrypt-1.10.3 regression on hppa: libgcrypt.
Feb 28 2024, 2:57 AM · libgcrypt, Gentoo, hppa, Bug Report
gniibe triaged T7022: libgcrypt-1.10.3 regression on hppa as Normal priority.

It looks like computation for NIST P-256 failed on hppa (32-bit big-endian, actually running on 64-bit machine, IIUC).
powerpc is similar (32-bit big-endian, actually running on 64-bit machine), but no failures.

Feb 28 2024, 2:47 AM · libgcrypt, Gentoo, hppa, Bug Report

Feb 27 2024

thesamesam added a project to T7022: libgcrypt-1.10.3 regression on hppa: Gentoo.
Feb 27 2024, 7:17 PM · libgcrypt, Gentoo, hppa, Bug Report

Feb 20 2024

thesamesam added a comment to T7003: 2.2 gpg-agent doesn't allow KEYINFO when restricted (was: gpgme-1.23.2 test failure (t-json)).

It seems to pass for me with gnupg-2.2.41 but fails with gnupg-2.2.42?

Feb 20 2024, 6:51 AM · gnupg22 (gnupg-2.2.43), gpgagent, gpgme, Gentoo, Bug Report
thesamesam created T7003: 2.2 gpg-agent doesn't allow KEYINFO when restricted (was: gpgme-1.23.2 test failure (t-json)).
Feb 20 2024, 6:41 AM · gnupg22 (gnupg-2.2.43), gpgagent, gpgme, Gentoo, Bug Report

Jan 26 2024

gniibe closed T6579: gnupg-2.4.3 build failure as Resolved.

Fixed in 2.4.4.

Jan 26 2024, 1:00 AM · gnupg24 (gnupg-2.4.4), Gentoo, Bug Report

Oct 28 2023

aheinecke triaged T6778: gpgme-1.23.1 tests fail with gnupg configured without tofu as Normal priority.

There should not be an exception "Invalid crypto engine" in that call. I expect that gnupg errors out immediately if the parameter with tofu is given while instead it should print a warning and show no information. Or of it errors then Invalid Crypto Engine is definitely the wrong error for that.

Oct 28 2023, 8:58 AM · gpgme, Gentoo, Bug Report
thesamesam added a comment to T6778: gpgme-1.23.1 tests fail with gnupg configured without tofu.

I did this locally:

--- a/lang/python/tests/support.py
+++ b/lang/python/tests/support.py
@@ -46,13 +46,15 @@ def is_gpg_version(version):
Oct 28 2023, 5:19 AM · gpgme, Gentoo, Bug Report
thesamesam created T6778: gpgme-1.23.1 tests fail with gnupg configured without tofu.
Oct 28 2023, 5:06 AM · gpgme, Gentoo, Bug Report

Aug 23 2023

ikloecker renamed T6673: gpgme-1.22.0 fails to compile tests (when building in source tree) from gpgme-1.22.0 fails to compile tests to gpgme-1.22.0 fails to compile tests (when building in source tree).
Aug 23 2023, 10:09 AM · gpgme, Bug Report
werner triaged T6673: gpgme-1.22.0 fails to compile tests (when building in source tree) as Normal priority.
Aug 23 2023, 10:00 AM · gpgme, Bug Report

Aug 21 2023

thesamesam added a comment to T6673: gpgme-1.22.0 fails to compile tests (when building in source tree).

I'll swap us over to out of source build for this as well. I've been doing it gradually for the gpg suite. Thanks.

Aug 21 2023, 9:23 PM · gpgme, Bug Report
ikloecker added a comment to T6673: gpgme-1.22.0 fails to compile tests (when building in source tree).

The following patch fixes this (for me):

diff --git a/lang/qt/tests/Makefile.am b/lang/qt/tests/Makefile.am
index 32ad6466..aedd3264 100644
--- a/lang/qt/tests/Makefile.am
+++ b/lang/qt/tests/Makefile.am
@@ -51,10 +51,10 @@ LDADD = ../../cpp/src/libgpgmepp.la ../src/libqgpgme.la \
         ../../../src/libgpgme.la @GPGME_QT5_LIBS@ @GPG_ERROR_LIBS@ \
         @GPGME_QT5TEST_LIBS@ @LDADD_FOR_TESTS_KLUDGE@ -lstdc++
Aug 21 2023, 9:19 PM · gpgme, Bug Report
ikloecker added a comment to T6673: gpgme-1.22.0 fails to compile tests (when building in source tree).

This happens because you build in the source directory and therefore the wrong debug.h is found. While this should work in general we strongly suggest to use a separate build directory.

Aug 21 2023, 9:01 PM · gpgme, Bug Report
thesamesam added a comment to T6673: gpgme-1.22.0 fails to compile tests (when building in source tree).

Aug 21 2023, 8:30 PM · gpgme, Bug Report
thesamesam created T6673: gpgme-1.22.0 fails to compile tests (when building in source tree).
Aug 21 2023, 8:29 PM · gpgme, Bug Report

Jul 6 2023

thesamesam added a comment to T6579: gnupg-2.4.3 build failure.

Thanks. Wouldn't that require OpenLDAP on every system with gnupg?

Jul 6 2023, 1:58 AM · gnupg24 (gnupg-2.4.4), Gentoo, Bug Report

Jul 5 2023

werner added a comment to T6579: gnupg-2.4.3 build failure.

We should make building with LDAP mandatory.

Jul 5 2023, 10:14 AM · gnupg24 (gnupg-2.4.4), Gentoo, Bug Report
gniibe changed the status of T6579: gnupg-2.4.3 build failure from Open to Testing.

Thank you for your report.

Jul 5 2023, 4:33 AM · gnupg24 (gnupg-2.4.4), Gentoo, Bug Report

Jul 4 2023

thesamesam created T6579: gnupg-2.4.3 build failure.
Jul 4 2023, 7:45 PM · gnupg24 (gnupg-2.4.4), Gentoo, Bug Report

Apr 13 2023

gniibe closed T5976: libgcrypt build failure on HPPA 1.1 (./.libs/libgcrypt.so: undefined reference to `__udiv_qrnnd') as Resolved.

Fixed in 1.10.2.

Apr 13 2023, 3:46 AM · backport, hppa, libgcrypt, Gentoo, Bug Report

Oct 8 2022

hamarituc added a watcher for Gentoo: hamarituc.
Oct 8 2022, 8:20 PM

Sep 22 2022

werner changed the status of T5976: libgcrypt build failure on HPPA 1.1 (./.libs/libgcrypt.so: undefined reference to `__udiv_qrnnd') from Open to Testing.
Sep 22 2022, 11:00 AM · backport, hppa, libgcrypt, Gentoo, Bug Report