Page MenuHome GnuPG
Feed Advanced Search

May 4 2021

ikloecker updated the diff for D530: gpgme: Add support for trust signatures to key list result.
  • Renamed trust_regexp to trust_scope.
  • Use part of _unused for storing trust_depth and trust_value.
May 4 2021, 3:11 PM · gpgme
ikloecker added inline comments to D530: gpgme: Add support for trust signatures to key list result.
May 4 2021, 3:10 PM · gpgme
werner added inline comments to D530: gpgme: Add support for trust signatures to key list result.
May 4 2021, 12:29 PM · gpgme
ikloecker added a task to D530: gpgme: Add support for trust signatures to key list result: T5419: gpgme: Add support for trust signatures to key list result.
May 4 2021, 12:13 PM · gpgme
ikloecker added a revision to T5419: gpgme: Add support for trust signatures to key list result: D530: gpgme: Add support for trust signatures to key list result.
May 4 2021, 12:13 PM · kleopatra, gpgme, Restricted Project
ikloecker requested review of D530: gpgme: Add support for trust signatures to key list result.
May 4 2021, 12:13 PM · gpgme
ikloecker triaged T5419: gpgme: Add support for trust signatures to key list result as Normal priority.
May 4 2021, 11:55 AM · kleopatra, gpgme, Restricted Project

Apr 15 2021

werner raised the priority of T5292: regression: no longer possible to get signatures from decrypt from unknown keys from Low to Normal.
Apr 15 2021, 9:16 AM · patch, Python, gpgme, Bug Report
werner triaged T5292: regression: no longer possible to get signatures from decrypt from unknown keys as Low priority.
Apr 15 2021, 9:16 AM · patch, Python, gpgme, Bug Report

Mar 22 2021

werner triaged T5353: gpgme: Implement keylist_data for gpgsm as Normal priority.
Mar 22 2021, 1:41 PM · gnupg24, gnupg (gpg23), gpgme, Feature Request
ikloecker created T5353: gpgme: Implement keylist_data for gpgsm.
Mar 22 2021, 11:56 AM · gnupg24, gnupg (gpg23), gpgme, Feature Request

Mar 1 2021

patrick added a comment to T5250: macOS: gpgconf SIGSEGV when run via gpgme from the GUI application.
In T5250#143872, @kaie wrote:

It seems gpgme-json is intended to execute in the Web JavaScript sandbox of a browser.

Mar 1 2021, 5:33 PM · gpgme, MacOS, Bug Report
kaie added a comment to T5250: macOS: gpgconf SIGSEGV when run via gpgme from the GUI application.

I said "we're offering the optional use of GPGME

Mar 1 2021, 4:58 PM · gpgme, MacOS, Bug Report
kaie added a comment to T5250: macOS: gpgconf SIGSEGV when run via gpgme from the GUI application.

At the time I started to add an optional binding from Thunderbird to GPGME, I wasn't aware of gpgme-json.

Mar 1 2021, 4:51 PM · gpgme, MacOS, Bug Report
kaie added a comment to T5250: macOS: gpgconf SIGSEGV when run via gpgme from the GUI application.

Sure that TB uses GPGME - they claimed they won't use it due to license incompatibility (LGPL). I assumed they use gpgme-json via naticve messaging.

Mar 1 2021, 4:29 PM · gpgme, MacOS, Bug Report

Feb 13 2021

werner triaged T5299: use FULL_PATH_NAMES=NO for gpgme doxygen as Normal priority.
Feb 13 2021, 5:58 PM · gpgme
werner closed T5298: drop support for python2 for the python bindings for gpgme as Wontfix.

There is still useful software working only with 2.7. So it is not the time to drop this.

Feb 13 2021, 5:57 PM · gpgme, Python

Feb 12 2021

dkg created T5299: use FULL_PATH_NAMES=NO for gpgme doxygen.
Feb 12 2021, 4:36 PM · gpgme
dkg created T5298: drop support for python2 for the python bindings for gpgme.
Feb 12 2021, 4:32 PM · gpgme, Python

Feb 9 2021

jap added a comment to T5292: regression: no longer possible to get signatures from decrypt from unknown keys.

Feb 9 2021, 1:11 PM · patch, Python, gpgme, Bug Report
jap created T5292: regression: no longer possible to get signatures from decrypt from unknown keys.
Feb 9 2021, 1:11 PM · patch, Python, gpgme, Bug Report

Feb 1 2021

werner added a comment to T5284: Allow gpgme to export w/o attributes.

A public keyblock without a user id packet is non-compliant. I see no reason to provide a feature to created crippled data. We had all this discussions back in the early 90s regarding to self-signatures. OpenPGP spoke a final word on this in 1998 by making user ids and corresponding self-signatures mandatory.

Feb 1 2021, 5:51 PM · Feature Request, gpgme
jap added a comment to T5284: Allow gpgme to export w/o attributes.

Not exactly the answer I was hoping for..

Feb 1 2021, 5:18 PM · Feature Request, gpgme
werner triaged T5284: Allow gpgme to export w/o attributes as Normal priority.

Oops, that was an experimental feature never intended for a released version. Will be removed in a way that it does not leas to compile problems - just to be extra cautiousness.

Feb 1 2021, 4:50 PM · Feature Request, gpgme
jap created T5284: Allow gpgme to export w/o attributes.
Feb 1 2021, 3:19 PM · Feature Request, gpgme

Jan 28 2021

gniibe closed T5149: Incorrect error handling in export_key_minimal() as Resolved.
Jan 28 2021, 3:15 AM · Python, gpgme, Bug Report

Jan 26 2021

aheinecke abandoned D507: core: Add gpgme_op_set_expire.

We have this.

Jan 26 2021, 11:35 AM · gpgme

Jan 20 2021

patrick added a comment to T5250: macOS: gpgconf SIGSEGV when run via gpgme from the GUI application.

In fact, Thunderbird does not use gpgme-json, but loads the gpgme shared library at runtime. The interesting thing is that Thunderbird works fine if gpgOSX is used.

Jan 20 2021, 7:41 AM · gpgme, MacOS, Bug Report

Jan 19 2021

werner added a comment to T5250: macOS: gpgconf SIGSEGV when run via gpgme from the GUI application.

Reading the bugzilla report it seems that TB is loading gpgme at runtime. In particular the hints on using externally build stuff (Homebrew) is worrying. Someone(tm) needs to check how gpgme is used by TB and that it is properly initialized. GPGME is actually not designed to be loaded at runtime but should be used as standard shared object or static library.

Jan 19 2021, 5:40 PM · gpgme, MacOS, Bug Report
onickolay added a comment to T5250: macOS: gpgconf SIGSEGV when run via gpgme from the GUI application.

Thanks for the reply. Not sure about GPGME/gpgme-json. Anyway, it still ends up in gpgme code, isn't it?
I used to modify gpgme sources to receive more information about the issue.
Looks like the next step would be to modify gpg-conf and see what's going on there, or leave it to the Thunderbird developers.

Jan 19 2021, 4:54 PM · gpgme, MacOS, Bug Report
werner triaged T5250: macOS: gpgconf SIGSEGV when run via gpgme from the GUI application as Low priority.

Sure that TB uses GPGME - they claimed they won't use it due to license incompatibility (LGPL). I assumed they use gpgme-json via naticve messaging. Regarding the error - I have no idea.

Jan 19 2021, 4:45 PM · gpgme, MacOS, Bug Report

Jan 12 2021

aheinecke closed T4116: Kleopatra: Hang on posix with GPGME_DEBUG=9 as Resolved.

Long since resolved

Jan 12 2021, 12:13 PM · kleopatra, gpgme

Jan 11 2021

aheinecke closed T5225: Release GPGME 1.15.1 as Resolved.
Jan 11 2021, 10:08 AM · Release Info, gpgme
aheinecke closed T5131: Release GPGME 1.15.0 as Resolved.
Jan 11 2021, 10:08 AM · gpgme, Release Info

Jan 8 2021

werner updated the task description for T5131: Release GPGME 1.15.0.
Jan 8 2021, 5:15 PM · gpgme, Release Info
werner created T5225: Release GPGME 1.15.1.
Jan 8 2021, 4:39 PM · Release Info, gpgme

Jan 5 2021

ikloecker closed T3580: GPGME: Keylist mode sigs combined with secret does not work (anymore?) as Resolved.
Jan 5 2021, 5:54 PM · gpgme
ikloecker claimed T3580: GPGME: Keylist mode sigs combined with secret does not work (anymore?).

Taking since I ran into this problem while working on T5174. In Kleopatra, if one opens the certificate details of one's own keys (i.e. secret key is available), then the tags vanish from the key list.

Jan 5 2021, 5:08 PM · gpgme
werner added a comment to T3505: Port GPGME's Python bindings to Windows.

The C++, CL, Javascript and QT Bindings are all written by hand.

Jan 5 2021, 4:06 PM · Feature Request, gpgme, Python
bernhard added a comment to T3505: Port GPGME's Python bindings to Windows.

Hi Werner,

we do it for the other bindings as well.

can you elaborate?

Jan 5 2021, 3:01 PM · Feature Request, gpgme, Python
werner lowered the priority of T3505: Port GPGME's Python bindings to Windows from High to Normal.

Given all the resources we had put on this Python bindings I'd suggest to bite the bullet and replace Swig by handcrafted bindings. More work but we do it for the other bindings as well.

Jan 5 2021, 10:59 AM · Feature Request, gpgme, Python
werner triaged T4883: gpgme X.509 certificates have unknown validity in offline mode unless `disable-crl-checks` is set as Low priority.
Jan 5 2021, 9:31 AM · Not A Bug, S/MIME, gpgme

Dec 12 2020

martinralbrecht closed T4800: python-gpgme signature revokation assertion error: `gpg->cmd.code' failed as Resolved.

You're right. Thank you.

Dec 12 2020, 8:28 PM · gpgme, Bug Report

Dec 3 2020

gniibe claimed T5149: Incorrect error handling in export_key_minimal().

Thanks. Fixed in rM7a4fe82a017b: python: Fix key_export*..

Dec 3 2020, 3:40 AM · Python, gpgme, Bug Report

Dec 1 2020

gniibe closed T5151: GPGME++ : bad passphrase problems as Resolved.
Dec 1 2020, 5:34 AM · segv, gpgme, Bug Report

Nov 26 2020

gniibe added a comment to T5151: GPGME++ : bad passphrase problems.

For ctx->exportPublicKeys returning 0 even when a failure, (with fix of gpg) error handling should be done differently.

Nov 26 2020, 2:22 AM · segv, gpgme, Bug Report

Nov 25 2020

nmset added a comment to T5151: GPGME++ : bad passphrase problems.

Well, I fixed my loopback passphrase provider and the application no longer crashes with a bad passphrase.

Nov 25 2020, 10:16 PM · segv, gpgme, Bug Report
nmset added a comment to T5151: GPGME++ : bad passphrase problems.

relatively new feature

Yes. In the mean time, I'm using a cheap workaround : validate the input passphrase by signing a dummy text before exporting. Not that ugly and can stay for long.

Nov 25 2020, 8:33 AM · segv, gpgme, Bug Report
gniibe added a comment to T5151: GPGME++ : bad passphrase problems.

More specifically, in the situation of multiple calls, ->getPassphrase is called multiple times, and it should return newly allocated "char *" object each time, because it is released each time (in lower layer).

Nov 25 2020, 1:22 AM · segv, gpgme, Bug Report
gniibe added a comment to T5151: GPGME++ : bad passphrase problems.

My excuse: Please note that the support of exporting secret keys by GPGME are relatively new feature (see {T5046) and the fix rM3382ecb17eb5: core: Support exporting secret keys.). The fix of rM53ac732bae46: core: Call _gpgme_passphrase_status_handler when exporting keys. is a part of the support.
I think that we need more fixes for gpg/gpgme to be fully working well.

Nov 25 2020, 12:51 AM · segv, gpgme, Bug Report

Nov 24 2020

nmset added a comment to T5151: GPGME++ : bad passphrase problems.

when passphrase is wrong, the passphrase callback is called more than one time (one for primary key, and another for a subkey, more if there are more subkeys).

Nov 24 2020, 9:30 AM · segv, gpgme, Bug Report
gniibe added a comment to T5151: GPGME++ : bad passphrase problems.

Currently, gpg doesn't report any errors to status line for exporting secret keys. If needed, a patch like this is needed:

Nov 24 2020, 8:12 AM · segv, gpgme, Bug Report
gniibe added a comment to T5151: GPGME++ : bad passphrase problems.

Chasing this bug, I pushed a change: rM53ac732bae46: core: Call _gpgme_passphrase_status_handler when exporting keys.

Nov 24 2020, 7:08 AM · segv, gpgme, Bug Report

Nov 23 2020

ikloecker added a comment to T5151: GPGME++ : bad passphrase problems.
In T5151#139353, @nmset wrote:

Using Context::setExpire(), expiry time of keys and subkeys can be changed in a predictable way, with good and bad passphrase (fails with error of course).

Nov 23 2020, 12:30 PM · segv, gpgme, Bug Report
nmset added a comment to T5151: GPGME++ : bad passphrase problems.

I highly recommend to use the new ChangeExpiryJob instead of the fragile (and apparently buggy) edit interactor.

Nov 23 2020, 11:56 AM · segv, gpgme, Bug Report
nmset added a comment to T5151: GPGME++ : bad passphrase problems.

Can you try if using the overload

Nov 23 2020, 11:06 AM · segv, gpgme, Bug Report
ikloecker added a comment to T5151: GPGME++ : bad passphrase problems.

Can you try if using the overload

Error Context::exportPublicKeys(const char *patterns[], Data &keyData, unsigned int flags)

which takes an array of patterns instead of a single pattern also crashes?

Nov 23 2020, 10:15 AM · segv, gpgme, Bug Report
ikloecker added a comment to T5151: GPGME++ : bad passphrase problems.

Unless you need some special features of GpgSetExpiryTimeEditInteractor or you have to support gpgme <1.15, I highly recommend to use the new ChangeExpiryJob instead of the fragile (and apparently buggy) edit interactor.

Nov 23 2020, 10:06 AM · segv, gpgme, Bug Report

Nov 22 2020

werner triaged T5151: GPGME++ : bad passphrase problems as High priority.
Nov 22 2020, 10:22 AM · segv, gpgme, Bug Report

Nov 20 2020

lovetox updated the task description for T5149: Incorrect error handling in export_key_minimal().
Nov 20 2020, 9:29 PM · Python, gpgme, Bug Report
werner triaged T5149: Incorrect error handling in export_key_minimal() as Normal priority.
Nov 20 2020, 9:19 AM · Python, gpgme, Bug Report

Nov 19 2020

lovetox updated the task description for T5149: Incorrect error handling in export_key_minimal().
Nov 19 2020, 11:17 PM · Python, gpgme, Bug Report
lovetox created T5149: Incorrect error handling in export_key_minimal().
Nov 19 2020, 11:16 PM · Python, gpgme, Bug Report

Nov 18 2020

ikloecker closed T5142: Qt gpgme's sign_key function should not set a remark with an empty string as Resolved.

Fixed. Workaround for gpgme 1.15 (and earlier) implemented in Kleopatra: Do not call setRemark() with an empty QString.

Nov 18 2020, 1:55 PM · gpgme, qt, Bug Report
ikloecker added a comment to T5142: Qt gpgme's sign_key function should not set a remark with an empty string.

I think Kleopatra is affected. It calls setRemark() on the job unconditionally with the text from the widget, and I'm pretty sure that this text is empty but not a null QString, if the user doesn't enter a remark.

Nov 18 2020, 12:24 PM · gpgme, qt, Bug Report
werner assigned T5142: Qt gpgme's sign_key function should not set a remark with an empty string to ikloecker.

Ingo, can you please check? I guess we are not affected because Kleo already checks for an empty string. But dkg's suggestion sounds good to me.

Nov 18 2020, 10:34 AM · gpgme, qt, Bug Report
dkg created T5142: Qt gpgme's sign_key function should not set a remark with an empty string.
Nov 18 2020, 9:38 AM · gpgme, qt, Bug Report

Nov 13 2020

gniibe closed T5074: Leaking fd as Resolved.
Nov 13 2020, 7:17 AM · Restricted Project, gpgme, Bug Report
gniibe closed T4688: `make distcheck` fails trying to make `rst/gpgme-python-howto.rst` as Resolved.
Nov 13 2020, 7:17 AM · Restricted Project, gpgme, Bug Report

Nov 12 2020

gniibe added a comment to T4800: python-gpgme signature revokation assertion error: `gpg->cmd.code' failed.

Thanks for your report, but your excerpt is irrelevant.

Nov 12 2020, 9:11 AM · gpgme, Bug Report
gniibe closed T5046: Exporting secret keys via gpgme as Resolved.

Push the change.

Nov 12 2020, 5:15 AM · gpgme, Bug Report
gniibe claimed T5046: Exporting secret keys via gpgme.

Thank you.

Nov 12 2020, 5:10 AM · gpgme, Bug Report

Nov 11 2020

werner created T5131: Release GPGME 1.15.0.
Nov 11 2020, 5:08 PM · gpgme, Release Info

Oct 28 2020

gniibe closed T5075: [python-gpgme] Traceback when running with python -OO as Resolved.

Pushed the change.

Oct 28 2020, 12:51 AM · gpgme, Python, Bug Report
gniibe claimed T5075: [python-gpgme] Traceback when running with python -OO.
Oct 28 2020, 12:30 AM · gpgme, Python, Bug Report

Oct 27 2020

gniibe added a comment to T5075: [python-gpgme] Traceback when running with python -OO.

IIUC, fix can be like this:

diff --git a/lang/python/src/core.py b/lang/python/src/core.py
index 996c3b0f..646bbc60 100644
--- a/lang/python/src/core.py
+++ b/lang/python/src/core.py
@@ -147,7 +147,12 @@ class GpgmeWrapper(object):
                     gpgme.gpg_raise_callback_exception(slf)
                 return result
Oct 27 2020, 8:31 AM · gpgme, Python, Bug Report

Oct 3 2020

werner closed T5088: gpgme-1-13-1 test failure and errors and build errors as Resolved.
Oct 3 2020, 7:55 PM · gpgme, toolchain, Bug Report

Oct 1 2020

gniibe changed the status of T5074: Leaking fd from Open to Testing.
Oct 1 2020, 4:21 AM · Restricted Project, gpgme, Bug Report
gniibe claimed T5074: Leaking fd.

Good catch. Thank you.

Oct 1 2020, 4:18 AM · Restricted Project, gpgme, Bug Report
gniibe accepted D508: Close unused fd.
Oct 1 2020, 4:18 AM · gpgme

Sep 26 2020

despair created D508: Close unused fd.
Sep 26 2020, 9:23 AM · gpgme

Sep 18 2020

mathieui created T5075: [python-gpgme] Traceback when running with python -OO.
Sep 18 2020, 5:11 PM · gpgme, Python, Bug Report
despair created T5074: Leaking fd.
Sep 18 2020, 8:29 AM · Restricted Project, gpgme, Bug Report

Sep 7 2020

bernhard renamed T5046: Exporting secret keys via gpgme from Exporting secret keys to Exporting secret keys via gpgme.
Sep 7 2020, 10:17 AM · gpgme, Bug Report

Sep 5 2020

dblouis added a comment to T5046: Exporting secret keys via gpgme.

The following patch make it work:

Sep 5 2020, 7:35 PM · gpgme, Bug Report
dblouis updated the task description for T5046: Exporting secret keys via gpgme.
Sep 5 2020, 7:03 PM · gpgme, Bug Report

Sep 2 2020

dblouis updated the task description for T5046: Exporting secret keys via gpgme.
Sep 2 2020, 5:41 PM · gpgme, Bug Report
dblouis created T5046: Exporting secret keys via gpgme.
Sep 2 2020, 5:30 PM · gpgme, Bug Report

Aug 29 2020

werner added a comment to T5037: dn.cpp:181: suspicious loop.

FWIW, here an example of warnings we use. Yes it starts with -Wall but there are a couple of more specific warnings and at a few places we even use pragmas to disable warnings. And it depends on the compiler version used.

Aug 29 2020, 5:16 PM · gnupg, gpgme, Bug Report

Aug 28 2020

dcb added a comment to T5037: dn.cpp:181: suspicious loop.

-Wall is not a good idea in general because it is too unspecific. This is why we have a list of useful warning and >warnings we ignore with gcc.

Aug 28 2020, 7:53 PM · gnupg, gpgme, Bug Report
werner added a comment to T5037: dn.cpp:181: suspicious loop.

-Wall is not a good idea in general because it is too unspecific. This is why we have a list of useful warning and warnings we ignore with gcc.

Aug 28 2020, 12:43 PM · gnupg, gpgme, Bug Report
dcb added a comment to T5037: dn.cpp:181: suspicious loop.

I found the bug by compiling the package with C/C++ compiler clang and flag -Wall.

Aug 28 2020, 9:32 AM · gnupg, gpgme, Bug Report
werner closed T5037: dn.cpp:181: suspicious loop as Resolved.

Fixed in gnupg and gpgme. it is not serious because that is just a failsafe check; libksba creates these strings and it does it correctly.

Aug 28 2020, 9:15 AM · gnupg, gpgme, Bug Report
werner added a project to T5037: dn.cpp:181: suspicious loop: gnupg.

We have the same flaw in gnupg.

Aug 28 2020, 9:00 AM · gnupg, gpgme, Bug Report
werner claimed T5037: dn.cpp:181: suspicious loop.
Aug 28 2020, 8:54 AM · gnupg, gpgme, Bug Report
gniibe added a project to T5037: dn.cpp:181: suspicious loop: gpgme.
Aug 28 2020, 3:06 AM · gnupg, gpgme, Bug Report

Aug 14 2020

ikloecker changed the status of T4395: Kleopatra: Missing error handling when changing expiry from Open to Testing.

Fixed.

Aug 14 2020, 12:01 PM · gpa, gnupg, gpgme, gpg4win, kleopatra

Aug 13 2020

ikloecker claimed T4395: Kleopatra: Missing error handling when changing expiry.

Taking: Still does not work although now --quick-set-expire is used by gpgme.

Aug 13 2020, 4:47 PM · gpa, gnupg, gpgme, gpg4win, kleopatra
werner closed T4793: New GPGME API to support card personalization as Wontfix.

We won't do such a interface now.

Aug 13 2020, 3:22 PM · scd, gpgme

Aug 12 2020

ikloecker changed the status of T5003: GpgME++: Add support for gpgme_set_expire, a subtask of T4999: GPGME: Add interface for quick-set-expire, from Open to Testing.
Aug 12 2020, 12:28 PM · gpgme, kleopatra, gpg4win