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

Thu, Sep 21

ikloecker closed T6696: qgpgme-qt6: Build failure for some distributions as Resolved.
Thu, Sep 21, 10:54 PM · Restricted Project, gpgme, Bug Report
ebo moved T6534: gpg's progress_filter needs to use uint64_t from QA to gnupg-2.2.42 on the gnupg22 board.
Thu, Sep 21, 4:14 PM · gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.3), gpgme, Feature Request, Restricted Project, Windows
ebo closed T6534: gpg's progress_filter needs to use uint64_t as Resolved.

Tested in VS-Desktop-3.2.0.0-beta214 by encrypting a large file with Kleopatra. The progress bar shows percentage finished, progress looks all right

Thu, Sep 21, 4:13 PM · gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.3), gpgme, Feature Request, Restricted Project, Windows
ikloecker reopened T6696: qgpgme-qt6: Build failure for some distributions as "Open".

Re-open to add auto-detection.

Thu, Sep 21, 2:19 PM · Restricted Project, gpgme, Bug Report
ikloecker added a comment to T6696: qgpgme-qt6: Build failure for some distributions.

Relevant lines from Arch's qconfig.pri:

QT.global.enabled_features = shared pkg-config rpath reduce_relocations signaling_nan zstd thread future concurrent dbus openssl-linked opensslv30 shared shared rpath reduce_exports no_direct_extern_access reduce_relocations openssl
QT.global.disabled_features = static cross_compile debug_and_release separate_debug_info appstore-compliant simulator_and_device force_asserts framework c++20 c++2a c++2b c++2b wasm-simd128 wasm-exceptions opensslv11
QT.global.disabled_features += release build_all
QT_CONFIG += shared rpath reduce_exports no_direct_extern_access reduce_relocations openssl release
CONFIG +=  shared plugin_manifest
Thu, Sep 21, 2:17 PM · Restricted Project, gpgme, Bug Report
antonio-rojas added a comment to T6696: qgpgme-qt6: Build failure for some distributions.

Per IRC discussion, this could be autodetected in qt6.m4 by querying Qt6Platform.pc for mkspecsdir and grepping ${mkspecsdir}/qconfig.pri for QT_CONFIG.*no_direct_extern_access.

Thu, Sep 21, 2:09 PM · Restricted Project, gpgme, Bug Report
aheinecke closed T6696: qgpgme-qt6: Build failure for some distributions as Resolved.

No need for QA on build issues.

Thu, Sep 21, 11:12 AM · Restricted Project, gpgme, Bug Report
ikloecker changed the status of T6696: qgpgme-qt6: Build failure for some distributions from Open to Testing.

The Qt 6 bindings will now be compiled with the -mno-direct-extern-access flag if --enable-no-direct-extern-access is passed to configure.

Thu, Sep 21, 11:03 AM · Restricted Project, gpgme, Bug Report
ikloecker moved T6696: qgpgme-qt6: Build failure for some distributions from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Thu, Sep 21, 9:30 AM · Restricted Project, gpgme, Bug Report
ikloecker claimed T6696: qgpgme-qt6: Build failure for some distributions.
Thu, Sep 21, 9:29 AM · Restricted Project, gpgme, Bug Report

Wed, Sep 20

ikloecker added a comment to T6696: qgpgme-qt6: Build failure for some distributions.

This is a Qt issue. Reported at https://bugreports.qt.io/browse/QTBUG-117398

Wed, Sep 20, 9:28 PM · Restricted Project, gpgme, Bug Report
antonio-rojas added a comment to T6696: qgpgme-qt6: Build failure for some distributions.

This is a Qt issue. Reported at https://bugreports.qt.io/browse/QTBUG-117398

Wed, Sep 20, 9:03 PM · Restricted Project, gpgme, Bug Report

Mon, Sep 18

ebo moved T6559: GPGSM: "always trust like override" or "force" option from QA to gnupg-2.2.42 on the gnupg22 board.
Mon, Sep 18, 4:15 PM · gnupg22 (gnupg-2.2.42), gpgme, gnupg24, Feature Request, gpgol, S/MIME, kleopatra, Restricted Project
ebo moved T6559: GPGSM: "always trust like override" or "force" option from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Mon, Sep 18, 3:42 PM · gnupg22 (gnupg-2.2.42), gpgme, gnupg24, Feature Request, gpgol, S/MIME, kleopatra, Restricted Project
ebo closed T6559: GPGSM: "always trust like override" or "force" option as Resolved.
Mon, Sep 18, 3:39 PM · gnupg22 (gnupg-2.2.42), gpgme, gnupg24, Feature Request, gpgol, S/MIME, kleopatra, Restricted Project
ebo added a comment to T6559: GPGSM: "always trust like override" or "force" option.

Tested on the command line with

  • a previously valid certificate after setting its root certificate to untrusted
  • a expired certificate without the root certificate in the certificate list
Mon, Sep 18, 3:31 PM · gnupg22 (gnupg-2.2.42), gpgme, gnupg24, Feature Request, gpgol, S/MIME, kleopatra, Restricted Project

Tue, Sep 12

ebo moved T6617: General error when trying to decrypt a public key block in the notepad from WiP to QA for next release on the gpgme board.
Tue, Sep 12, 3:42 PM · gpgme (gpgme 1.23.x), Restricted Project
ebo moved T6617: General error when trying to decrypt a public key block in the notepad from Backlog to WiP on the gpgme board.
Tue, Sep 12, 3:41 PM · gpgme (gpgme 1.23.x), Restricted Project
ebo closed T6617: General error when trying to decrypt a public key block in the notepad as Resolved.

Yes the error message is better now. In German it is "Entschlüsseln fehlgeschlagen: Fehlerhafte Daten." Which could be a bit more clear, but its ok

Tue, Sep 12, 3:40 PM · gpgme (gpgme 1.23.x), Restricted Project

Fri, Sep 8

werner moved T6559: GPGSM: "always trust like override" or "force" option from Backlog to QA for next release on the gpgme board.
Fri, Sep 8, 3:45 PM · gnupg22 (gnupg-2.2.42), gpgme, gnupg24, Feature Request, gpgol, S/MIME, kleopatra, Restricted Project
werner added a project to T6559: GPGSM: "always trust like override" or "force" option: gpgme.
Fri, Sep 8, 3:45 PM · gnupg22 (gnupg-2.2.42), gpgme, gnupg24, Feature Request, gpgol, S/MIME, kleopatra, Restricted Project
werner moved T6534: gpg's progress_filter needs to use uint64_t from Backlog to done on the gpgme board.

Was already with gpgme 1.21.0. Note that I used the done column but in future a milestone would be more useful than that catch all "done".

Fri, Sep 8, 3:41 PM · gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.3), gpgme, Feature Request, Restricted Project, Windows

Wed, Sep 6

werner triaged T6694: Random numbers from gpgme as Normal priority.

It might actually be useful to have an random number API in gpgme. When we do that we can also add a way t search for random numbers with an upper limit in each octet.

Wed, Sep 6, 12:20 PM · gpgme, Feature Request

Mon, Sep 4

werner updated the task description for T6705: Provide strong v5 fingerprints also for v4 keys.
Mon, Sep 4, 3:35 PM · OpenPGP, Feature Request, gnupg26, gpgme
werner triaged T6705: Provide strong v5 fingerprints also for v4 keys as Normal priority.
Mon, Sep 4, 3:35 PM · OpenPGP, Feature Request, gnupg26, gpgme
aheinecke added a comment to T6696: qgpgme-qt6: Build failure for some distributions.

Well 5.4.2 o.O and we on Tumbleweed are at 13.x gcc

Mon, Sep 4, 12:50 PM · Restricted Project, gpgme, Bug Report
ikloecker added a comment to T6696: qgpgme-qt6: Build failure for some distributions.

I found this in the change log of Qt 5.4.2:

- On x86 and x86-64 systems with ELF binaries (especially Linux), due to
  a new optimization in GCC 5.x in combination with a recent version of
  GNU binutils, compiling Qt applications with -fPIE is no longer
  enough with GCC 5.x. Applications now need to be compiled with
  the -fPIC option if Qt's option "reduce relocations" is active. For
  backward compatibility only, Qt accepts the use of -fPIE for GCC 4.x
  versions.
  Note that Clang is known to generate incompatible code even with -fPIC if
  the -flto option is active.
Mon, Sep 4, 12:38 PM · Restricted Project, gpgme, Bug Report
aheinecke triaged T6696: qgpgme-qt6: Build failure for some distributions as Normal priority.

So I think that the problem here is that ArchLinux either does not build Qt6 with -fPIC or it does and others don't and that our check for wether or not to add -fPIC is not really working as it should. When compiling executables we should also add -fPIE instead of -fPIC.

Mon, Sep 4, 9:31 AM · Restricted Project, gpgme, Bug Report

Fri, Sep 1

aheinecke added a comment to T6696: qgpgme-qt6: Build failure for some distributions.

I found this related to that: https://sourceware.org/bugzilla/show_bug.cgi?id=28875

Fri, Sep 1, 7:17 PM · Restricted Project, gpgme, Bug Report
aheinecke added a comment to T6696: qgpgme-qt6: Build failure for some distributions.

Compiles for me, too with Qt 6.5.2 from tumbleweed.

Fri, Sep 1, 4:11 PM · Restricted Project, gpgme, Bug Report
aheinecke added a comment to T6696: qgpgme-qt6: Build failure for some distributions.
Fri, Sep 1, 4:04 PM · Restricted Project, gpgme, Bug Report
ikloecker added a comment to T6696: qgpgme-qt6: Build failure for some distributions.

The official build for Arch Linux doesn't seem to run into this problem. The Qt6 build is configured with

./configure \
  --prefix=/usr \
  --disable-fd-passing \
  --disable-static \
  --disable-gpgsm-test \
  --enable-languages=cpp,qt6

See https://archlinux.org/packages/core/x86_64/gpgme/

Fri, Sep 1, 10:58 AM · Restricted Project, gpgme, Bug Report
ikloecker created T6696: qgpgme-qt6: Build failure for some distributions.
Fri, Sep 1, 10:45 AM · Restricted Project, gpgme, Bug Report

Thu, Aug 31

CarlSchwan added a comment to T6587: GpgME++ / QGpgME MSVC build.

This is now mostly done. These 3 patches make it work:

Thu, Aug 31, 3:16 PM · gpgme, Restricted Project

Tue, Aug 29

aheinecke triaged T6688: Kleopatra GPGME: Reported assert on exit as Normal priority.
Tue, Aug 29, 9:09 AM · gpgme, kleopatra, Restricted Project

Mon, Aug 28

aheinecke closed T6685: QGpgME: Update defaultkeygenerationjob and use create-key API as Wontfix.

Nevermind we clarified in chat that we would instead deprecate this API.

Mon, Aug 28, 2:48 PM · Restricted Project, gpgme
ikloecker added a comment to T6685: QGpgME: Update defaultkeygenerationjob and use create-key API.

Kleopatra doesn't rely on the defaults in the library and other users shouldn't either. I would kill defaultkeygenerationjob. And it's use in newkeyapprovaldialog should be fixed, e.g. by using QuickJob::startCreate().

Mon, Aug 28, 2:17 PM · Restricted Project, gpgme
aheinecke triaged T6685: QGpgME: Update defaultkeygenerationjob and use create-key API as Normal priority.
Mon, Aug 28, 1:55 PM · Restricted Project, gpgme

Aug 23 2023

aheinecke added a comment to T4195: Fix time API in gpgme.

The MSI Package though is a 64 bit MSI Package. For 32 Bit Windows we would need to ship a different MSI Package. (Which we actually have build support for because I thought that was neccessary even in 2020)

Aug 23 2023, 6:06 PM · kleopatra, Restricted Project, gnupg22, gpgme, Feature Request
aheinecke added a comment to T4195: Fix time API in gpgme.

No, everything in Gpg4win is 32 bit, except for gpgol, gpgex and gpgme, libgpg-error and libassuan. Which are addionally installed under bin_64. But for the whole KDE stack it should easily be switchable. The KDE Windows project regularly builds them as 64bit applications. Basically we would then need to invert the logic and use the 64 bit compiler as the main compiler and the 32 bit compiler as the _ex compiler for gpgol and gpgme.

Aug 23 2023, 6:05 PM · kleopatra, Restricted Project, gnupg22, gpgme, Feature Request
werner added a comment to T4195: Fix time API in gpgme.

Kleopatra is a 64 bit application, right? For GnuPG we are working on 64 bit support for Windows. This is planned for 2.6. problems are how to represent sockets, file descriptors, streams and so on. Regarding the time interface, we should have everything ready in the GPGME<->GnuPG interface. In GPGME we need to check that we don't use int instead of time_t, though. When that has been done/fixed we could use a 64 bit gpgme and kleopatra along with the 32 but gnupg. Might be easier for approval reasons.

Aug 23 2023, 5:30 PM · kleopatra, Restricted Project, gnupg22, gpgme, Feature Request
aheinecke added a comment to T4195: Fix time API in gpgme.

Mh, since there are no 32bit Versions of Windows sold for quite some years now maybe we should consider just going full 64bit with everything to solve this? Or is this a stupid suggestion?

Aug 23 2023, 3:21 PM · kleopatra, Restricted Project, gnupg22, gpgme, Feature Request
werner raised the priority of T4195: Fix time API in gpgme from Low to High.

It turned out that we need to fix this for use by Kleopatra on Windows.

Aug 23 2023, 2:29 PM · kleopatra, Restricted Project, gnupg22, gpgme, Feature Request
ikloecker closed T6673: gpgme-1.22.0 fails to compile tests (when building in source tree) as Resolved.

Fixed. Removing Gentoo tag because it's not Gentoo-specific.

Aug 23 2023, 10:11 AM · gpgme, Bug Report
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
herringbur added a comment to T6622: Kleopatra: Misleading result when decrypting clear signed message followed by public key block in notepad.
Aug 23 2023, 8:58 AM · Bug Report, gpgme, Restricted Project, kleopatra

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