Page MenuHome GnuPG
Feed Advanced Search

Jan 17 2019

gniibe abandoned D473: Introducing LDADD_FOR_TESTS_KLUDGE to enable 'make check' with LD_LIBRARY_PATH.

Applied.

Jan 17 2019, 1:00 AM · gpgme, libksba, libgcrypt, ntbtls, libassuan, gpgrt

Jan 15 2019

gniibe removed a project from T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well): libgcrypt.

Done for libgcrypt.

Jan 15 2019, 8:53 AM

Jan 14 2019

aheinecke triaged T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well) as Normal priority.

I give this normal priority to move it out of the "Needs Triage" queue.

Jan 14 2019, 10:31 AM

Jan 10 2019

gniibe renamed T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well) from Use uninstalled library, which is building now (even if rpath doesn't work well) to 'make check' with uninstalled library, which is building now (even if rpath doesn't work well).
Jan 10 2019, 2:33 AM
gniibe removed a project from T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well): gpgrt.

Done for libgpg-error.

Jan 10 2019, 2:32 AM
gniibe added a comment to T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well).

Topic branch of libgpg-error is not good to show changes (for other libraries).
So, I made D473: Introducing LDADD_FOR_TESTS_KLUDGE to enable 'make check' with LD_LIBRARY_PATH.
Appliying to libgpg-error.

Jan 10 2019, 2:31 AM
gniibe added a project to D473: Introducing LDADD_FOR_TESTS_KLUDGE to enable 'make check' with LD_LIBRARY_PATH: gpgme.
Jan 10 2019, 2:28 AM · gpgme, libksba, libgcrypt, ntbtls, libassuan, gpgrt

Jan 9 2019

aheinecke closed T4297: The browser integration component is not installed by default as Resolved.

3.1.6 will have two ways to install the browser integration non-interactively

Jan 9 2019, 11:09 AM · gpgme, UI, gpg4win
aheinecke added a subtask for T4297: The browser integration component is not installed by default: T4264: Gpg4win 3.1.6.
Jan 9 2019, 11:07 AM · gpgme, UI, gpg4win
aheinecke closed T3815: tests fail in 2021 as Resolved.

I sent a message to gnupg-devel about this issue as it will probably hit more people now that the keys used are expired :-(

Jan 9 2019, 8:52 AM · qt, Python, gpgme, Bug Report
aheinecke added a comment to T3815: tests fail in 2021.

Oh,.. it is even worse. The conflict keys expired 2019-01-06 so they are actually expired right now.

Jan 9 2019, 8:18 AM · qt, Python, gpgme, Bug Report
aheinecke claimed T3815: tests fail in 2021.
Jan 9 2019, 8:12 AM · qt, Python, gpgme, Bug Report
werner reopened T3815: tests fail in 2021 as "Open".

I don't know why @BenM closed this bug given that he mentioned that the qt part is yet not solved.

Jan 9 2019, 8:00 AM · qt, Python, gpgme, Bug Report

Jan 8 2019

hedning added a comment to T3815: tests fail in 2021.

We've run into the testTofuConflict failure on NixOS. gpgme v1.12, gnupg v2.2.12.

Jan 8 2019, 8:05 PM · qt, Python, gpgme, Bug Report
gniibe added a comment to T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well).

For other distros, it seems it's quite old issue: https://sourceware.org/ml/binutils/2012-05/msg00037.html

Jan 8 2019, 2:50 AM
gniibe added a comment to T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well).

My patches on the topic branch: https://dev.gnupg.org/source/libgpg-error/history/gniibe%252Fdisable-new-dtags/

Jan 8 2019, 2:49 AM

Jan 7 2019

aheinecke created T4310: GPGME: Add ssh export mode.
Jan 7 2019, 10:33 AM · gpgme (gpgme 1.23.x), Feature Request
aheinecke claimed T4297: The browser integration component is not installed by default.

Thanks for the report. Indeed I've overlooked this.

Jan 7 2019, 9:39 AM · gpgme, UI, gpg4win
gniibe added a comment to T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well).

My tentative conclusion: When (GNU) ld supports --disable-new-dtags, add it to LDADD in tests/Makefile.am.

Jan 7 2019, 8:08 AM

Dec 20 2018

werner triaged T4297: The browser integration component is not installed by default as High priority.
Dec 20 2018, 8:45 AM · gpgme, UI, gpg4win
gniibe added a comment to T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well).

Reading this discussion: http://lists.gnu.org/archive/html/bug-libtool/2018-01/msg00014.html
It seems that it could be fixed if we care about the order of libraries.
And it's not the issue for libgpg-error, which doesn't require external libraries.

Dec 20 2018, 4:01 AM
gniibe updated the task description for T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well).
Dec 20 2018, 3:42 AM
gniibe updated the task description for T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well).
Dec 20 2018, 3:40 AM
gniibe added a comment to T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well).

For binutils, in Stretch, Debian specific patch was introduced.
Then, upstream introduced --enable-new-dtags option for configure to build binutils.
Now, Debian uses --enable-new-dtags option (at build time).

Dec 20 2018, 3:38 AM
gniibe set External Link to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=859732 on T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well).
Dec 20 2018, 3:11 AM
gniibe updated the task description for T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well).
Dec 20 2018, 3:08 AM
gniibe updated the task description for T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well).
Dec 20 2018, 3:07 AM
gniibe updated the task description for T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well).
Dec 20 2018, 3:07 AM
gniibe renamed T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well) from Use uninstalled library, which is building now to Use uninstalled library, which is building now (even if rpath doesn't work well).
Dec 20 2018, 3:05 AM
gniibe created T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well).
Dec 20 2018, 2:51 AM

Dec 17 2018

aheinecke added a comment to T4116: Kleopatra: Hang on posix with GPGME_DEBUG=9.

Even with the logging changes this still happens. I just retested it. Can't run Kleopatra on Linux with GPGME_DEBUG=9.

Dec 17 2018, 8:29 AM · kleopatra, gpgme

Dec 15 2018

BenM added a comment to T3505: Port GPGME's Python bindings to Windows.

Though not directly related to our issues, this bug report on the MSYS2 site reported by their users encountering trouble with GPGME provides additional weight to irreconcilable differences between MSYS2 and GnuPG:

Dec 15 2018, 8:18 PM · Feature Request, gpgme, Python

Dec 10 2018

BenM closed T3815: tests fail in 2021 as Resolved.

Though apparently resolved back in May, this is what ultimately led to T4191 and was thus only properly resolved quite recently.

Dec 10 2018, 6:19 AM · qt, Python, gpgme, Bug Report
BenM closed T4086: GPGME: sharing C compiler configuration with SWIG for generated bindings as Resolved.

See T3505 for more in depth coverage of this issue. Essentially this is a duplicate under a slightly altered POV.

Dec 10 2018, 6:15 AM · gpgme
BenM closed T4271: python gpg.Context.decrypt(verify=False) no longer works as Resolved.

Confirmed that this is indeed fixed and made the (rather minor) change to the HOWTO that was needed. No changes were needed for the example script (decrypt-file.py).

Dec 10 2018, 6:08 AM · Python, gpgme, Bug Report
BenM closed T4191: gpgme python bindings test t-callbacks.py fails on 32-bit platforms as Resolved.

This has now been tested on a 32-bit Gentoo VM and it behaves as expected with 32-bit system detection and creating keys with pre-2038 expirations working.

Dec 10 2018, 4:51 AM · Python, gpgme, Bug Report

Dec 8 2018

BenM updated subscribers of T3505: Port GPGME's Python bindings to Windows.

Commit 8613727f1ee985c3cfa2c815523312914f033ffd adds considerable detail on both the issues affecting compiling and installing a Windows version of the bindings and what it would take to actually resolve it.

Dec 8 2018, 7:02 AM · Feature Request, gpgme, Python

Dec 6 2018

BenM added a comment to T4191: gpgme python bindings test t-callbacks.py fails on 32-bit platforms.

I'll deploy one on AWS somewhere briefly once I've replaced a certain external keyboard, there will almost certainly be an existing image of some Linux distro in the AWS marketplace and I'd be very surprised if it took more than an hour or two of compute time to confirm.

Dec 6 2018, 2:50 PM · Python, gpgme, Bug Report

Dec 5 2018

dkg added a comment to T4276: Context.decrypt() throws an error if *any* signature is bad.

One more semantic question about how folks think Context.decrypt(verify=True) should work: if the decrypted thing has no signature at all, should the function succeed without throwing an exception? it currently does, but the returned verify_result has its signatures member set to the empty list.

Dec 5 2018, 6:30 PM · gpgme, Python, Bug Report
BenM added a comment to T4271: python gpg.Context.decrypt(verify=False) no longer works.

Ooh, nice catch @dkg, I just stepped through each of your changes and it all looks good. I'll tweak the relevant sections of the HOWTO dealing with this in the next few days (I need to replace a keyboard here before properly diving back in) and then close this case once done.

Dec 5 2018, 4:14 PM · Python, gpgme, Bug Report
dkg added a comment to T4271: python gpg.Context.decrypt(verify=False) no longer works.

since @aheinecke merged my changes, i think this bug is now resolved. I'll let @BenM close it though :)

Dec 5 2018, 2:06 PM · Python, gpgme, Bug Report
dkg added a comment to T4276: Context.decrypt() throws an error if *any* signature is bad.

@aheinecke thanks for the merge of my other branch! sadly, that branch does *not* address this issue yet. It doesn't even test for it. :( I can work on trying to fix it (and test it) if there's a consensus that we want this particular change in behavior.

Dec 5 2018, 2:04 PM · gpgme, Python, Bug Report
aheinecke added a comment to T4276: Context.decrypt() throws an error if *any* signature is bad.

Is this fixed now?

Dec 5 2018, 11:54 AM · gpgme, Python, Bug Report
aheinecke changed the status of T4271: python gpg.Context.decrypt(verify=False) no longer works from Open to Testing.

Ben is not even subscribed to this issue.
With the volatility of gpgme-python I think that this can easily be merged. I did a quick review and it looked good to me.

Dec 5 2018, 11:49 AM · Python, gpgme, Bug Report
werner added a comment to T4271: python gpg.Context.decrypt(verify=False) no longer works.

Needs to be merged. (Note that Phabricator does not show the branch in the tooltip for commit ids.)

Dec 5 2018, 10:44 AM · Python, gpgme, Bug Report
dkg added a comment to T4271: python gpg.Context.decrypt(verify=False) no longer works.

note that the branch also updates the test suite to make sure the verify=False case is tested.

Dec 5 2018, 6:34 AM · Python, gpgme, Bug Report
dkg created T4276: Context.decrypt() throws an error if *any* signature is bad.
Dec 5 2018, 6:18 AM · gpgme, Python, Bug Report
dkg added a comment to T4271: python gpg.Context.decrypt(verify=False) no longer works.

I've just pushed a branch dkg/fix-T4271 , currently at ac8d7238dbf165950c9844e5cb41da8eb4d37bc0 that resolves this problem.

Dec 5 2018, 12:51 AM · Python, gpgme, Bug Report

Dec 4 2018

aheinecke added a comment to T3321: Make it possible to combine GpgMEpp and QGpgme with MSVC compiled binaries.

Cool and yes, that could also be an option. I was explicitly told by KDE-Windows that this would work for them, too. The problem for me is that I feel comfortable to add a CMake Buildsystem for the Cpp and Qt bindings (maybe Python?). It would be very simple for me, I would not extend it to GPGME core, at least not at first. I could do that on GNU/Linux without having to test an MSVC build.
It will be more effort for me to make autotools work nicely with MSVC. I would have to test that etc.

Dec 4 2018, 8:55 AM · Feature Request, gpgme
werner added a comment to T3321: Make it possible to combine GpgMEpp and QGpgme with MSVC compiled binaries.

Just to stress it; I am in favor of allowing builds using other compilers. We allow this on Unix and so we should allow this on Windows as well. We should remember to use different DLL names to make it explicit that a certain DLL is targetting a specific ABI.

Dec 4 2018, 8:50 AM · Feature Request, gpgme
werner added a comment to T3321: Make it possible to combine GpgMEpp and QGpgme with MSVC compiled binaries.

Another build systems does not solve your problem. If you want to support another toolchain, that is fine. But it can as well be done with the current build system. it is a matter of adding a new platform triplet to make sure we are not linking against different libc versions. In fact we can build all our code on a wide range of platforms with very different compilers, so supporting MSVC won't be a problem. Mixing them is a bad idea as can be shown by the usual cross-runtime malloc/free problems.

Dec 4 2018, 8:46 AM · Feature Request, gpgme

Dec 3 2018

aheinecke added a comment to T3321: Make it possible to combine GpgMEpp and QGpgme with MSVC compiled binaries.

Further discussion revealed that the main problem is QtWebengine, which is a requirement of KMail and basically a fully fledged web browser with millions of lines of code. QtWebengine is only supported for MSVC on Windows and a MinGW port is not feasible, so just compiling KMail with MinGW all the way through like I did in the past is no longer an option. :-(

Dec 3 2018, 4:49 PM · Feature Request, gpgme
aheinecke raised the priority of T3321: Make it possible to combine GpgMEpp and QGpgme with MSVC compiled binaries from Wishlist to High.

I give this high priority. This blocks for years that the KDE-Windows initiative provides a way to install the very good crypto MUA KMail on windows. They rely on MSVC (you can say that this is bad, but it is a fact of life). As a former member of that community I am a bit ashamed that I made it harder / impossible for them to build KMail with MSVC because I've moved it to GPGME proper.

Dec 3 2018, 4:44 PM · Feature Request, gpgme
aheinecke claimed T3321: Make it possible to combine GpgMEpp and QGpgme with MSVC compiled binaries.

I think that is something I want to grapple with next year. The maintainer of KDE 4 windows noted that they currently rely on the patches from:

Dec 3 2018, 4:35 PM · Feature Request, gpgme

Dec 2 2018

werner triaged T4275: python gpg binding VCS contains generated files (documentation) as Normal priority.
Dec 2 2018, 11:54 AM · gpgme, Bug Report

Dec 1 2018

dkg created T4275: python gpg binding VCS contains generated files (documentation).
Dec 1 2018, 12:53 AM · gpgme, Bug Report

Nov 28 2018

werner triaged T4271: python gpg.Context.decrypt(verify=False) no longer works as Unbreak Now! priority.

Regression introduced with 1.12.0.

Nov 28 2018, 9:30 AM · Python, gpgme, Bug Report

Nov 27 2018

dkg added a comment to T4271: python gpg.Context.decrypt(verify=False) no longer works.

please add a unit to the test suite to make sure something like this doesn't happen in the future!

Nov 27 2018, 10:14 PM · Python, gpgme, Bug Report
dkg created T4271: python gpg.Context.decrypt(verify=False) no longer works.
Nov 27 2018, 10:10 PM · Python, gpgme, Bug Report

Nov 22 2018

dkg added a comment to T4191: gpgme python bindings test t-callbacks.py fails on 32-bit platforms.

i'd be happy to help you set up your own x86 32-bit guest VM for testing
if you like, even if you're running on x86_64 hardware. they're cheap
and easy to run, and have a delightfully small memory footprint :P just
let me know!

Nov 22 2018, 1:44 PM · Python, gpgme, Bug Report
BenM changed the status of T4191: gpgme python bindings test t-callbacks.py fails on 32-bit platforms from Open to Testing.
Nov 22 2018, 10:31 AM · Python, gpgme, Bug Report

Nov 19 2018

aheinecke closed T4227: Gpg4win 3.1.5, a subtask of T4237: GPGME: Random crash when verifying CMS Signature on Windows, as Resolved.
Nov 19 2018, 10:28 AM · Bug Report, gpgme, gpgol

Nov 15 2018

aheinecke created T4257: GPGME: op_verify failes for S/MIME with EBADF in multithreaded signature verification.
Nov 15 2018, 12:44 PM · S/MIME, gpgme

Nov 12 2018

aheinecke closed T3967: dirmngr: "flush" does not flush in memory CRL's, a subtask of T3948: GPGSM: Multiple issues reported to KMail, as Resolved.
Nov 12 2018, 1:18 PM · gnupg, S/MIME

Nov 8 2018

dkg added a comment to T3464: successful decryption with session key reports failure if public key is unknown.

I don't think this answered my question -- i'm asking how adding --no-keyring affects gpgme_op_decrypt_verify -- it seems like verification would fail if no keyring is used, no?

Nov 8 2018, 8:59 AM · gpgme, Bug Report
werner added a comment to T3464: successful decryption with session key reports failure if public key is unknown.

gpgme_op_decrypt_verify can always be used instead of gpgme_op_decrypt. This is an obvious requirement because the signature and the fact that there is a signature is only known after the decryption step. The newer GPGME_DECRYPT_VERIFY of the gpgme_op_decrypt_ext function is basically an alias for gpgme_op_decrypt_verify.
For both functions gpgme employs "gpg --decrypt".

Nov 8 2018, 8:41 AM · gpgme, Bug Report
dkg added a comment to T3464: successful decryption with session key reports failure if public key is unknown.

I'm fine with this change, but i do note that some people expect --decrypt to mean "decrypt and verify, if possible". In particular, gpg(1) says about --decrypt:

Nov 8 2018, 6:44 AM · gpgme, Bug Report

Nov 5 2018

werner changed the status of T3464: successful decryption with session key reports failure if public key is unknown from Open to Testing.

Looking at the GPGME code the ERROR stati don't matter because they are only used to return a better error code in case an operation failed. The specific ones are not even recognized.

Nov 5 2018, 10:33 AM · gpgme, Bug Report
werner closed T3354: gpgme only builds against two versions of python at once as Resolved.

I consider this bug to be solved.

Nov 5 2018, 8:44 AM · Python, gpgme, Bug Report

Nov 3 2018

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

MacPorts doesn't currently ship the bindings at all, but I'll see what they need to make that a reality too.

Nov 3 2018, 12:54 PM · Python, gpgme, Bug Report
BenM added a comment to T3354: gpgme only builds against two versions of python at once.

While this is now ideal for Debian, it may cause conflicts with other downstream vendors with slightly different needs to build their packages. In particular the FreeBSD ports and/or pkg system.

Nov 3 2018, 12:43 PM · Python, gpgme, Bug Report

Nov 2 2018

aheinecke added a subtask for T4237: GPGME: Random crash when verifying CMS Signature on Windows: T4227: Gpg4win 3.1.5.
Nov 2 2018, 12:59 PM · Bug Report, gpgme, gpgol
aheinecke closed T4237: GPGME: Random crash when verifying CMS Signature on Windows as Resolved.

Yes! Thank you very much. My test runs and my Outlook has verified 2500 S/MIME Mails without a crash.

Nov 2 2018, 12:58 PM · Bug Report, gpgme, gpgol
werner changed the status of T4237: GPGME: Random crash when verifying CMS Signature on Windows from Open to Testing.
Nov 2 2018, 11:42 AM · Bug Report, gpgme, gpgol

Oct 31 2018

werner added a comment to T2092: Gpgme-pthread keylist not thread safe.

The explicit check for a valid FD (in select) I mentioned above is commit 8173c4f1f8a145c4b1d454f6f05e26950e23d675

Oct 31 2018, 1:04 PM · gpgme, Bug Report, kleopatra

Oct 30 2018

aheinecke added a comment to T4237: GPGME: Random crash when verifying CMS Signature on Windows.

I'm currently looking at the CloseHandle in _gpgme_io_close:

Oct 30 2018, 7:01 PM · Bug Report, gpgme, gpgol
aheinecke added a comment to T4237: GPGME: Random crash when verifying CMS Signature on Windows.

Btw I've checked that the errors are the same in T4111 and this:

Oct 30 2018, 10:54 AM · Bug Report, gpgme, gpgol

Oct 29 2018

aheinecke closed T4238: GPGME, w32: Mem leak in _gpgme_io_spawn as Resolved.

Fixed it myself as I confirmed the leak with Dr. Memory.

Oct 29 2018, 8:16 PM · Bug Report, gpgme
aheinecke added a comment to T4237: GPGME: Random crash when verifying CMS Signature on Windows.

I've seen now four crashes in _gpgme_io_spawn. I've added tracing that shows that the CreateProcess itself is crashing. I do not see how this is possible. I'm printing the command line and the program name in debug output and both look fine.
The command line is also mutable.

Oct 29 2018, 7:02 PM · Bug Report, gpgme, gpgol
aheinecke added a comment to T4237: GPGME: Random crash when verifying CMS Signature on Windows.

I'm also seeing hangs. Sometimes with gpgsm running. Sometimes without it running.

Oct 29 2018, 6:22 PM · Bug Report, gpgme, gpgol
aheinecke created T4238: GPGME, w32: Mem leak in _gpgme_io_spawn.
Oct 29 2018, 5:39 PM · Bug Report, gpgme
aheinecke created T4237: GPGME: Random crash when verifying CMS Signature on Windows.
Oct 29 2018, 4:38 PM · Bug Report, gpgme, gpgol
werner closed T4192: python gpg segfaults when first parameter to gpg.Context().op_genkey() is None or otherwise malformed as Resolved.
Oct 29 2018, 9:43 AM · Python, gpgme

Oct 20 2018

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 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
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

Oct 18 2018

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
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 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