Page MenuHome GnuPG
Feed All Stories

Oct 22 2018

werner committed rGa2bd4a64e5b0: dirmngr: Prepare for updated WKD specs with ?l= param (authored by werner).
dirmngr: Prepare for updated WKD specs with ?l= param
Oct 22 2018, 8:14 PM
werner closed T4014: when verifying signatures, gpg and gpgv should ensure signing capabilities as Resolved.
Oct 22 2018, 7:32 PM · gpgv, gnupg, Bug Report
werner committed rGb0d6e26bf3c8: gpg: Fix extra check for sign usage of a data signature. (authored by werner).
gpg: Fix extra check for sign usage of a data signature.
Oct 22 2018, 7:29 PM
werner added a comment to T4182: Dirmngr: Keeps files in homedir open on Windows.

iirrc, that are memory mapped files.

Oct 22 2018, 5:35 PM · dirmngr
werner committed rG68b8096b6617: agent: Fix build regression for Windows. (authored by werner).
agent: Fix build regression for Windows.
Oct 22 2018, 5:28 PM
werner committed rG0a7f446c1892: dirmngr: In verbose mode print the OCSP responder id. (authored by werner).
dirmngr: In verbose mode print the OCSP responder id.
Oct 22 2018, 2:52 PM
werner committed rGf03928b16c4f: tools: Replace duplicated code in mime-maker. (authored by werner).
tools: Replace duplicated code in mime-maker.
Oct 22 2018, 2:52 PM
aheinecke added a comment to T4182: Dirmngr: Keeps files in homedir open on Windows.

@werner
This was an issue we talked about.

Oct 22 2018, 1:28 PM · dirmngr
werner added a comment to rE12b834ba59ae: yat2m: Avoid compiler warnings..

Can you please be so kind and show the compiler warning? I can't see any fault in the code unless the OS is broken.
Instead of that change I would suggest to change the sprintf to

snprintf (buffer,  sizeof buffer, "%04d-%02d-%02d",
          1900+tp->tm_year, tp->tm_mon+1, tp->tm_mday )
Oct 22 2018, 12:51 PM
aheinecke changed the status of T4193: Debug log has full content of a regular mail even when checkmarked not to have decrypted mail content from Open to Testing.
Oct 22 2018, 12:17 PM · Bug Report, gpg4win
aheinecke committed rO2aa65cb3d86d: Fix check for debug levels for string debug (authored by aheinecke).
Fix check for debug levels for string debug
Oct 22 2018, 12:17 PM
aheinecke closed T4204: GpgOL: Fallback to HKLM for registry keys does not seem to work as Resolved.

There were two ways to access the registry and the config value load did not fallback to HKLM. I've removed the second way and I've tested it and it works now as it uses the codepath with the fallback.

Oct 22 2018, 12:15 PM · gpg4win, Bug Report, gpgol
aheinecke committed rO1f378c00bda5: Fix HKLM fallback for config values (authored by aheinecke).
Fix HKLM fallback for config values
Oct 22 2018, 12:13 PM
aheinecke committed rO50e65b8425e2: Pass lang correctly to config dialog (authored by aheinecke).
Pass lang correctly to config dialog
Oct 22 2018, 12:13 PM
JW-D added a comment to T4203: Problems with attachment contnuous.

Thanks for the quick reply!

Oct 22 2018, 12:11 PM · Bug Report, gpg4win
werner created T4205: Release libgpg-error 1.33.
Oct 22 2018, 12:01 PM · gpgrt, Release Info
aheinecke created T4204: GpgOL: Fallback to HKLM for registry keys does not seem to work.
Oct 22 2018, 11:40 AM · gpg4win, Bug Report, gpgol
aheinecke committed rWb5ac8e746a67: web: News for 3.1.4 (authored by aheinecke).
web: News for 3.1.4
Oct 22 2018, 11:31 AM
aheinecke added a comment to T4188: moving encrypted mails out of Junk folder fails.

Thanks. I've never seen that, so my test definitely did not test moving junk mails.

Oct 22 2018, 11:16 AM · Bug Report, gpg4win
E5X added a comment to T4201: gpg: keyserver send failed: Server indicated a failure.

It doesn't work too.

Oct 22 2018, 11:07 AM · Bug Report
aheinecke triaged T4197: Can't change language of Kleopatra as Normal priority.

Hi,
As for getting Help, we all speak German ;-P

Oct 22 2018, 10:44 AM · kleopatra, Bug Report, gpg4win
aheinecke claimed T4203: Problems with attachment contnuous.
Oct 22 2018, 10:40 AM · Bug Report, gpg4win
aheinecke triaged T4203: Problems with attachment contnuous as High priority.

Thank you for the feedback. Very strange, that should have been solved indeed and in my tests it works and I also got feedback from other reporters who had that problem with 3.1.3 that it works in 3.1.4.

Oct 22 2018, 10:39 AM · Bug Report, gpg4win
madhon added a comment to T3381: dirmngr won't start on Windows 10 with admin level account.

I'm also seeing the same behaviour on a freshly installed Windows 10 1809 with Gpg4win v3.1.4. Have to kill dirmngr from task manager to be able to get into Kleopatra.

Oct 22 2018, 10:27 AM · libassuan, Restricted Project, gpg4win, dirmngr, Windows, Bug Report
werner closed T4201: gpg: keyserver send failed: Server indicated a failure as Resolved.

I am sorry about this but the hkps pool has load problems because only a few servers are left. You might have a better chance getting your key uploaded by configuring another pool. See https://sks-keyservers.net . The admins are aware of the problem but there won't be any short time solution.

Oct 22 2018, 10:02 AM · Bug Report
JW-D created T4203: Problems with attachment contnuous.
Oct 22 2018, 7:50 AM · Bug Report, gpg4win
gniibe closed T4202: gpg is not known on line 1 in source list as Invalid.

Apparently, it is not the bug of gpg, but you just specified wrong line in your /etc/apt/souces.list.d/skypeforlinux.list, where filename extension .gpg is irrelevant.

Oct 22 2018, 6:56 AM · Bug Report
rak created T4202: gpg is not known on line 1 in source list.
Oct 22 2018, 4:52 AM · Bug Report
gniibe changed the status of T4085: Add support for pkg-config from Open to Testing.

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

Oct 22 2018, 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.

Oct 22 2018, 4:06 AM
gniibe committed rE12b834ba59ae: yat2m: Avoid compiler warnings. (authored by gniibe).
yat2m: Avoid compiler warnings.
Oct 22 2018, 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.
Oct 22 2018, 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}.
Oct 22 2018, 3:10 AM

Oct 21 2018

BenM committed rM59e38e3d2c14: Python: docs tweaks (authored by BenM).
Python: docs tweaks
Oct 21 2018, 8:50 PM
E5X created T4201: gpg: keyserver send failed: Server indicated a failure.
Oct 21 2018, 4:04 PM · Bug Report
werner triaged T4175: HTTP 5xx should fail over to the next server as High priority.
Oct 21 2018, 2:48 PM · dirmngr, Feature Request
werner created T4200: Evaluate sub-addresses in gpg and wkd.
Oct 21 2018, 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 is just an empty randomly named folder being created upon decryption.

Oct 21 2018, 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. :-)

Oct 21 2018, 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".
Oct 21 2018, 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".
Oct 21 2018, 9:48 AM · Bug Report

Oct 20 2018

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.

Oct 20 2018, 5:09 PM · gpa, Bug Report
gusnan updated the task description for T4199: Disable scaling for cardkey icon in keylist.
Oct 20 2018, 1:31 PM · gpa, Bug Report
gusnan created T4199: Disable scaling for cardkey icon in keylist.
Oct 20 2018, 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.

Oct 20 2018, 2:37 AM · Python, gpgme, Bug Report
BenM committed rM651a1afe80bc: python bindings: callback test (authored by BenM).
python bindings: callback test
Oct 20 2018, 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.

Oct 20 2018, 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 create_key (optionally with create_subkey and/or key_add_uid)? The latter should be easier and more pythonic.

Oct 20 2018, 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.

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

Oct 19 2018

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.

Oct 19 2018, 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.

Oct 19 2018, 8:36 PM · pinentry, 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.

Oct 19 2018, 8:24 PM · pinentry, Bug Report
b3yond updated the task description for T4198: Pinentry doesn't capture input correctly, crashes terminal instead.
Oct 19 2018, 8:23 PM · pinentry, Bug Report
b3yond updated the task description for T4198: Pinentry doesn't capture input correctly, crashes terminal instead.
Oct 19 2018, 8:22 PM · pinentry, Bug Report
b3yond set Version to pinentry 1.0.0 on T4198: Pinentry doesn't capture input correctly, crashes terminal instead.
Oct 19 2018, 8:21 PM · pinentry, 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?

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

Here goes.

Oct 19 2018, 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
Oct 19 2018, 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%.

Oct 19 2018, 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

Oct 19 2018, 6:17 AM · Feature Request, ssh, gpgagent
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.

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

Support the case when CC is the one of clang.

Oct 19 2018, 3:59 AM

Oct 18 2018

werner lowered the priority of T3443: Install gpg 1.4 as gpg1 from Unbreak Now! to Normal.
Oct 18 2018, 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

Oct 18 2018, 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.

Oct 18 2018, 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.

Oct 18 2018, 7:49 PM · gnupg, kleopatra, Restricted Project, gpgme, Feature Request
dkg created T4196: gpgme-json is confused about malformed input.
Oct 18 2018, 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?

Oct 18 2018, 6:21 PM · gnupg, kleopatra, Restricted Project, 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.

Oct 18 2018, 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

Oct 18 2018, 6:10 PM · Python, gpgme, Bug Report
werner created T4195: Fix time API in gpgme.
Oct 18 2018, 6:09 PM · gnupg, kleopatra, Restricted Project, gpgme, Feature Request
zillem created T4194: Outlook 365 GgpOL - "Failed to resolve recipients. Operation failed. This is usually caused by a bug in GpgOL".
Oct 18 2018, 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.

Oct 18 2018, 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.
Oct 18 2018, 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.
Oct 18 2018, 5:41 PM
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.

Oct 18 2018, 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?).

Oct 18 2018, 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:

Oct 18 2018, 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.

Oct 18 2018, 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.
Oct 18 2018, 5:00 PM
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:

Oct 18 2018, 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.

Oct 18 2018, 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.

Oct 18 2018, 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).

Oct 18 2018, 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,

Oct 18 2018, 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,

Oct 18 2018, 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

Oct 18 2018, 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:

Oct 18 2018, 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.

Oct 18 2018, 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.

Oct 18 2018, 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.
Oct 18 2018, 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.
Oct 18 2018, 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.

Oct 18 2018, 11:42 AM
werner triaged T4190: https://git.gnupg.org/ is out of date as Normal priority.
Oct 18 2018, 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.
Oct 18 2018, 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?

Oct 18 2018, 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
Oct 18 2018, 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.
Oct 18 2018, 11:17 AM