| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ |
|
| |
| |
| |
| | |
--
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* lang/python/examples/delkey.py: Clean up example.
* lang/python/examples/encrypt-to-all.py: Likewise.
* lang/python/examples/genkey.py: Likewise.
* lang/python/examples/inter-edit.py: Likewise.
* lang/python/examples/sign.py: Likewise.
* lang/python/examples/signverify.py: Likewise.
* lang/python/examples/simple.py: Likewise.
* lang/python/examples/t-edit.py: Likewise.
* lang/python/examples/verifydetails.py: Likewise.
* lang/python/pyme/__init__.py: Likewise.
Signed-off-by: Justus Winter <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| | |
* pyme/core.py: Import GPGMEError.
Fixes c5d118b2.
Signed-off-by: Justus Winter <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* lang/python/Makefile.am: Add bits from the c test suite.
* lang/python/support.py: New file.
* lang/python/t-decrypt.py: Likewise.
* lang/python/t-encrypt.py: Likewise.
Signed-off-by: Justus Winter <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| | |
* lang/python/pyme/util.py (GpgmeWrapper.__getattr__): Monkey-patch
the class.
* lang/python/tests/t-wrapper.py: Demonstrate the sharing.
Signed-off-by: Justus Winter <[email protected]>
|
| |
| |
| |
| |
| |
| |
| | |
* lang/python/pyme/core.py (Data.write): Handle errors.
* lang/python/pyme/errors.py (GPGMEError.fromSyserror): New function.
Signed-off-by: Justus Winter <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* lang/python/gpgme.i: Add typemap for buffers.
* lang/python/pyme/core.py (Data.write): Fix function.
* lang/python/tests/Makefile.am: Add new test.
* lang/python/tests/t-data.py: New file.
Signed-off-by: Justus Winter <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* configure.ac: Add new Makefile.
* lang/python/Makefile.am: Add subdirectory.
* lang/python/tests/Makefile.am: New file.
* lang/python/tests/t-wrapper.py: Likewise.
Signed-off-by: Justus Winter <[email protected]>
|
| |
| |
| |
| |
| |
| |
| | |
* lang/python/util.py (GpgmeWrap.__getattr__): Cache generated wrapper
functions.
Signed-off-by: Justus Winter <[email protected]>
|
| |
| |
| |
| |
| |
| |
| | |
* lang/python/pyme/core.py (Data.new_from_fd): Fix function
invocation.
Signed-off-by: Justus Winter <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* lang/python/pyme/util.py (GpgmeWrapper._getctype): Fix exception,
add docstring.
(GpgmeWrapper._getnameprepend): New function.
(GpgmeWrapper._errorcheck): Likewise.
Signed-off-by: Justus Winter <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* lang/python/pyme/core.py: Avoid races at interpreter shutdown. This
silences the most annoying occurrences, however this problem also
affects the SWIG generated code, which might indicate that the real
problem is somewhere else. If so, this change can be easily reverted.
Signed-off-by: Justus Winter <[email protected]>
|
| |
| |
| |
| |
| |
| | |
* lang/python/examples/t-edit.py: Check if key is found.
Signed-off-by: Justus Winter <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* lang/python/gpgme.i: Adjust to Python3's string type being
'Unicode', not 'bytes'. Fix type checking.
* lang/python/core.py (Data.write): Add docstring mentioning the
expected type of parameter 'buffer'.
(Data.read): Adjust read loop. Also, use a saner chunk size, and join
all chunks at the end instead of adding them.
* lang/python/examples/simple.py: Adjust example.
Signed-off-by: Justus Winter <[email protected]>
|
| |
| |
| |
| |
| |
| |
| | |
* lang/python/examples/simple.py: Flush stdout, encode name as
UTF-8 before passing it to GPGME.
Signed-off-by: Justus Winter <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* configure.ac: Make Python bindings configurable, add new Makefile.
* lang/python/Makefile.am: New file.
* lang/python/setup.py: Integrate into the build system.
* m4/ax_pkg_swig.m4: New file from the autoconf archive.
* m4/m4_ax_swig_python.m4: Likewise.
Signed-off-by: Justus Winter <[email protected]>
|
| |
| |
| |
| |
| |
| | |
Cherry picked from 0267c151.
Signed-off-by: Justus Winter <[email protected]>
|
| |
| |
| |
| |
| | |
--
Signed-off-by: Justus Winter <[email protected]>
|
| |
| |
| |
| |
| | |
--
Signed-off-by: Justus Winter <[email protected]>
|
| |
| |
| |
| |
| | |
--
Signed-off-by: Justus Winter <[email protected]>
|
| |\ |
|
| | |
| | |
| | |
| | |
| | | |
* Missed a couple of files, these 2 go for the same reason as the
previous 3.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* GUI examples written with pygtk, which has not been ported to Python
3 and won't be as it is for GTK2 and GNOME is moving to GTK3.
* New GUI examples may be required in future using any of several GUI
frameworks (e.g. wxPython, PyQt, PySide, PyGObject, etc.).
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Port of PyME 0.9.0 for Python 2 to Python 3 along with most of the
example scripts.
* Intended to be developed in parallel with the original Python 2
version until such time as a rewrite of GPGME leads to developing an
IO API in Python 3 from scratch.
* Python 3 PyME and API maintainer has entered, stage left with current
GPG key ID 0x321E4E2373590E5D, primary fingerprint is "DB47 24E6 FA42
86C9 2B4E 55C4 321E 4E23 7359 0E5D" and signing subkey fingerprint is
"B7F0 FE75 9387 430D D0C5 8BDB 7FF2 D371 35C7 553C" for future
reference with git commit signatures.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Some of them cannot be properly tested on OS X, especially with GTK in
the mix (it works on OS X, but is unlikely to be as easily accessible
as Cocoa or Qt).
* Most major functions are showcased and do work, albeit sometimes with
false positives of error messages, at least on OS X.
|
| | |
| | |
| | |
| | |
| | |
| | | |
* More string updates.
* verifydetails.py still fails, but as Bernhard is still contactable, it
might be worth him checking on it instead.
|
| | | |
|
| | |
| | |
| | |
| | | |
* CLI input must be byte encoded.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* exportimport works, but will still segfault for an as yet unknown
reason.
* genkey produces a traceback error, but does create the key as
intended.
* matched passphrase in signverify.
|
| | |
| | |
| | |
| | | |
* Another string to byte change.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Changed plaintext string to byte literal.
* Nested key selection in a try/except statement in case of
UnicodeEncodeError instances.
* Tested successfully on over 9,000 keys.
|
| | |
| | |
| | |
| | |
| | | |
* Changed example passphrase to something that meets the current minimum
requirements.
|
| | |
| | |
| | |
| | |
| | | |
* changed [email protected] to [email protected] as it is only a matter of time
before ICANN actually creates bar as a gTLD, if they haven't already.
|
| | |
| | |
| | |
| | |
| | |
| | | |
* Text changed to byte literals.
* Changed key type to RSA/RSA.
* Changed expiry to the future (2020).
|
| | |
| | |
| | |
| | |
| | | |
* the plain text string must be bytes and not unicode.
* Expect most of the example code to have similar issues at present.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* The entirety of the Python 3 port of PyME up to commit
2145348ec54c6027f2ea20f695de0277e2871405
* The old commit log has been saved as
lang/py3-pyme/docs/old-commits.log
* Can be viewed as a normal (separate) git repository at
https://github.com/adversary-org/pyme3
* Utilising the submodule feature of git was deliberately skipped on
humanitarian grounds (in order to prevent pain and suffering on the
part of anyone having to manage this repository).
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* configure.ac (LIBQGPGME_LT_REVISION): Bump.
* lang/qt/src/protocol.h (locateKeysJob): Add Job.
* lang/qt/src/protocol_p.h (locateKeysJob): Implement.
* lang/qt/tests/Makefile.am: Add t-keylocate.
* lang/qt/tests/t-keylocate.cpp: New.
|
| | |
| | |
| | |
| | | |
* lang/qt/tests/t-keylist.cpp: Add copyright header.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* lang/cpp/src/Makefile.am (AM_CPPFLAGS): Add gpgme.h location.
--
This fixes the build in case an incompatible gpgme.h is also
installed in other include locations.
|
|\ \ \
| |_|/
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* lang/cpp/src/Makefile.am (EXTRA_DIST): Fix typo.
(private_gpgmepp_headers): New. Private headers.
(libgpgmepp_la_SOURCES): Add private headers.
* lang/qt/src/Makefile.am (t_keylist_SOURCES): Remove non existent
header.
|
| | |
| | |
| | |
| | |
| | | |
--
Reimp is not a keqword and we inherit documentation anyway.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* lang/qt/src/Makefile.am (qgpgme_headers): Add protocol.h
(private_qgpgme_headers): Add protocol_p.h
* lang/qt/src/protocol.h: New. From QGpgMEBackend.
* lang/qt/src/protocol_p.h: New. From QGpgMEBackend.
* lang/qt/src/qgpgmebackend.h,
lang/qt/src/qgpgmebackend.cpp (Protocol): Removed.
--
The backend class does not make much sense anymore as we
only have the GpgME backend obviously. It's purpose was
for Libkleo's Backend abstraction.
|
| | |
| | |
| | |
| | | |
* lang/qt/doc/Doxyfile.in: Quiet and no undocumented warnings.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* lang/qt/src/Makefile.am: Do not install all headers.
--
The qgpgme classes hide the implementation and thus make it
easier to change it without ABI breaks. They should not
be installed.
|
| | |
| | |
| | |
| | | |
* src/lang/qt/tests/t-keylist.cpp(KeyListTest::testKeyListAsync): New.
|
| | |
| | |
| | |
| | | |
* configure.ac: Use common error highliting for qt lang options.
|
| | |
| | |
| | |
| | |
| | |
| | | |
* lang/qt/README: License is GPLv2+ and not LGPL.
--
The only part under lgpl is the QByteArray dataprovider.
|