Feed All Stories

Today

gniibe added a comment to E406: Weekly Standup.

Last week:

  • configure.ac and VERSION: T3283: done
  • gpg/card bug for forcesig: T4177: fixed
  • libgpg-error: config.guess, config.sub updated
  • gpg-error-config: now, it can be arch independent with "auto" mode, ready to be Debian (and other multiarch environment)
    • Many/Most of Alon Bar-Lev's points are now irrelevant
    • Let's see how new gpg-error-config will be used on Debian and others

This week:

Mon, Oct 22, 4:10 AM
gniibe changed the status of T4085: Add support for pkg-config from Open to Testing.

Done for libgpg-error.
Will extend to other software.

Mon, Oct 22, 4:08 AM
gniibe abandoned D467: Enable dynamically defining pkg_config_libdir for multiarch.

Applied to master: rE91bcb2c7d824: gpg-error-config: Support "auto", architecture independent script.

Mon, Oct 22, 4:06 AM
gniibe is attending E406: Weekly Standup.
Mon, Oct 22, 3:52 AM
gniibe committed rE12b834ba59ae: yat2m: Avoid compiler warnings. (authored by gniibe).
yat2m: Avoid compiler warnings.
Mon, Oct 22, 3:35 AM
gniibe committed rE91bcb2c7d824: gpg-error-config: Support "auto", architecture independent script. (authored by gniibe).
gpg-error-config: Support "auto", architecture independent script.
Mon, Oct 22, 3:23 AM
gniibe committed rE6d2e0546d50a: build: Update config.{guess,sub} to {2018-08-29,2018-08-29}. (authored by gniibe).
build: Update config.{guess,sub} to {2018-08-29,2018-08-29}.
Mon, Oct 22, 3:10 AM

Yesterday

BenM committed rM59e38e3d2c14: Python: docs tweaks (authored by BenM).
Python: docs tweaks
Sun, Oct 21, 8:50 PM
E5X created T4201: gpg: keyserver send failed: Server indicated a failure.
Sun, Oct 21, 4:04 PM · Bug Report
werner triaged T4175: HTTP 5xx should fail over to the next server as High priority.
Sun, Oct 21, 2:48 PM · dirmngr, Feature Request
werner created T4200: Evaluate sub-addresses in gpg and wkd.
Sun, Oct 21, 2:46 PM · gnupg, Feature Request
Alex77 added a comment to T4180: Kleopatra: Crash when decrypting large archives.

It is propably related to decrypting large (single) tar-files. It works flawlessly when renaming the tar-files to another extension before encrypting and afterwards decrypting it again. But as long as it is named xyz.tar Kleopatra crashes. Could it be that untarring causes some "out of memory" failure? I recognized that while decrypting the tar there was no sign that the decryption process would allocate any disk space. There ist just an empty randomly named folder being created upon decryption.

Sun, Oct 21, 10:38 AM · Bug Report, kleopatra, gpg4win
aheinecke added a comment to T4194: Outlook 365 GgpOL - "Failed to resolve recipients. Operation failed. This is usually caused by a bug in GpgOL".

Thanks for taking the time to create this report. It should be fixed in Gpg4win-3.1.4 please try out that version. :-)

Sun, Oct 21, 9:48 AM · Bug Report
aheinecke merged T4194: Outlook 365 GgpOL - "Failed to resolve recipients. Operation failed. This is usually caused by a bug in GpgOL" into T4132: Outlook 2016 - "Failed to resolve recipients. Operation failed. This is usually caused by a bug in GpgOL".
Sun, Oct 21, 9:48 AM · Bug Report, gpg4win
aheinecke merged task T4194: Outlook 365 GgpOL - "Failed to resolve recipients. Operation failed. This is usually caused by a bug in GpgOL" into T4132: Outlook 2016 - "Failed to resolve recipients. Operation failed. This is usually caused by a bug in GpgOL".
Sun, Oct 21, 9:48 AM · Bug Report

Sat, Oct 20

gusnan added a comment to T4199: Disable scaling for cardkey icon in keylist.

Related, the tab formatting (mixed first one tab and then space), as in lines 131 to 137 of src/icons.c _really_ causes headaches.

Sat, Oct 20, 5:09 PM · gpa, Bug Report
gusnan updated the task description for T4199: Disable scaling for cardkey icon in keylist.
Sat, Oct 20, 1:31 PM · gpa, Bug Report
gusnan created T4199: Disable scaling for cardkey icon in keylist.
Sat, Oct 20, 1:29 PM · gpa, Bug Report
BenM added a comment to T4191: gpgme python bindings test t-callbacks.py fails on 32-bit platforms.

Nesting the op_genkey() calls inside try/except statements with the exceptions being caught as "oops" and otherwise "oops" being set to None provides a means of checking whether the 2099 expiration is a problem and 2037 is not.

Sat, Oct 20, 2:37 AM · Python, gpgme, Bug Report
BenM committed rM651a1afe80bc: python bindings: callback test (authored by BenM).
python bindings: callback test
Sat, Oct 20, 2:10 AM
BenM added a comment to T4191: gpgme python bindings test t-callbacks.py fails on 32-bit platforms.

Well, I guess this answers my question in T4192 regarding why op_genkey was in use.

Sat, Oct 20, 1:40 AM · Python, gpgme, Bug Report
BenM added a comment to T4192: python gpg segfaults when first parameter to gpg.Context().op_genkey() is None or otherwise malformed.

Interesting, I'll look into it, but is there a reason for using op_genkey instead of key_create? The latter should be easier and more pythonic.

Sat, Oct 20, 1:16 AM · Python, gpgme
BenM added a comment to T3354: gpgme only builds against two versions of python at once.

This should already be possible, iirc the Arch Linux maintainer patched
it in. I believe there is a 'prepare' target that takes care of all the
preparations (duh), and then you can build for every Python version by
executing the Python build system with the Python version of your choice.

Sat, Oct 20, 12:53 AM · Python, gpgme, Bug Report

Fri, Oct 19

dkg added a comment to T3354: gpgme only builds against two versions of python at once.

@werner, thanks for rMff6ff616aea6 -- i've backported it to debian's packaging and it lets us cleanly build against all installed versions of python.

Fri, Oct 19, 11:47 PM · Python, gpgme, Bug Report
b3yond added a comment to T4198: Pinentry doesn't capture input correctly, crashes terminal instead.

Almost the same bug also happens with pinentry-tty.

Fri, Oct 19, 8:36 PM · Bug Report
b3yond added a comment to T4198: Pinentry doesn't capture input correctly, crashes terminal instead.

Sorry, pressed enter too early. the bug report is complete so far. I guess it is a lot of work to reproduce, so I'd try to be very responsive instead.

Fri, Oct 19, 8:24 PM · Bug Report
b3yond updated the task description for T4198: Pinentry doesn't capture input correctly, crashes terminal instead.
Fri, Oct 19, 8:23 PM · Bug Report
b3yond updated the task description for T4198: Pinentry doesn't capture input correctly, crashes terminal instead.
Fri, Oct 19, 8:22 PM · Bug Report
b3yond set Version to pinentry 1.0.0 on T4198: Pinentry doesn't capture input correctly, crashes terminal instead.
Fri, Oct 19, 8:21 PM · Bug Report
werner added a comment to T4198: Pinentry doesn't capture input correctly, crashes terminal instead.

Thanks for the reporting templates; would mind to fill in some bug details?

Fri, Oct 19, 8:00 PM · Bug Report
b3yond created T4198: Pinentry doesn't capture input correctly, crashes terminal instead.
Fri, Oct 19, 7:06 PM · Bug Report
Wolfx created T4197: Can't change language of Kleopatra.
Fri, Oct 19, 6:25 PM · Bug Report, gpg4win
marcel.svitalsky added a comment to T4173: gpgme 1.12.0 make check fails.

Here goes.

Fri, Oct 19, 3:59 PM · gpgme, Bug Report
dkg committed rEe99480affa59: build-aux: use https instead of http (authored by dkg).
build-aux: use https instead of http
Fri, Oct 19, 3:12 PM
JJworx added a comment to T4111: GpgOL: Rare Outlook freeze when decrypting / verifying mails.

With Gpg4win 3.1.4 and the two blocking options, searching for any name in Inbox, entering more than 2 letters will crash Outlook 100%.

Fri, Oct 19, 8:44 AM · gpg4win, gpgol
gniibe added a comment to T4167: Pinentry prompt is confusing with regards to multiple smartcards when gpg-agent is used as ssh-agent.

there should be clearer labelling of smartcards so that users can tell them apart more easily

Fri, Oct 19, 6:17 AM · ssh, gpgagent, Bug Report
gniibe added a comment to T4085: Add support for pkg-config.

I did a small update to D467: Enable dynamically defining pkg_config_libdir for multiarch. The name is changed to "auto" (was: "unknown"). It now support other cases where CC is not a kind of gcc.

Fri, Oct 19, 4:07 AM
gniibe updated the diff for D467: Enable dynamically defining pkg_config_libdir for multiarch.

Support CC is the one of clang.

Fri, Oct 19, 3:59 AM

Thu, Oct 18

werner lowered the priority of T3443: Install gpg 1.4 as gpg1 from Unbreak Now! to Normal.
Thu, Oct 18, 8:35 PM · Feature Request
werner added a comment to T4191: gpgme python bindings test t-callbacks.py fails on 32-bit platforms.

That is up to @BenM

Thu, Oct 18, 7:56 PM · Python, gpgme, Bug Report
werner closed T4196: gpgme-json is confused about malformed input as Invalid.

The default mode of the tool is to use the Native Messaging protocol which prefixes requests and responses with a 32 bit native endian length header. It is the default due to the way browsers call native messaging programs. If you want to use it in a different way, use the option --single or --interactive.

Thu, Oct 18, 7:54 PM · gpgme
werner added a comment to T4195: Fix time API in gpgme.

That it will not be a problem on that or near that date but already now because some use expiration times of 20 years.

Thu, Oct 18, 7:49 PM · gpgme, Feature Request
dkg created T4196: gpgme-json is confused about malformed input.
Thu, Oct 18, 6:33 PM · gpgme
dkg added a comment to T4195: Fix time API in gpgme.

what does "not only on Jan 19, 2038" mean here?

Thu, Oct 18, 6:21 PM · gpgme, Feature Request
dkg added a comment to T4191: gpgme python bindings test t-callbacks.py fails on 32-bit platforms.

the error i'd seen earlier after reverting the change was an error due to running t-callbacks.py on its own, without the rest of the test suite framework. running it within the test suite framework (with the change reverted), it passes without a problem. I've uploaded 1.12.0-4 to debian with a patch to t-callbacks.py. I can apply it upstream, if you want me to.

Thu, Oct 18, 6:20 PM · Python, gpgme, Bug Report
werner added a comment to T4191: gpgme python bindings test t-callbacks.py fails on 32-bit platforms.

See T4195 for the general problem

Thu, Oct 18, 6:10 PM · Python, gpgme, Bug Report
werner created T4195: Fix time API in gpgme.
Thu, Oct 18, 6:09 PM · gpgme, Feature Request
zillem created T4194: Outlook 365 GgpOL - "Failed to resolve recipients. Operation failed. This is usually caused by a bug in GpgOL".
Thu, Oct 18, 5:55 PM · Bug Report
werner assigned T4191: gpgme python bindings test t-callbacks.py fails on 32-bit platforms to BenM.

I have not looked at the new error but the year 2099 is clearly a y2k38 problem. gpg has some precautions but I have not checked the key generation code. The gpgme interface uses a signed long for the expiration time, although that it parses the dates received from gpg as an unsigned long. Right now, I am not sure why we did this because an unsigned long would just work. Maybe we can change or enhance the interface. But in any case this is a general problem and not specific to this bug.

Thu, Oct 18, 5:54 PM · Python, gpgme, Bug Report
werner changed the status of T4192: python gpg segfaults when first parameter to gpg.Context().op_genkey() is None or otherwise malformed from Open to Testing.
Thu, Oct 18, 5:41 PM · Python, gpgme
werner committed rMfbac11b19d97: core: Fix segv in genkey when no endtag is provided. (authored by werner).
core: Fix segv in genkey when no endtag is provided.
Thu, Oct 18, 5:41 PM
werner added a commit to T4192: python gpg segfaults when first parameter to gpg.Context().op_genkey() is None or otherwise malformed: rMfbac11b19d97: core: Fix segv in genkey when no endtag is provided..
Thu, Oct 18, 5:41 PM · Python, gpgme
werner added a comment to T4192: python gpg segfaults when first parameter to gpg.Context().op_genkey() is None or otherwise malformed.

@BenM thinks that swig is still the best option. Actually this case helped to find a bug in gpgme. See my next commit.

Thu, Oct 18, 5:40 PM · Python, gpgme
dkg added a comment to T4191: gpgme python bindings test t-callbacks.py fails on 32-bit platforms.

The error might have to do with rM46da79e3de99a7b65748994921d6aab73b9974e7 which looks like it might run afoul of 32-bit time_t (Y2K38 problem?).

Thu, Oct 18, 5:33 PM · Python, gpgme, Bug Report
dkg added a comment to T4191: gpgme python bindings test t-callbacks.py fails on 32-bit platforms.

here's me running just the specific test:

Thu, Oct 18, 5:20 PM · Python, gpgme, Bug Report
dkg added a comment to T4192: python gpg segfaults when first parameter to gpg.Context().op_genkey() is None or otherwise malformed.

If the swig interface isn't robust, can we replace it with something that will be more robust? Or do we need to wrap it with hand-crafted error checks that describe the API's constraints? It's pretty bad form to segfault python.

Thu, Oct 18, 5:01 PM · Python, gpgme
werner committed rM174af15725d4: core: Return an error if NULL is provided for genkey's parms. (authored by werner).
core: Return an error if NULL is provided for genkey's parms.
Thu, Oct 18, 5:00 PM
werner added a commit to T4192: python gpg segfaults when first parameter to gpg.Context().op_genkey() is None or otherwise malformed: rM174af15725d4: core: Return an error if NULL is provided for genkey's parms..
Thu, Oct 18, 5:00 PM · Python, gpgme
dkg added a comment to T4192: python gpg segfaults when first parameter to gpg.Context().op_genkey() is None or otherwise malformed.

When parms is malformed but not NULL, then the error appears to be a bug in the python bindings in _wrap_gpgme_release. maybe something is going wrong because of the "cannot allocate memory" error? in particular:

Thu, Oct 18, 4:52 PM · Python, gpgme
werner added a comment to T4192: python gpg segfaults when first parameter to gpg.Context().op_genkey() is None or otherwise malformed.

That swig based interface is not really robust and it can't be because it does not known about API requirements. I bet there are other places where mandatory parameters are not checked.

Thu, Oct 18, 4:13 PM · Python, gpgme
dkg added a comment to T4192: python gpg segfaults when first parameter to gpg.Context().op_genkey() is None or otherwise malformed.

To deal with passing None correctly, it looks to me like the problem is inside get_parameter() in src/genkey.c -- there ought to be a check for parms being NULL, and then returning either GPG_ERR_INV_VALUE or something else. otherwise, the segfault happens inside strstr.

Thu, Oct 18, 4:06 PM · Python, gpgme
dkg added a comment to T4192: python gpg segfaults when first parameter to gpg.Context().op_genkey() is None or otherwise malformed.

It the first error (first param = None) is a segfault in versions 1.11.1-2 (debian unstable i386) and 1.8.0-3+b2 (debian stretch amd64).

Thu, Oct 18, 1:15 PM · Python, gpgme
adam added a comment to T4189: GngOL cannot decrypt title nor sender; How to disable certificate selection dialog?.

Dear aheinecke,

Thu, Oct 18, 1:04 PM · kleopatra, gnupg, Enigmail, OpenPGP, gpgol
aheinecke closed T4189: GngOL cannot decrypt title nor sender; How to disable certificate selection dialog? as Invalid.

Hi Adam,

Thu, Oct 18, 12:26 PM · kleopatra, gnupg, Enigmail, OpenPGP, gpgol
JJworx added a comment to T4188: moving encrypted mails out of Junk folder fails.

My pic didn't appear inline, so I'll add it again as attachment

Thu, Oct 18, 12:24 PM · Bug Report, gpg4win
JJworx added a comment to T4188: moving encrypted mails out of Junk folder fails.

maybe a setting is also involved. marking the mail in the Junk folder gives:

Thu, Oct 18, 12:23 PM · Bug Report, gpg4win
aheinecke claimed T4188: moving encrypted mails out of Junk folder fails.

There was a report about this in the past T3956
I tried it out then with a junk folder and for me it worked so I closed the issue as a duplicate of the general moving mail problem.

Thu, Oct 18, 12:20 PM · Bug Report, gpg4win
aheinecke claimed T4193: Debug log has full content of a regular mail even when checkmarked not to have decrypted mail content.

I broke it a day before the release and didn't notice.
Since f34cd2782bc0cd6f359c14de4d4a889ec4e49a6e it accidentally logs all string allocations if one of DEBUG_TRACE DEBUG_MEMORY or DEBUG_DATA is set. The intention was that it should log when all three are set.

Thu, Oct 18, 11:49 AM · Bug Report, gpg4win
werner changed the status of T3354: gpgme only builds against two versions of python at once from Open to Testing.
Thu, Oct 18, 11:48 AM · Python, gpgme, Bug Report
werner triaged T4191: gpgme python bindings test t-callbacks.py fails on 32-bit platforms as High priority.
Thu, Oct 18, 11:46 AM · Python, gpgme, Bug Report
werner added a comment to rM2f12427e416a: doc: use https:// for www.gnu.org.

FWIW, you should better not change the build-aux/ files becuase they are supposed to be updated from libgpg-error.

Thu, Oct 18, 11:42 AM
werner triaged T4190: https://git.gnupg.org/ is out of date as Normal priority.
Thu, Oct 18, 11:40 AM · gpgweb, Bug Report
werner assigned T4192: python gpg segfaults when first parameter to gpg.Context().op_genkey() is None or otherwise malformed to BenM.
Thu, Oct 18, 11:39 AM · Python, gpgme
werner added a comment to T4192: python gpg segfaults when first parameter to gpg.Context().op_genkey() is None or otherwise malformed.

Is this new in gpgme 1.12 or might it also be in older versions?

Thu, Oct 18, 11:38 AM · Python, gpgme
werner committed rGPAd7f0e50b7a45: Replace use of the GPGME_KEYLIST_MODE_LOCATE alias (authored by werner).
Replace use of the GPGME_KEYLIST_MODE_LOCATE alias
Thu, Oct 18, 11:29 AM
werner committed rGPA9ac18119fb3c: Allow searchin in the key listing also for mail addresses. (authored by werner).
Allow searchin in the key listing also for mail addresses.
Thu, Oct 18, 11:17 AM
JJworx created T4193: Debug log has full content of a regular mail even when checkmarked not to have decrypted mail content.
Thu, Oct 18, 10:05 AM · Bug Report, gpg4win
dkg renamed T4192: python gpg segfaults when first parameter to gpg.Context().op_genkey() is None or otherwise malformed from python gpg segfaults when first parameter to gpg.Context().op_genkey() is None to python gpg segfaults when first parameter to gpg.Context().op_genkey() is None or otherwise malformed.
Thu, Oct 18, 8:14 AM · Python, gpgme
dkg created T4192: python gpg segfaults when first parameter to gpg.Context().op_genkey() is None or otherwise malformed.
Thu, Oct 18, 8:05 AM · Python, gpgme
aheinecke committed rD727c686e2cbf: swdb: Gpg4win-3.1.4 release (authored by aheinecke).
swdb: Gpg4win-3.1.4 release
Thu, Oct 18, 7:19 AM
dkg updated the task description for T4191: gpgme python bindings test t-callbacks.py fails on 32-bit platforms.
Thu, Oct 18, 6:38 AM · Python, gpgme, Bug Report
dkg created T4191: gpgme python bindings test t-callbacks.py fails on 32-bit platforms.
Thu, Oct 18, 6:38 AM · Python, gpgme, Bug Report
dkg committed rM9de1c96ac3cf: python: do not export HAVE_CXX11 definition (authored by dkg).
python: do not export HAVE_CXX11 definition
Thu, Oct 18, 6:31 AM
dkg committed rM12b0b5c8941b: doc: convert more links to equivalent https:// URLs (authored by dkg).
doc: convert more links to equivalent https:// URLs
Thu, Oct 18, 6:29 AM
dkg committed rMa81534fed8ff: doc: convert more http:// links to https:// (authored by dkg).
doc: convert more http:// links to https://
Thu, Oct 18, 6:29 AM
dkg committed rM2f12427e416a: doc: use https:// for www.gnu.org (authored by dkg).
doc: use https:// for www.gnu.org
Thu, Oct 18, 6:29 AM
dkg created T4190: https://git.gnupg.org/ is out of date.
Thu, Oct 18, 6:15 AM · gpgweb, Bug Report
gniibe added a comment to T4085: Add support for pkg-config.

@werner, I think that the scope is different. The bug reporters' claim were basically "GnuPG's cross building is different (for them), why?". They didn't claim GnuPG were unable to be cross-build.

Thu, Oct 18, 3:09 AM

Wed, Oct 17

werner closed T4187: Error in decrypt_file function as Invalid.

That is a different python binding than what we provide with gpgme. Our gpgme based binding is called "gpg" and was formerly known as "pyme". I strongly suggest to install gpgme and not to use pip because the "gpg" module over there has not been updated for quite some time.

Wed, Oct 17, 9:59 PM · Bug Report
perminder added a comment to T4187: Error in decrypt_file function.

from pip i used command
pip install gnupg

Wed, Oct 17, 8:04 PM · Bug Report
werner created E407: OpenPGP Summit.
Wed, Oct 17, 5:48 PM
werner added a comment to T4187: Error in decrypt_file function.

From where did you go that "python package gnupg==2.3.1" ?
Sorry, I can see what kind of Python code this is. It is not part of GnuPG, though.

Wed, Oct 17, 5:43 PM · Bug Report
mkrambach committed rM9b6ed6a80fc7: js: increase default startup timeout (authored by mkrambach).
js: increase default startup timeout
Wed, Oct 17, 1:13 PM
adam created T4189: GngOL cannot decrypt title nor sender; How to disable certificate selection dialog? in the S1 Public space.
Wed, Oct 17, 11:49 AM · kleopatra, gnupg, Enigmail, OpenPGP, gpgol
justus added a comment to T3354: gpgme only builds against two versions of python at once.

"dkg (Daniel Kahn Gillmor)" <noreply@dev.gnupg.org> writes:

what's the status on this? i'd love to be able to build binaries for
both python3.6 and 3.7 for debian. as it stands right now, the
python3.7 continuous integration test for debian is failing
https://ci.debian.net/data/autopkgtest/unstable/amd64/g/gpgme1.0/1158040/log.gz.

Wed, Oct 17, 11:46 AM · Python, gpgme, Bug Report
JJworx created T4188: moving encrypted mails out of Junk folder fails.
Wed, Oct 17, 10:56 AM · Bug Report, gpg4win
werner added a comment to T4085: Add support for pkg-config.

Frankly, I still do not understand the problems with cross-compiling. Since 2014 we support SYSROOT and the respective foo-config script is installed as $SYSROOT/bin/foo-config. This guarantees that a matching config script is used and because it is a script it works on all platforms from which we are cross-building. It is also fine to install that very script in the bin dir of the (target) host; it will work there as long as host is a Unix system. So it does not matter whether it is a plain text file (a la pgk-config) or a POSIX script. The only important thing is to really install the foo-config at SYSROOOT/bin - make install does it.

Wed, Oct 17, 10:45 AM
der.dorian added a comment to T4185: I can not import my secret private key -> always failure.

Hi Andre,

Wed, Oct 17, 10:38 AM · Bug Report, gpg4win
werner committed rMff6ff616aea6: python: Auto-check for all installed python versions. (authored by werner).
python: Auto-check for all installed python versions.
Wed, Oct 17, 10:07 AM
werner added a commit to T3354: gpgme only builds against two versions of python at once: rMff6ff616aea6: python: Auto-check for all installed python versions..
Wed, Oct 17, 10:07 AM · Python, gpgme, Bug Report