Page MenuHome GnuPG
Feed Advanced Search

Jan 5 2023

aheinecke merged T6328: Kleopatra: Hangs when decrypting an archive on an USB Stick into T5478: Kleopatra: Performance problems decrypting and encrypting large Archives.
Jan 5 2023, 10:19 AM · Restricted Project, gpgme, kleopatra
aheinecke placed T5478: Kleopatra: Performance problems decrypting and encrypting large Archives up for grabs.
Jan 5 2023, 10:14 AM · Restricted Project, gpgme, kleopatra
aheinecke added a comment to T5478: Kleopatra: Performance problems decrypting and encrypting large Archives.

We have discussed this and what we think would be the best solution would be to have an extension in the engine-gpg of GpgME either through a flag or through a new API to use gpgtar directly with --encrypt and decrypt. This should behave exactly like the gpg encrypt / decrypt / verify functions but would avoid the need of Piping in Kleopatra. It is a fairly recent development that gpgtar can do the crypto operations by itself so this is why this was not done initially.

Jan 5 2023, 10:14 AM · Restricted Project, gpgme, kleopatra

Jan 4 2023

justus added a comment to T6297: PyPI GPG package.

@justus: Please talk to @kuwv on how to transfer the package to him.

Jan 4 2023, 4:14 PM · gpgme

Jan 2 2023

werner added a project to T6297: PyPI GPG package: gpgme.

I do not consider the whole PyPi thing a secure solution and thus we do not want to engage us there. However, if you need small patches to GPGME, please go ahead post them to the ML or upload them here.

Jan 2 2023, 6:38 PM · gpgme

Dec 22 2022

aheinecke closed T6286: gpgme-json not installed by default as Resolved.

For testing I have created a Gpg4win installer and only selected minimal installation and gpgme-json was there. Both in /bin and /bin_64.

Dec 22 2022, 3:37 PM · Feature Request, gpgme, gpg4win

Dec 13 2022

ebo closed T6305: Kleopatra: General error when trying to certify key and key is expired or password prompt is canceled as Resolved.

works: the process is canceled without any notification.

Dec 13 2022, 2:31 PM · Restricted Project, kleopatra, gpgme

Dec 8 2022

ikloecker changed the status of T6305: Kleopatra: General error when trying to certify key and key is expired or password prompt is canceled from Open to Testing.

The problem with expired keys may still happen for GpgSignKeyEditInteractor, but Kleopatra doesn't allow certifying expired keys or user IDs. Therefore, I don't look into this.

Dec 8 2022, 3:48 PM · Restricted Project, kleopatra, gpgme
kloczek added a comment to T6204: gpgme:python Fix setup.py, using pkg-config (not deprecated gpg-error-config and gpgme-config).

OK I can confirm that with ae9258fb and f1802682 commits I was ble to update my rpm packages to 1.18.0.

Dec 8 2022, 2:20 PM · Python, gpgme
ikloecker added a comment to T6305: Kleopatra: General error when trying to certify key and key is expired or password prompt is canceled.
In T6305#165907, @ebo wrote:

With GnuPG VSD 3.1.25 the Certify action is not disabled for me. Neither on Windows nor on Linux system.

Dec 8 2022, 1:22 PM · Restricted Project, kleopatra, gpgme
ikloecker renamed T6305: Kleopatra: General error when trying to certify key and key is expired or password prompt is canceled from GpgME++: missing states in ceritfy edit interactor to Kleopatra: General error when trying to certify key and key is expired or password prompt is canceled.
Dec 8 2022, 12:24 PM · Restricted Project, kleopatra, gpgme
ebo added a comment to T6305: Kleopatra: General error when trying to certify key and key is expired or password prompt is canceled.

With GnuPG VSD 3.1.25 the Certify action is not disabled for me. Neither on Windows nor on Linux system.

Dec 8 2022, 12:23 PM · Restricted Project, kleopatra, gpgme
ikloecker added a comment to T6305: Kleopatra: General error when trying to certify key and key is expired or password prompt is canceled.

How did you manage to certify an expired key? For me the Certify action is always disabled for an expired key or user ID.

Dec 8 2022, 11:52 AM · Restricted Project, kleopatra, gpgme
ikloecker claimed T6305: Kleopatra: General error when trying to certify key and key is expired or password prompt is canceled.
Dec 8 2022, 11:36 AM · Restricted Project, kleopatra, gpgme
gniibe merged T6306: 1.18.0: gpgme pythpn bindings fails because it tries to use gpg-error-config into T6204: gpgme:python Fix setup.py, using pkg-config (not deprecated gpg-error-config and gpgme-config).
Dec 8 2022, 3:23 AM · Python, gpgme

Dec 7 2022

ebo created T6305: Kleopatra: General error when trying to certify key and key is expired or password prompt is canceled.
Dec 7 2022, 3:58 PM · Restricted Project, kleopatra, gpgme
aheinecke changed the status of T5951: gpgme: Add support for refreshing OpenPGP keys from Testing to Open.
Dec 7 2022, 11:34 AM · gpgme, Restricted Project
aheinecke merged T6301: Kleopatra: Update Button does only check on keyserver into T5951: gpgme: Add support for refreshing OpenPGP keys.
Dec 7 2022, 11:24 AM · gpgme, Restricted Project
aheinecke added a comment to T5951: gpgme: Add support for refreshing OpenPGP keys.

Ok. So after further discussion. It is good that you kept a WKDRefreshJob copy :)

Dec 7 2022, 11:23 AM · gpgme, Restricted Project

Dec 5 2022

ikloecker renamed T6187: Kleopatra: Import of p12 file fails with "invalid crypto engine" from import of p12 file fails with "invalid crypto engine" to Kleopatra: Import of p12 file fails with "invalid crypto engine".
Dec 5 2022, 9:00 AM · gpgme (gpgme 1.23.x), kleopatra, gnupg, Restricted Project

Nov 29 2022

ametzler1 added a comment to T6285: AM_PATH_GPGME_PTHREAD not ready for gpgrt-config transition.

Now, the use of AM_PATH_GPGME_PTHREAD shows warning. Also I update the documentation.

Nov 29 2022, 7:25 AM · gpgme, Bug Report
gniibe changed the status of T6273: AM_PATH_GPGME requires preceding invocation of AM_PATH_GPG_ERROR from Open to Testing.
Nov 29 2022, 3:41 AM · gpgme, Bug Report
gniibe changed the status of T6285: AM_PATH_GPGME_PTHREAD not ready for gpgrt-config transition from Open to Testing.

Now, the use of AM_PATH_GPGME_PTHREAD shows warning. Also I update the documentation.

Nov 29 2022, 3:20 AM · gpgme, Bug Report

Nov 24 2022

gniibe added a comment to T6285: AM_PATH_GPGME_PTHREAD not ready for gpgrt-config transition.

Thank you for the bug report and your suggestion.

Nov 24 2022, 6:26 AM · gpgme, Bug Report
gniibe claimed T6285: AM_PATH_GPGME_PTHREAD not ready for gpgrt-config transition.
Nov 24 2022, 2:37 AM · gpgme, Bug Report

Nov 23 2022

werner added projects to T6286: gpgme-json not installed by default: gpgme, Feature Request.

Actually we have two gpgme versions in gpg4win because gnupg is a "sub"-installer inside of gpg4win and it comes with its own gpgme. That gpgme is the release version but the one used by gpg4win's kleopatra is often a newer snapshot.

Nov 23 2022, 11:36 AM · Feature Request, gpgme, gpg4win

Nov 22 2022

ametzler1 added a comment to T6273: AM_PATH_GPGME requires preceding invocation of AM_PATH_GPG_ERROR.

thank you, works for me.

Nov 22 2022, 6:29 PM · gpgme, Bug Report
ametzler1 added a comment to T6274: documentation needs update for replacing gpgme-config.

Thank you, looks good to me.

Nov 22 2022, 6:28 PM · Documentation, gpgme, Bug Report
ametzler1 created T6285: AM_PATH_GPGME_PTHREAD not ready for gpgrt-config transition.
Nov 22 2022, 6:24 PM · gpgme, Bug Report
gniibe changed the status of T6274: documentation needs update for replacing gpgme-config from Open to Testing.

Please use gpgme.pc to configure your build. Your options are:
(1) With Autoconf:
(1-1) Use pkg.m4 and PKG_CHECK_MODULES (which uses pkg-config to access gpgme.pc)
(1-2) Use gpgme.m4 and AM_PATH_GPGME (which uses gpgrt-config to access gpgme.pc)
(2) Or... use pkg-config to access gpgme.pc.

Nov 22 2022, 2:50 AM · Documentation, gpgme, Bug Report

Nov 15 2022

gniibe added a comment to T6273: AM_PATH_GPGME requires preceding invocation of AM_PATH_GPG_ERROR.

I updated gpgme.m4 to include configuration of GPGRT_CONFIG.
Using this new gpgme.m4, it should work.
Using this new gpgme.m4 plus old gpg-error.m4, checking GPGRT_CONFIG is duplicated.
Using this new gpgme.m4 plus new gpg-error.me, no problem.

Nov 15 2022, 6:29 AM · gpgme, Bug Report
gniibe added a comment to T6273: AM_PATH_GPGME requires preceding invocation of AM_PATH_GPG_ERROR.

I overlooked the use case of gpgme programming not using libgpg-error. This use case should be supported.

Nov 15 2022, 5:35 AM · gpgme, Bug Report

Nov 14 2022

gniibe claimed T6273: AM_PATH_GPGME requires preceding invocation of AM_PATH_GPG_ERROR.
Nov 14 2022, 10:17 AM · gpgme, Bug Report
gniibe claimed T6274: documentation needs update for replacing gpgme-config.
Nov 14 2022, 10:17 AM · Documentation, gpgme, Bug Report

Nov 13 2022

ametzler1 created T6274: documentation needs update for replacing gpgme-config.
Nov 13 2022, 8:03 AM · Documentation, gpgme, Bug Report
ametzler1 added a project to T6273: AM_PATH_GPGME requires preceding invocation of AM_PATH_GPG_ERROR: gpgme.
Nov 13 2022, 7:55 AM · gpgme, Bug Report

Nov 4 2022

ikloecker changed the status of T6261: Kleopatra / QGPGME: Use --no-auto-check-trustdb for initial keylisting from Open to Testing.

ready for testing

Nov 4 2022, 11:08 AM · gpgme, kleopatra, Restricted Project
ikloecker updated the task description for T6261: Kleopatra / QGPGME: Use --no-auto-check-trustdb for initial keylisting.
Nov 4 2022, 8:02 AM · gpgme, kleopatra, Restricted Project

Nov 2 2022

dkg added a comment to T6137: arch-specific (32 bit) failures in AddExistingSubkeyJobTest::testAddExistingSubkeyWithExpiration.

Note the relationship to T4195, T4826, and T4766

Nov 2 2022, 4:03 PM · Restricted Project, qt, gpgme, Bug Report

Oct 27 2022

aheinecke closed T4081: GPGME performance: Allow single component gpg-conf loads as Resolved.

In QGPGME which is used by GpgOL and Kleopatra we have solved this by loading the configuration only once and then reusing it. I see no need to change something in gpgconf here.

Oct 27 2022, 10:26 AM · gpg4win, gpgme

Oct 26 2022

ametzler1 added a comment to T6204: gpgme:python Fix setup.py, using pkg-config (not deprecated gpg-error-config and gpgme-config).

@gniibe - Thanks for the quick response. It now works for me.
cu Andreas

Oct 26 2022, 7:22 AM · Python, gpgme
gniibe added a comment to T6204: gpgme:python Fix setup.py, using pkg-config (not deprecated gpg-error-config and gpgme-config).

@ametzler1 Thank you. That was because of my bad fix.
Fixed in rMf1802682c3c8: python: Fix configure generating setup.py.

Oct 26 2022, 4:44 AM · Python, gpgme

Oct 25 2022

ametzler1 added a comment to T6204: gpgme:python Fix setup.py, using pkg-config (not deprecated gpg-error-config and gpgme-config).

the pushed fix breaks when libgpg-error does not require special CFLAGS, i.e. when @GPG_ERROR_CFLAGS@ expands to an empty string:

Oct 25 2022, 6:19 PM · Python, gpgme

Oct 18 2022

werner added a comment to T6228: TOFU data are not updated when creating an encrypted message.

FWIW: I am not anymore very convinced of our tofu code. it leaks too many information because it tracks and stored all signature verification. The model is further way too complicated and the SQL used will eventually lead to a resource problem. Maybe doing Tofu stuff in the frontend is a better idea and get rid of all the history processing which works only for fresh mails and not for data verification.

Oct 18 2022, 5:55 PM · gpgme, TOFU
ikloecker added a comment to T6228: TOFU data are not updated when creating an encrypted message.

Yes it is set to tofu+pgp. Is it now possible to change the trust-model on context based?

Oct 18 2022, 2:41 PM · gpgme, TOFU
hefee added a comment to T6228: TOFU data are not updated when creating an encrypted message.

Thanks for the report, since you are using it on the command line and it works I assume that trust-model is set to tofu+pgp? Because in the Test code there is no context flag for tofu+pgp trust model.

Oct 18 2022, 1:52 PM · gpgme, TOFU
aheinecke triaged T6228: TOFU data are not updated when creating an encrypted message as Normal priority.

Thanks for the report, since you are using it on the command line and it works I assume that trust-model is set to tofu+pgp? Because in the Test code there is no context flag for tofu+pgp trust model.

Oct 18 2022, 11:52 AM · gpgme, TOFU

Oct 7 2022

werner closed T6136: build failure with slibtool - error: undefined symbol: QGpgME::RevokeKeyJob::staticMetaObject as Resolved.
Oct 7 2022, 11:41 AM · gpgrt, gpgme, Bug Report

Oct 6 2022

hefee created T6228: TOFU data are not updated when creating an encrypted message.
Oct 6 2022, 1:47 PM · gpgme, TOFU

Sep 29 2022

werner added a project to T6223: GPGME incorrectly parses the signature class in SIG_CREATED status lines: Feature Request.

Let's don't forget that we need to have a sig_class replacement.

Sep 29 2022, 10:42 AM · Feature Request, gpgme, Bug Report
werner added a comment to T6223: GPGME incorrectly parses the signature class in SIG_CREATED status lines.

This is not easy to fix because it would break the GPGME API. Here
are the values we can expect:

Sep 29 2022, 9:32 AM · Feature Request, gpgme, Bug Report
werner triaged T6223: GPGME incorrectly parses the signature class in SIG_CREATED status lines as Normal priority.

I assume this is gpgme master. Please write proper bug reports.

Sep 29 2022, 8:30 AM · Feature Request, gpgme, Bug Report

Sep 22 2022

werner removed a project from T5951: gpgme: Add support for refreshing OpenPGP keys: Restricted Project.
Sep 22 2022, 11:03 AM · gpgme, Restricted Project
werner changed the status of T5748: Adding poll/ppoll to NPTH, a subtask of T2385: support more than 1024 fds., from Open to Testing.
Sep 22 2022, 10:58 AM · gpgrt, Feature Request, gpgme
werner changed the status of T6136: build failure with slibtool - error: undefined symbol: QGpgME::RevokeKeyJob::staticMetaObject from Open to Testing.
Sep 22 2022, 10:50 AM · gpgrt, gpgme, Bug Report
werner removed a project from T6187: Kleopatra: Import of p12 file fails with "invalid crypto engine": Restricted Project.
Sep 22 2022, 10:41 AM · gpgme (gpgme 1.23.x), kleopatra, gnupg, Restricted Project
werner changed the status of T6204: gpgme:python Fix setup.py, using pkg-config (not deprecated gpg-error-config and gpgme-config) from Open to Testing.
Sep 22 2022, 10:40 AM · Python, gpgme

Sep 15 2022

gniibe added a project to T6204: gpgme:python Fix setup.py, using pkg-config (not deprecated gpg-error-config and gpgme-config): Restricted Project.

Pushed the fix.
Note that non-in-tree build never been reliable (using the result of the configure, in tree).
So, I basically don't consider the use case of non-in-tree build.

Sep 15 2022, 7:00 AM · Python, gpgme
gniibe added a comment to T6204: gpgme:python Fix setup.py, using pkg-config (not deprecated gpg-error-config and gpgme-config).

Reviewing the build process, it's just better to use @...VAR...@ by configure (instead of invoke pkg-config again in setup.py).

Sep 15 2022, 6:44 AM · Python, gpgme
gniibe triaged T6204: gpgme:python Fix setup.py, using pkg-config (not deprecated gpg-error-config and gpgme-config) as High priority.
Sep 15 2022, 5:01 AM · Python, gpgme

Sep 13 2022

ikloecker changed the status of T6187: Kleopatra: Import of p12 file fails with "invalid crypto engine" from Open to Testing.

The export/backup of the secret part of S/MIME certificates has been fixed with T6189: Secret key backup of S/MIME certificate creates bad result. An exported certificate should now be imported without problems.

Sep 13 2022, 9:10 AM · gpgme (gpgme 1.23.x), kleopatra, gnupg, Restricted Project

Sep 12 2022

ikloecker added a comment to T6187: Kleopatra: Import of p12 file fails with "invalid crypto engine".

Now "BER error" is reported, if the user tries to import a .p8 certificate. (The certificate exported by Kleopatra wasn't stored as PKCS#12, but presumably as PKCS#8 which gpgsm cannot import. See T6189: Secret key backup of S/MIME certificate creates bad result.)

Sep 12 2022, 9:39 AM · gpgme (gpgme 1.23.x), kleopatra, gnupg, Restricted Project

Sep 8 2022

aheinecke triaged T6194: GpgME++: Certify edit interactor has no state for multiple promotions as Low priority.
Sep 8 2022, 9:46 AM · gpgme, kleopatra

Sep 7 2022

werner added a comment to T6187: Kleopatra: Import of p12 file fails with "invalid crypto engine".

BTW, gnupg/doc/DETAILS tells that the fingerprint is optional:

Sep 7 2022, 4:46 AM · gpgme (gpgme 1.23.x), kleopatra, gnupg, Restricted Project
gniibe added a comment to T6187: Kleopatra: Import of p12 file fails with "invalid crypto engine".

Pushed the fix for GPG_ERR_INV_ENGINE.

Sep 7 2022, 4:29 AM · gpgme (gpgme 1.23.x), kleopatra, gnupg, Restricted Project
gniibe added a comment to T6187: Kleopatra: Import of p12 file fails with "invalid crypto engine".

gpgsm may emit S IMPORT_PROBLEM 1 (with no fingerprint information) when it cannot find valid fingerprint.
I think that this case should be handled correctly by GPGME, not returning GPG_ERR_INV_ENGINE.

Sep 7 2022, 4:27 AM · gpgme (gpgme 1.23.x), kleopatra, gnupg, Restricted Project

Sep 6 2022

aheinecke added a comment to T6187: Kleopatra: Import of p12 file fails with "invalid crypto engine".

Ok. That is about the Invalid Crypto Engine. But this does not explain why a .p12 export via Kleopatra leads to this error when we export a valid certificate. The same thing I do with Kleopatra on the Command Line works:

Sep 6 2022, 11:42 AM · gpgme (gpgme 1.23.x), kleopatra, gnupg, Restricted Project
ikloecker placed T6187: Kleopatra: Import of p12 file fails with "invalid crypto engine" up for grabs.

The error is generated in parse_import in gpgme/src/import.c:

if (errno || args == tail || *tail != ' ')
  {
    /* The crypto backend does not behave.  */
    free (import);
    return trace_gpg_error (GPG_ERR_INV_ENGINE);
  }
Sep 6 2022, 11:34 AM · gpgme (gpgme 1.23.x), kleopatra, gnupg, Restricted Project
ikloecker claimed T6187: Kleopatra: Import of p12 file fails with "invalid crypto engine".
Sep 6 2022, 11:33 AM · gpgme (gpgme 1.23.x), kleopatra, gnupg, Restricted Project

Sep 1 2022

orbea added a comment to T6136: build failure with slibtool - error: undefined symbol: QGpgME::RevokeKeyJob::staticMetaObject.

Thanks, I really appreciate having this fixed in gpgrt-config! I backported the commit to gentoo and can confirm that fixes the build issue with slibtool.

Sep 1 2022, 4:31 AM · gpgrt, gpgme, Bug Report

Aug 31 2022

ffontaine added a comment to T6165: gpgme: build failure without threads.

GnuPG requires threads but not gpgme.
We already had the same discussion about threads and libgpg-error more than one year ago: https://dev.gnupg.org/T5296

Aug 31 2022, 8:25 AM · Info Needed, gpgme, Bug Report
gniibe triaged T6165: gpgme: build failure without threads as Low priority.

Thank you for your report. Next time, please include information of your target and configuration in the report.

Aug 31 2022, 3:15 AM · Info Needed, gpgme, Bug Report

Aug 27 2022

ffontaine created T6165: gpgme: build failure without threads.
Aug 27 2022, 11:33 PM · Info Needed, gpgme, Bug Report

Aug 25 2022

gniibe added projects to T6136: build failure with slibtool - error: undefined symbol: QGpgME::RevokeKeyJob::staticMetaObject: gpgrt, Restricted Project.

I pushed the changes. It also cares about the case for --cflags.

Aug 25 2022, 8:42 AM · gpgrt, gpgme, Bug Report
gniibe added a comment to T6136: build failure with slibtool - error: undefined symbol: QGpgME::RevokeKeyJob::staticMetaObject.

@orbea Thank you for your suggestions.

Aug 25 2022, 8:17 AM · gpgrt, gpgme, Bug Report

Aug 24 2022

ikloecker added a comment to T6150: gpgadduserideditinteractor.cpp: error: case value evaluates to -1, which cannot be narrowed to type 'unsigned int' [-Wc++11-narrowing].

For the original issue I'd prefer to silence the error/warning with -Wno-narrowing because I think it's a non-issue. Or does changing the enum declarations to enum : unsigned int make clang happy?

Aug 24 2022, 2:34 PM · C++, gpgme, Bug Report
ikloecker added a comment to T6150: gpgadduserideditinteractor.cpp: error: case value evaluates to -1, which cannot be narrowed to type 'unsigned int' [-Wc++11-narrowing].

For gpgme (as for the other GnuPG libraries) we use the good old mailing list based process for contributing patches. See doc/HACKING for details. In particular, we'll need a signed DCO from you.

Aug 24 2022, 2:20 PM · C++, gpgme, Bug Report
wrobelda added a comment to T6150: gpgadduserideditinteractor.cpp: error: case value evaluates to -1, which cannot be narrowed to type 'unsigned int' [-Wc++11-narrowing].

Yes, this is with Clang. I am working on getting it to compile on Windows with clang-cl, using vcpkg, with success. I have several patches to fix the issues that clang detected, and so I wonder if I should create a Task to discuss them all?

Aug 24 2022, 10:08 AM · C++, gpgme, Bug Report
ikloecker triaged T6150: gpgadduserideditinteractor.cpp: error: case value evaluates to -1, which cannot be narrowed to type 'unsigned int' [-Wc++11-narrowing] as Low priority.
Aug 24 2022, 9:32 AM · C++, gpgme, Bug Report
ikloecker added a comment to T6150: gpgadduserideditinteractor.cpp: error: case value evaluates to -1, which cannot be narrowed to type 'unsigned int' [-Wc++11-narrowing].

g++: error: unrecognized command-line option '-Wc++11-narrowing'; did you mean '-Wno-narrowing'?

Aug 24 2022, 9:23 AM · C++, gpgme, Bug Report
ikloecker added a comment to T6150: gpgadduserideditinteractor.cpp: error: case value evaluates to -1, which cannot be narrowed to type 'unsigned int' [-Wc++11-narrowing].

How did you get this error? I don't even see a warning for this when building gpgme with g++ (SUSE Linux) 12.1.1 20220812.

Aug 24 2022, 9:20 AM · C++, gpgme, Bug Report

Aug 23 2022

wrobelda created T6150: gpgadduserideditinteractor.cpp: error: case value evaluates to -1, which cannot be narrowed to type 'unsigned int' [-Wc++11-narrowing].
Aug 23 2022, 10:05 PM · C++, gpgme, Bug Report
orbea added a comment to T6136: build failure with slibtool - error: undefined symbol: QGpgME::RevokeKeyJob::staticMetaObject.

This looks like a good approach, but I think stripping the standard paths needs to be deferred until later, because, if PKG_CONFIG_SYSROOT_DIR is set, then the library search paths are prefixed with $PKG_CONFIG_SYSROOT_DIR, and then the prefixed standard paths probably shouldn't be stripped.

Aug 23 2022, 6:37 PM · gpgrt, gpgme, Bug Report
gniibe added a comment to T6136: build failure with slibtool - error: undefined symbol: QGpgME::RevokeKeyJob::staticMetaObject.

Original pkg-config supports PKG_CONFIG_SYSTEM_LIBRARY_PATH (default is determined by build time, and overridden by environment var), PKG_CONFIG_SYSTEM_INCLUDE_PATH as well.

Aug 23 2022, 10:15 AM · gpgrt, gpgme, Bug Report
ikloecker added a comment to T6136: build failure with slibtool - error: undefined symbol: QGpgME::RevokeKeyJob::staticMetaObject.
In T6136#161915, @orbea wrote:

Or maybe it would be better to only check the standard libdir paths as in the libgpg-error configure.ac?

--- gpgrt-config.orig	2022-08-21 23:14:40.017298485 -0700
+++ gpgrt-config	2022-08-22 08:28:16.339977281 -0700
@@ -210,6 +210,7 @@
     # the resulted list is in reverse order
     for __arg; do
 	case "$__arg" in
+	    -L/usr/lib|-L/usr/lib64|-L/lib|-L/lib64) ;;
 	    -l*)
 		# As-is
 		__rev_list="$__arg${__rev_list:+ }$__rev_list"
Aug 23 2022, 9:30 AM · gpgrt, gpgme, Bug Report

Aug 22 2022

ikloecker added a comment to T6136: build failure with slibtool - error: undefined symbol: QGpgME::RevokeKeyJob::staticMetaObject.

Hmm. Good point. Always adding -L${libdir} makes the .pc files easier to relocate.

Aug 22 2022, 7:22 PM · gpgrt, gpgme, Bug Report
wrobelda added a comment to D561: w32: mbox-util: guard unistd.h include on Windows.

Actually, there's plenty more locations where unistd.h is included unconditionally, all of which should likely embrace in guards like this.

Aug 22 2022, 7:08 PM · Windows, gpgme
orbea added a comment to T6136: build failure with slibtool - error: undefined symbol: QGpgME::RevokeKeyJob::staticMetaObject.

The -L${libdir} is standard in nearly all applicable .pc files on my system. In the case of pkgconf the -L linker path is removed from the output if its the standard linker path. Of course however you think its best to fix this would be fine though.

Aug 22 2022, 6:27 PM · gpgrt, gpgme, Bug Report
ikloecker added a comment to T6136: build failure with slibtool - error: undefined symbol: QGpgME::RevokeKeyJob::staticMetaObject.

Why should gpgrt-config change the information read from the *.pc files?

Aug 22 2022, 6:16 PM · gpgrt, gpgme, Bug Report
wrobelda requested review of D561: w32: mbox-util: guard unistd.h include on Windows.
Aug 22 2022, 5:47 PM · Windows, gpgme
orbea added a comment to T6136: build failure with slibtool - error: undefined symbol: QGpgME::RevokeKeyJob::staticMetaObject.

Or maybe it would be better to only check the standard libdir paths as in the libgpg-error configure.ac?

--- gpgrt-config.orig	2022-08-21 23:14:40.017298485 -0700
+++ gpgrt-config	2022-08-22 08:28:16.339977281 -0700
@@ -210,6 +210,7 @@
     # the resulted list is in reverse order
     for __arg; do
 	case "$__arg" in
+	    -L/usr/lib|-L/usr/lib64|-L/lib|-L/lib64) ;;
 	    -l*)
 		# As-is
 		__rev_list="$__arg${__rev_list:+ }$__rev_list"
Aug 22 2022, 5:29 PM · gpgrt, gpgme, Bug Report
ikloecker merged task T6143: qgpgmesignkeyjob.cpp:224:25: error: no viable overloaded '=' into T6141: gpgme importresult.cpp fails to compile on macOS (needs to use C++14?).
Aug 22 2022, 3:10 PM · gpgme
ikloecker merged T6143: qgpgmesignkeyjob.cpp:224:25: error: no viable overloaded '=' into T6141: gpgme importresult.cpp fails to compile on macOS (needs to use C++14?).
Aug 22 2022, 3:10 PM · Restricted Project, clang, C++, gpgme, Bug Report
ikloecker closed T6141: gpgme importresult.cpp fails to compile on macOS (needs to use C++14?) as Resolved.

Thanks. QGpgME should now also compile with strict C++11. And C++14'isms shouldn't happen again unnoticed.

Aug 22 2022, 3:07 PM · Restricted Project, clang, C++, gpgme, Bug Report
wrobelda added a comment to T6143: qgpgmesignkeyjob.cpp:224:25: error: no viable overloaded '='.

This was apparently discussed before:
https://www.mail-archive.com/ports@openbsd.org/msg105601.html

Aug 22 2022, 12:23 PM · gpgme
wrobelda renamed T6143: qgpgmesignkeyjob.cpp:224:25: error: no viable overloaded '=' from qgpgmesignkeyjob.cpp:224:25: error: no viable overloaded to qgpgmesignkeyjob.cpp:224:25: error: no viable overloaded '='.
Aug 22 2022, 12:22 PM · gpgme
wrobelda created T6143: qgpgmesignkeyjob.cpp:224:25: error: no viable overloaded '='.
Aug 22 2022, 12:09 PM · gpgme
wrobelda reopened T6141: gpgme importresult.cpp fails to compile on macOS (needs to use C++14?) as "Open".

Also in:

Aug 22 2022, 11:55 AM · Restricted Project, clang, C++, gpgme, Bug Report
orbea added a comment to T6136: build failure with slibtool - error: undefined symbol: QGpgME::RevokeKeyJob::staticMetaObject.

I suggest simply removing any -L linker path from the output if it matches the $libdir in gpgrt-config.

Aug 22 2022, 8:21 AM · gpgrt, gpgme, Bug Report
orbea added a comment to T6136: build failure with slibtool - error: undefined symbol: QGpgME::RevokeKeyJob::staticMetaObject.

Even without libassuan-config installed in libassuan-2.5.5.

$ gpgrt-config --libdir=/usr/lib64 libassuan --libs
-L/usr/lib64 -lassuan

gpg-error is not affected at least.

 gpgrt-config --libdir=/usr/lib64 gpg-error --libs
-lgpg-error

In lang/qt/tests/Makefile:

LIBASSUAN_CONFIG = /usr/bin/gpgrt-config --libdir=/usr/lib64 libassuan
LIBASSUAN_LIBS = -L/usr/lib64 -lassuan
Aug 22 2022, 5:47 AM · gpgrt, gpgme, Bug Report