Page MenuHome GnuPG

GentooUmbrella
ActivePublic

Recent Activity

Sat, Mar 23

werner closed T7003: 2.2 gpg-agent doesn't allow KEYINFO when restricted (was: gpgme-1.23.2 test failure (t-json)) as Resolved.
Sat, Mar 23, 1:29 PM · gpgagent, gnupg22, 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.

Sat, Mar 23, 12:24 PM · gpgagent, gnupg22, gpgme, Gentoo, Bug Report

Thu, Mar 21

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

Mon, Mar 18

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.
Mon, Mar 18, 4:24 PM · gpgagent, gnupg22, gpgme, Gentoo, Bug Report

Mon, Mar 4

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

Thank you!

Mon, Mar 4, 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).

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

Fri, Mar 1

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.

Fri, Mar 1, 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

Fri, Mar 1, 11:32 AM · gpgagent, gnupg22, 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.
Fri, Mar 1, 6:09 AM · gpgagent, gnupg22, 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.

Fri, Mar 1, 6:08 AM · gpgagent, gnupg22, 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.

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

Thu, Feb 29

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 :)

Thu, Feb 29, 7:40 AM · gpgagent, gnupg22, 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)).
Thu, Feb 29, 7:34 AM · gpgagent, gnupg22, 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.
Thu, Feb 29, 7:33 AM · gpgagent, gnupg22, 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.

Thu, Feb 29, 5:48 AM · gpgagent, gnupg22, 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).

Thu, Feb 29, 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.

Thu, Feb 29, 3:15 AM · gpgagent, gnupg22, gpgme, Gentoo, Bug Report

Wed, Feb 28

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.

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

Clarification from Dave:

Wed, Feb 28, 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.

Wed, Feb 28, 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.

Wed, Feb 28, 10:41 AM · gpgagent, gnupg22, 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 log-file /tmp/gpg-agent-logfile.log >> ./gpg-agent.conf
+	echo debug-all >> ./gpg-agent.conf
Wed, Feb 28, 7:24 AM · gpgagent, gnupg22, 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.

Wed, Feb 28, 7:18 AM · gpgagent, gnupg22, 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.
Wed, Feb 28, 4:40 AM · gpgagent, gnupg22, gpgme, Gentoo, Bug Report
gniibe added a project to T7022: libgcrypt-1.10.3 regression on hppa: libgcrypt.
Wed, Feb 28, 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.

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

Tue, Feb 27

thesamesam added a project to T7022: libgcrypt-1.10.3 regression on hppa: Gentoo.
Tue, Feb 27, 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 · gpgagent, gnupg22, 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 · gpgagent, gnupg22, 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, 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, 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, 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, Gentoo, Bug Report

Jul 4 2023

thesamesam created T6579: gnupg-2.4.3 build failure.
Jul 4 2023, 7:45 PM · gnupg24, 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

Sep 9 2022

thesamesam closed T6193: Build failure with Clang 15 (pinentry-curses.c, error: call to undeclared function 'addnwstr' ...) as Invalid.

Thanks for your help @gniibe and apologies for wasting your time. It looks like this is an issue with ncurses on musl systems and I'll pursue it there. I have a patch to their configure which works & fixes building pinentry.

Sep 9 2022, 3:21 AM · clang, Gentoo, pinentry, Bug Report
thesamesam added a comment to T6193: Build failure with Clang 15 (pinentry-curses.c, error: call to undeclared function 'addnwstr' ...).

I've reported it on bug-ncurses@ to get some insight: https://marc.info/?l=ncurses-bug&m=166268018624805&w=2.

Sep 9 2022, 1:43 AM · clang, Gentoo, pinentry, Bug Report
thesamesam added a comment to T6193: Build failure with Clang 15 (pinentry-curses.c, error: call to undeclared function 'addnwstr' ...).

Mysteriously, I get nothing:

$ pkg-config --cflags nurses
Sep 9 2022, 1:01 AM · clang, Gentoo, pinentry, Bug Report