Page MenuHome GnuPG

No gpgmepp API to call gpgme_set_global_flag
Closed, ResolvedPublic

Description

When linking against gpgmepp, it's impossible to call gpgme_set_global_flag directly; and this prevents e.g. setting correct gpgme spawn executable path on Windows. The problem arose in LibreOffice (see [1], and commit [2]).

I had prepared a PR to old github.com/KDE/gpgmepp [3]. I realize that it's correct that it's closed, so hopefully I do it right this time.

[1] https://lists.freedesktop.org/archives/libreoffice/2019-April/082534.html
[2] https://git.libreoffice.org/core/+/cca6830288f8d4f541077ead5ee229e02304601d
[3] https://github.com/KDE/gpgmepp/pull/1

Revisions and Commits

Related Objects

Event Timeline

aheinecke claimed this task.
aheinecke added a subscriber: aheinecke.

Hi,

makes sense to me. I've applied your patch so it will be part of the next release.

gpgmepp in KDE is very out of date. We moved gpgmepp from KDE into our GPGME repository. The real repo is here: https://dev.gnupg.org/source/gpgme/browse/master/lang/cpp/src/

Thank you for your contribution.

Best Regards,
Andre.