Page MenuHome GnuPG

gpgmeProject
ActivePublic

Milestones

Details

Description

GnuPG Made Easy (GPGME) is a C language library that allows to add support for cryptography to a program. It is designed to make access to public key crypto engines like GnuPG or GpgSM easier for applications. GPGME provides a high-level crypto API for encryption, decryption, signing, signature verification and key management.

GPGME comes with language bindings for Common Lisp, C++, QT, Python2 and Python 3.

GPGME uses GnuPG and GpgSM as its backends to support OpenPGP and the Cryptographic Message Syntax (CMS).

Recent Activity

Today

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.

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

Thu, Apr 11

werner lowered the priority of T7084: gpgme sometimes keeps on polling from Normal to Low.
Thu, Apr 11, 4:22 PM · gpgme
werner closed T6575: gpgtar: General Error is emitted instead of more specific error codes as Resolved.
Thu, Apr 11, 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.
Thu, Apr 11, 4:20 PM · gpgme

Fri, Apr 5

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

Oops. I closed the task accidentally.

Fri, Apr 5, 10:54 PM · 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.

Fri, Apr 5, 3:10 PM · 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.

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

Thu, Mar 28

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?

Thu, Mar 28, 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.
Thu, Mar 28, 10:24 AM · vsd33, Restricted Project, gpgme

Mon, Mar 25

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.

Mon, Mar 25, 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:

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

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

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

Sun, Mar 24

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).
Sun, Mar 24, 7:10 PM · gpgme, MacOS, Bug Report

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

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

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, 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, 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, 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, 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, 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 · 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.
Mar 1 2024, 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.

Mar 1 2024, 6:08 AM · gpgagent, gnupg22, 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 · 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)).
Feb 29 2024, 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.
Feb 29 2024, 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.

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

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

Feb 29 2024, 3:15 AM · gpgagent, gnupg22, 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 · 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 debug-all >> ./gpg-agent.conf
+	echo log-file /tmp/gpg-agent-logfile.log >> ./gpg-agent.conf
Feb 28 2024, 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.

Feb 28 2024, 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.
Feb 28 2024, 4:40 AM · gpgagent, gnupg22, gpgme, Gentoo, Bug Report

Feb 27 2024

werner added a comment to T6575: gpgtar: General Error is emitted instead of more specific error codes.

Arghh, a GPGME_DEBUG=3 which shows basic I/O preparation does not exhibit the bug.

Feb 27 2024, 11:55 AM · gpgme (gpgme 1.23.x), vsd32 (vsd-3.2.0), Restricted Project
werner added a comment to T6575: gpgtar: General Error is emitted instead of more specific error codes.

Fixing gpg is easy but there is some bug lingering in gpgme which might be a recent regression. An strace shows

Feb 27 2024, 11:48 AM · gpgme (gpgme 1.23.x), vsd32 (vsd-3.2.0), Restricted Project

Feb 23 2024

werner closed T5748: Adding poll/ppoll to NPTH, a subtask of T2385: support more than 1024 fds., as Resolved.
Feb 23 2024, 11:26 AM · gpgrt, Feature Request, gpgme

Feb 20 2024

werner added a comment to T6977: gpgme_op_verify from libgpgme hang without returning anything when verifying corrupted file signature.

gpg --list-packets shows this:

Feb 20 2024, 2:03 PM · gpgme, Bug Report
Karam added a comment to T6977: gpgme_op_verify from libgpgme hang without returning anything when verifying corrupted file signature.

Feb 20 2024, 12:33 PM · gpgme, Bug Report
ikloecker added a comment to T6977: gpgme_op_verify from libgpgme hang without returning anything when verifying corrupted file signature.
In T6977#183049, @Karam wrote:

Uploaded the corrupted file.

Feb 20 2024, 9:44 AM · gpgme, Bug Report
Karam added a comment to T6977: gpgme_op_verify from libgpgme hang without returning anything when verifying corrupted file signature.

Uploaded the corrupted file.

Feb 20 2024, 9:12 AM · gpgme, Bug Report

Feb 16 2024

ikloecker added a comment to T6977: gpgme_op_verify from libgpgme hang without returning anything when verifying corrupted file signature.

Can you make this corrupted file available to us?

Feb 16 2024, 6:05 PM · gpgme, Bug Report
Karam added a comment to T6977: gpgme_op_verify from libgpgme hang without returning anything when verifying corrupted file signature.

Hello,
So after testing on gpgme-1.17.1, with run-verify under tests as you mentioned, with corrupted file it hangs forever.
Now we can say it's a bug in gpgme_op_verify.

Feb 16 2024, 3:28 PM · gpgme, Bug Report

Feb 15 2024

TobiasFella moved T6880: GPGME (++/qt): Add support for --quick-add-adsk from Backlog to WiP on the vsd33 board.
Feb 15 2024, 8:56 AM · gpgme, vsd33, Restricted Project

Feb 8 2024

ikloecker added a comment to T6977: gpgme_op_verify from libgpgme hang without returning anything when verifying corrupted file signature.

We provide the examples for a reason. Actually, two reasons: To test our changes ourselves. And to provide working examples for others. If your code doesn't work then you'll have to figure out where the example and your code differ. If the example doesn't work then we'll have a look.

Feb 8 2024, 7:07 PM · gpgme, Bug Report
werner added a comment to T6977: gpgme_op_verify from libgpgme hang without returning anything when verifying corrupted file signature.

@Karam, please test as suggested by @ikloecker.

Feb 8 2024, 3:23 PM · gpgme, Bug Report