Page MenuHome GnuPG
Feed Advanced Search

Jun 12 2024

ikloecker moved T7152: gpgme: Support import options from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Jun 12 2024, 9:06 AM · gpgme (gpgme 1.24.x), Restricted Project
ikloecker triaged T7152: gpgme: Support import options as Normal priority.
Jun 12 2024, 9:06 AM · gpgme (gpgme 1.24.x), Restricted Project

Jun 11 2024

ikloecker added a comment to T7110: Distribute the GpgME bindings separately from GpgME.

gpgme and the C++, Qt 5 and Python bindings can be configured, built and installed with the following commands:

./autogen-all.sh  # runs autogen.sh for gpgme, lang/cpp, lang/qt and lang/python
mkdir build
cd build
../configure --prefix=/opt/gnupg/2.4 --enable-maintainer-mode --enable-languages="cpp qt python" --enable-qt-version=5
make
make check
make install

i.e. the only difference is that one needs to run ./autogen-all.sh instead of ./autogen.sh. And that one needs to enable the bindings and specify the Qt version. (By default, the Qt 6 are built if Qt 6 is found.)

Jun 11 2024, 3:48 PM · gpgme, Restricted Project
ikloecker updated subscribers of T7110: Distribute the GpgME bindings separately from GpgME.
Jun 11 2024, 3:41 PM · gpgme, Restricted Project
ikloecker added a comment to T7110: Distribute the GpgME bindings separately from GpgME.

The current proposal has been pushed to the branch ikloecker/t7110-nested-bindings-packages.

Jun 11 2024, 3:41 PM · gpgme, Restricted Project

Jun 10 2024

ebo moved T7036: gpgme: gpgme_op_receive_keys does not return an error if keyserver lookup is disabled from WiP to QA on the vsd33 board.
Jun 10 2024, 9:23 AM · vsd33 (vsd-3.3.0), Restricted Project, gpgme

Jun 7 2024

ikloecker moved T7141: gpgme does not handle backslashes in file names correctly. from Backlog to WiP on the vsd33 board.
Jun 7 2024, 3:19 PM · vsd33 (vsd-3.3.0), vsd32 (vsd-3.2.3), gpgme, Restricted Project, kleopatra
ikloecker added a project to T7141: gpgme does not handle backslashes in file names correctly.: vsd33.

Adding vsd33 for testing with next VSD

Jun 7 2024, 3:19 PM · vsd33 (vsd-3.3.0), vsd32 (vsd-3.2.3), gpgme, Restricted Project, kleopatra
ikloecker changed the status of T7141: gpgme does not handle backslashes in file names correctly. from Open to Testing.
Jun 7 2024, 3:18 PM · vsd33 (vsd-3.3.0), vsd32 (vsd-3.2.3), gpgme, Restricted Project, kleopatra
ikloecker changed the status of T7141: gpgme does not handle backslashes in file names correctly., a subtask of T6550: GpgME / QGpgME Extend non-archive jobs to accept input / output from a filename, from Open to Testing.
Jun 7 2024, 3:18 PM · gpgme, Restricted Project, kleopatra
ikloecker changed the status of T6880: GPGME (++/qt): Add support for --quick-add-adsk from Open to Testing.

This can be tested with T6879: Kleopatra: Add support for adding an ADSK.

Jun 7 2024, 2:48 PM · gpgme, vsd33, Restricted Project
ikloecker added a revision to T6880: GPGME (++/qt): Add support for --quick-add-adsk: D570: core: Implement adding ADSKs.
Jun 7 2024, 2:44 PM · gpgme, vsd33, Restricted Project

Jun 4 2024

ebo updated the task description for T7141: gpgme does not handle backslashes in file names correctly..
Jun 4 2024, 3:15 PM · vsd33 (vsd-3.3.0), vsd32 (vsd-3.2.3), gpgme, Restricted Project, kleopatra
werner updated the task description for T7141: gpgme does not handle backslashes in file names correctly..
Jun 4 2024, 2:39 PM · vsd33 (vsd-3.3.0), vsd32 (vsd-3.2.3), gpgme, Restricted Project, kleopatra
werner triaged T7141: gpgme does not handle backslashes in file names correctly. as Normal priority.
Jun 4 2024, 2:37 PM · vsd33 (vsd-3.3.0), vsd32 (vsd-3.2.3), gpgme, Restricted Project, kleopatra
ikloecker removed a parent task for T6880: GPGME (++/qt): Add support for --quick-add-adsk: T6882: Make ADSK configurable for new keys.
Jun 4 2024, 1:40 PM · gpgme, vsd33, Restricted Project

Jun 3 2024

gniibe claimed T6818: GPGME: Finding gpgme-w32-spawn.exe should be optional.

In future, when spawn function API is used by libassuan (and stable), we can support gpgme with no gpgme-w32-spawn.exe.
(And it will be simpler, just using native functions in libassuan, instead of replacing ones by assuan_system_hooks.)

Jun 3 2024, 10:29 AM · Windows, gpgme

May 27 2024

ikloecker moved T7118: gpgme: Add support for designated revokers from Restricted Project Column to Restricted Project Column on the Restricted Project board.
May 27 2024, 9:56 AM · gpgme, Restricted Project, kleopatra
ikloecker closed T7118: gpgme: Add support for designated revokers as Resolved.

Information about revocation keys can now be retrieved from a Key object. Verified with internal test runners. Independent tests will be done with T7095.

May 27 2024, 9:55 AM · gpgme, Restricted Project, kleopatra

May 21 2024

lazka added a comment to T6369: gpgme: add a faster variant of gpgme_get_key().

great, thanks!

May 21 2024, 7:47 PM · gpgme, Feature Request
werner moved T6369: gpgme: add a faster variant of gpgme_get_key() from Backlog to QA for next release on the gpgme board.
May 21 2024, 11:08 AM · gpgme, Feature Request

May 20 2024

lazka added a comment to T6369: gpgme: add a faster variant of gpgme_get_key().

With caching, did you have something like this in mind?

May 20 2024, 2:02 PM · gpgme, Feature Request

May 18 2024

werner added a comment to T6634: Port GPGME to Windows 64-bit.

Actually we are using gpgme already for 64 bit Windows; but statically linked.

May 18 2024, 11:28 PM · Windows 64, gpgme

May 17 2024

ikloecker added a comment to T7036: gpgme: gpgme_op_receive_keys does not return an error if keyserver lookup is disabled.
In T7036#186290, @ebo wrote:

Tested with VS-Desktop-3.2.93.391-Beta:

May 17 2024, 3:49 PM · vsd33 (vsd-3.3.0), Restricted Project, gpgme
ebo added a comment to T7036: gpgme: gpgme_op_receive_keys does not return an error if keyserver lookup is disabled.

Tested with VS-Desktop-3.2.93.391-Beta:

May 17 2024, 2:55 PM · vsd33 (vsd-3.3.0), Restricted Project, gpgme
gniibe removed a subtask for T7125: GPGME spawn for Windows 64-bit: T7126: GPGME deprecate/remove support of gpgme-glib for Windows.
May 17 2024, 8:58 AM · Windows 64, gpgme
gniibe added a subtask for T6634: Port GPGME to Windows 64-bit: T7126: GPGME deprecate/remove support of gpgme-glib for Windows.
May 17 2024, 8:58 AM · Windows 64, gpgme
gniibe edited parent tasks for T7126: GPGME deprecate/remove support of gpgme-glib for Windows, added: T6634: Port GPGME to Windows 64-bit; removed: T7125: GPGME spawn for Windows 64-bit.
May 17 2024, 8:58 AM · Windows 64, gpgme
gniibe triaged T7127: GPGME deprecate/remove the helper gpgme-w32spawn program as Normal priority.
May 17 2024, 8:56 AM · Windows 64, gpgme
gniibe renamed T7126: GPGME deprecate/remove support of gpgme-glib for Windows from GPGME deprecate/remove support of glib to GPGME deprecate/remove support of gpgme-glib for Windows.
May 17 2024, 8:27 AM · Windows 64, gpgme
gniibe triaged T7126: GPGME deprecate/remove support of gpgme-glib for Windows as Normal priority.
May 17 2024, 8:26 AM · Windows 64, gpgme
gniibe triaged T7125: GPGME spawn for Windows 64-bit as Normal priority.
May 17 2024, 8:25 AM · Windows 64, gpgme

May 16 2024

ikloecker added a parent task for T6688: Kleopatra GPGME: Reported assert on exit: T7045: Kleopatra: Use "SCD DEVINFO --watch" also on Windows.
May 16 2024, 10:57 AM · gpgme, kleopatra, Restricted Project
ikloecker added a comment to T6688: Kleopatra GPGME: Reported assert on exit.

Hopefully fixed by disabling the DeviceInfoWatcher on Windows again.

May 16 2024, 10:34 AM · gpgme, kleopatra, Restricted Project
ikloecker changed the status of T6688: Kleopatra GPGME: Reported assert on exit from Open to Testing.
May 16 2024, 10:33 AM · gpgme, kleopatra, Restricted Project
ikloecker claimed T6688: Kleopatra GPGME: Reported assert on exit.
May 16 2024, 10:33 AM · gpgme, kleopatra, Restricted Project

May 10 2024

qyliss added a comment to D600: posix: don't use LFS64 types in struct linux_dirent64.

Ah, I see what's up with the man page. It's documenting the Glibc getdents64() wrapper interface, so that's why it uses the Glibc types. But gpgme isn't using that wrapper, it's doing the syscall directly, so it should use the types the kernel uses, which as you've noticed are just generic unsigned and signed 64-bit integers, matching what my patch does.

May 10 2024, 10:48 AM · gpgme

May 8 2024

ikloecker added a comment to D600: posix: don't use LFS64 types in struct linux_dirent64.

/include/linux/dirent.h defines

struct linux_dirent64 {
	u64		d_ino;
	s64		d_off;
	unsigned short	d_reclen;
	unsigned char	d_type;
	char		d_name[];
};
May 8 2024, 3:35 PM · gpgme
qyliss added a comment to D600: posix: don't use LFS64 types in struct linux_dirent64.

$ man getdents64

getdents64()
    The  original  Linux getdents() system call did not handle large filesystems and large file offsets.  Consequently, Linux 2.4
    added getdents64(), with wider types for the d_ino and d_off fields.  In addition, getdents64() supports an  explicit  d_type
    field.

    The  getdents64()  system call is like getdents(), except that its second argument is a pointer to a buffer containing struc‐
    tures of the following type:

        struct linux_dirent64 {
            ino64_t        d_ino;    /* 64-bit inode number */
            off64_t        d_off;    /* 64-bit offset to next structure */
            unsigned short d_reclen; /* Size of this dirent */
            unsigned char  d_type;   /* File type */
            char           d_name[]; /* Filename (null-terminated) */
        };
May 8 2024, 1:19 PM · gpgme
ikloecker added a revision to T6880: GPGME (++/qt): Add support for --quick-add-adsk: D572: cpp,qt: Implement adding ADSKs.
May 8 2024, 10:14 AM · gpgme, vsd33, Restricted Project
ikloecker added a comment to D600: posix: don't use LFS64 types in struct linux_dirent64.

$ man getdents64

getdents64()
    The  original  Linux getdents() system call did not handle large filesystems and large file offsets.  Consequently, Linux 2.4
    added getdents64(), with wider types for the d_ino and d_off fields.  In addition, getdents64() supports an  explicit  d_type
    field.
May 8 2024, 10:01 AM · gpgme
qyliss added a comment to D600: posix: don't use LFS64 types in struct linux_dirent64.
In D600#6445, @gniibe wrote:

If it is intentional change by musl (requiring some changes by an application), we can use __ino64_t_defined and __off64_t_defined macro to see if those types are defined or not.

May 8 2024, 9:45 AM · gpgme
gniibe closed T6466: gpgme python example code contains insecure code pattern / chmod permission race condition as Resolved.

Fixed in gpgme 1.21.0.

May 8 2024, 8:37 AM · Python, Documentation, gpgme
gniibe added a comment to D600: posix: don't use LFS64 types in struct linux_dirent64.

If it is intentional change by musl (requiring some changes by an application), we can use __ino64_t_defined and __off64_t_defined macro to see if those types are defined or not.

May 8 2024, 7:46 AM · gpgme

May 7 2024

ikloecker moved T7036: gpgme: gpgme_op_receive_keys does not return an error if keyserver lookup is disabled from Backlog to WiP on the vsd33 board.
May 7 2024, 11:57 AM · vsd33 (vsd-3.3.0), Restricted Project, gpgme
ikloecker moved T6351: Kleopatra: Performance problems when encrypting large files from Backlog to WiP on the vsd33 board.
May 7 2024, 10:40 AM · vsd33, Restricted Project, kleopatra
ikloecker added a project to T6351: Kleopatra: Performance problems when encrypting large files: vsd33.
May 7 2024, 10:40 AM · vsd33, Restricted Project, kleopatra

May 6 2024

ballapete added a comment to T7056: GPGme 1.23.2 has Undefined symbols: "strcasecmp(char const*, char const*)" on Mac OS X 10.4.11, PPC Tiger.

Meanwhile version 1.32.2 builds. Greatest change is Python 3.12 instead of 3.11…

May 6 2024, 11:29 PM · gpgme, MacOS, Bug Report
qyliss added a comment to D600: posix: don't use LFS64 types in struct linux_dirent64.

off64_t mat not the same as int64_t

May 6 2024, 3:42 PM · gpgme
werner added a comment to D600: posix: don't use LFS64 types in struct linux_dirent64.

Breaks them how?

May 6 2024, 3:17 PM · gpgme
qyliss added a comment to D600: posix: don't use LFS64 types in struct linux_dirent64.
In D600#6438, @werner wrote:

This breaks existing 32 bit systems with the 64 bit types.

May 6 2024, 10:37 AM · gpgme
werner requested changes to D600: posix: don't use LFS64 types in struct linux_dirent64.

This breaks existing 32 bit systems with the 64 bit types. Thus a test for off64_t is required which redefines it to int64_t if it does not exist.

May 6 2024, 9:52 AM · gpgme
ikloecker claimed T7110: Distribute the GpgME bindings separately from GpgME.
May 6 2024, 9:45 AM · gpgme, Restricted Project
ikloecker triaged T7110: Distribute the GpgME bindings separately from GpgME as Normal priority.
May 6 2024, 9:44 AM · gpgme, Restricted Project

May 3 2024

qyliss requested review of D600: posix: don't use LFS64 types in struct linux_dirent64.
May 3 2024, 1:46 PM · gpgme

Apr 30 2024

werner removed a project from T7089: Kleopatra: show "disabled" status: vsd33.
Apr 30 2024, 3:01 PM · vsd33, Feature Request, kleopatra, Restricted Project
werner moved T6880: GPGME (++/qt): Add support for --quick-add-adsk from WiP to Backlog on the vsd33 board.
Apr 30 2024, 2:47 PM · gpgme, vsd33, Restricted Project
ebo removed a project from T6876: GPGME(++) Add "include-key-block" and "auto-key-import" to context flags: vsd33.
Apr 30 2024, 11:27 AM · Restricted Project, gpgme

Apr 29 2024

ballapete added a comment to T7056: GPGme 1.23.2 has Undefined symbols: "strcasecmp(char const*, char const*)" on Mac OS X 10.4.11, PPC Tiger.

Sorry, I meant they do *not* arrive at the web interface, they are not visible to me.

Apr 29 2024, 10:09 PM · gpgme, MacOS, Bug Report
ballapete added a comment to T7056: GPGme 1.23.2 has Undefined symbols: "strcasecmp(char const*, char const*)" on Mac OS X 10.4.11, PPC Tiger.

It seems my eMails to gnupg-devel@gnupg.org do reach the list …

Apr 29 2024, 10:06 PM · gpgme, MacOS, Bug Report

Apr 17 2024

alexk updated the task description for T7089: Kleopatra: show "disabled" status.
Apr 17 2024, 1:36 PM · vsd33, Feature Request, kleopatra, Restricted Project
alexk added a comment to T7089: Kleopatra: show "disabled" status.

Of course, it should be possible to toggle "disabled" in Kleopatra.
A (context) menu entry "disable certificate" (or "enable certificate") should be sufficient.

Apr 17 2024, 1:33 PM · vsd33, Feature Request, kleopatra, Restricted Project
werner added projects to T7089: Kleopatra: show "disabled" status: gpgme, Feature Request.
Apr 17 2024, 1:01 PM · vsd33, Feature Request, kleopatra, Restricted Project

Apr 16 2024

aheinecke added a comment to T6688: Kleopatra GPGME: Reported assert on exit.

This is the full GPGME log from how I can reproduce this now on windows with a KF6 build. If I repeat it the last lines look similar before the assert.

Apr 16 2024, 3:19 PM · gpgme, kleopatra, Restricted Project

Apr 11 2024

werner lowered the priority of T7084: gpgme sometimes keeps on polling from Normal to Low.
Apr 11 2024, 4:22 PM · gpgme
werner closed T6575: gpgtar: General Error is emitted instead of more specific error codes as Resolved.
Apr 11 2024, 4:21 PM · gpgme (gpgme 1.23.x), vsd32 (vsd-3.2.0), Restricted Project
werner triaged T7084: gpgme sometimes keeps on polling as Normal priority.
Apr 11 2024, 4:20 PM · gpgme

Apr 5 2024

ikloecker reopened T6971: Kleopatra: "General Error" is given instead of "Wrong PIN" as "Testing".

Oops. I closed the task accidentally.

Apr 5 2024, 10:54 PM · vsd33, gpgme, kleopatra, Restricted Project
ikloecker closed T6971: Kleopatra: "General Error" is given instead of "Wrong PIN" as Resolved.

Fixed (for GnuPG 2.4). I hope 2.2 prints the same status messages.

Apr 5 2024, 3:10 PM · vsd33, gpgme, kleopatra, Restricted Project
ebo added a comment to T6971: Kleopatra: "General Error" is given instead of "Wrong PIN".

The General Error happens also when the PIN is blocked and no Pinentry opens.
As in this case, where the indicated "Generate New Keys" button was used on a blocked card.

Apr 5 2024, 2:29 PM · vsd33, gpgme, kleopatra, Restricted Project
ikloecker claimed T6971: Kleopatra: "General Error" is given instead of "Wrong PIN".
Apr 5 2024, 2:12 PM · vsd33, gpgme, kleopatra, Restricted Project

Mar 28 2024

ballapete added a comment to T7056: GPGme 1.23.2 has Undefined symbols: "strcasecmp(char const*, char const*)" on Mac OS X 10.4.11, PPC Tiger.

Trying to reach Ralph Seichter via the eMail address he is using failed – Osterferien?

Mar 28 2024, 12:41 PM · gpgme, MacOS, Bug Report
ebo added a project to T7036: gpgme: gpgme_op_receive_keys does not return an error if keyserver lookup is disabled: vsd33.
Mar 28 2024, 10:24 AM · vsd33 (vsd-3.3.0), Restricted Project, gpgme

Mar 25 2024

werner triaged T7056: GPGme 1.23.2 has Undefined symbols: "strcasecmp(char const*, char const*)" on Mac OS X 10.4.11, PPC Tiger as Normal priority.

strcasecmp is pretty standard on Unix. However, in GnuPG we test for it and mostly use our own ascii_strcasecmp to avoid fun with locales. Ralph Seichter is providing macOS builds for GnuPG (https://sourceforge.net/p/gpgosx/docu/Download/) . Maybe it is worth to contact him via the gnugp-devel mailing list and ask him whether he has experience with your toochain.

Mar 25 2024, 1:27 PM · gpgme, MacOS, Bug Report
ballapete added a comment to T7056: GPGme 1.23.2 has Undefined symbols: "strcasecmp(char const*, char const*)" on Mac OS X 10.4.11, PPC Tiger.

By adding "-Wl,-t" to the arguments g++ reported:

Mar 25 2024, 10:35 AM · gpgme, MacOS, Bug Report
ballapete added a comment to T7056: GPGme 1.23.2 has Undefined symbols: "strcasecmp(char const*, char const*)" on Mac OS X 10.4.11, PPC Tiger.

Libtool invocation has "--tag=CXX --mode=link /opt/local/bin/g++-mp-7 -std=c++11 -pipe -Os -std=c++17 -D_GLIBCXX_USE_CXX11_ABI=0", but g++ then has no -lstdc++ – in C -lc is automatically used because there all C library functions can be taken from… (same for mathematical functions and -lm)

Mar 25 2024, 9:52 AM · gpgme, MacOS, Bug Report
ikloecker added a comment to T7056: GPGme 1.23.2 has Undefined symbols: "strcasecmp(char const*, char const*)" on Mac OS X 10.4.11, PPC Tiger.

It seems libtool fails to add the standard C and C++ libraries to the link command line. On Linux I have "[...] -lstdc++ -lm -lc [...]" in the libtool link command line. Looks like a bug in the tooling (macports or libtool).

Mar 25 2024, 9:12 AM · gpgme, MacOS, Bug Report

Mar 24 2024

werner edited projects for T7056: GPGme 1.23.2 has Undefined symbols: "strcasecmp(char const*, char const*)" on Mac OS X 10.4.11, PPC Tiger, added: gpgme; removed gpgme (gpgme 1.23.x).
Mar 24 2024, 7:10 PM · gpgme, MacOS, 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 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 15 2024

ikloecker merged T3321: Make it possible to combine GpgMEpp and QGpgme with MSVC compiled binaries into T6587: GpgME++ / QGpgME MSVC build.
Mar 15 2024, 5:45 PM · gpgme, Restricted Project
ikloecker merged task T3321: Make it possible to combine GpgMEpp and QGpgme with MSVC compiled binaries into T6587: GpgME++ / QGpgME MSVC build.
Mar 15 2024, 5:45 PM · Feature Request, gpgme
ikloecker updated subscribers of T6587: GpgME++ / QGpgME MSVC build.

We have discussed this yesterday. The idea/plan is to release the core library and the bindings as separate tarballs (created from the same repo) in the future.

Mar 15 2024, 2:02 PM · gpgme, Restricted Project

Mar 11 2024

ikloecker changed the status of T7036: gpgme: gpgme_op_receive_keys does not return an error if keyserver lookup is disabled from Open to Testing.

This can be tested with Kleopatra by configuring an invalid keyserver and then updating an OpenPGP certificate.

Mar 11 2024, 3:45 PM · vsd33 (vsd-3.3.0), Restricted Project, gpgme
ikloecker moved T7036: gpgme: gpgme_op_receive_keys does not return an error if keyserver lookup is disabled from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Mar 11 2024, 1:08 PM · vsd33 (vsd-3.3.0), Restricted Project, gpgme
ikloecker claimed T7036: gpgme: gpgme_op_receive_keys does not return an error if keyserver lookup is disabled.
Mar 11 2024, 1:07 PM · vsd33 (vsd-3.3.0), Restricted Project, gpgme
ikloecker triaged T7036: gpgme: gpgme_op_receive_keys does not return an error if keyserver lookup is disabled as Normal priority.
Mar 11 2024, 11:35 AM · vsd33 (vsd-3.3.0), Restricted Project, gpgme
ikloecker created T7036: gpgme: gpgme_op_receive_keys does not return an error if keyserver lookup is disabled.
Mar 11 2024, 11:34 AM · vsd33 (vsd-3.3.0), Restricted Project, gpgme

Mar 1 2024

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

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

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