bbfa7c4233
* lang/python/setup.py.in: Copy gpgme.h instead of parsing it. -- The python bindings tried to parse deprecated functions out of gpgme.h. This fails for the current gpgme.h in that it removes an entire field in the key sig struct (_obsolete_class). Hence, the fields were off by an int and the bindings accessed struct members via the wrong offset. That caused python program to crash. At least on 32bit platforms, the crash can be easily triggered by accessing key.uids[0].signatures. On 64bit platforms the compiler probably aligns the struct so that the missing 4 bytes are not noticed. With this change, the python bindings will expose all functions that gpgme exposes, including the deprecated ones. Credits go to Justus Winter for debugging and identying the issue. Signed-off-by: Tobias Mueller <muelli@cryptobitch.de> GnuPG-bug-id: 3892 |
||
---|---|---|
.. | ||
cl | ||
cpp | ||
python | ||
qt | ||
Makefile.am | ||
README |
Language Support for GPGME -------------------------- This directory contains support for other languages than C. Please note that language support components may be under a different license than GPGME itself. You can find more information in each sub-directory. Directory Language cl Common Lisp cpp C++ qt Qt-Framework API python Python 2 and 3 (module name: gpg) javascript Native messaging client for the gpgme-json server.