summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Administrative tasks to create release 0.37.0.37.0Matěj Cepl2020-12-0849-933/+6445
|
* Add centos7 GitLab-CI targetMatěj Cepl2020-12-081-0/+10
|
* Stop playing with swig, we don't support swig 1.* anymore.Matěj Cepl2020-12-082-46/+3
|
* Fix dereferencing of pointersCasey Deccio2020-12-081-2/+2
|
* Replace deprecated PyObject_AsReadBuffer with our own shim.Matěj Cepl2020-12-086-44/+93
| | | | Fixes #281.
* Some distros don't distribute parameterizedMatěj Cepl2020-12-074-6/+9
|
* Use parametrized to create parametrized tests.Matěj Cepl2020-12-038-5461/+6617
| | | | | Stop testing 2.7 on Fedora. Remove .travis.yml, we have Github Actions working
* Mass removal of deprecated constructs.Matěj Cepl2020-12-0229-79/+78
| | | | | * Replace unittest.makeSuite with unittest.TestLoader().loadTestsFromTestCase * import unittest from relative import
* Only use DigestSign() and DigestUpdate() with OpenSSL >= 1.1.1Casey Deccio2020-11-214-1/+18
|
* Add conditional exclusion of X509_V_FLAG_NO_CHECK_TIMEMatěj Cepl2020-11-211-1/+5
|
* Use generated C file from RHEL-7 swig.Matěj Cepl2020-11-211-6492/+5321
|
* Fix a typoMatěj Cepl2020-11-201-3/+7
|
* Remove SSL.verify_allow_proxy_certsChristophe Haen2020-11-201-1/+0
|
* Expose all the X509_V_FLAGChristophe Haen2020-11-202-2/+44
|
* Remove support for CentOS 6 and Python 2.6Matěj Cepl2020-11-2061-12934/+20192
| | | | | | Support of CentOS 6 ends on 2020-11-30. Fixes #283
* Remove tests.vendor moduleMatěj Cepl2020-11-2012-2630/+0
|
* Create python-package.ymlMatěj Cepl2020-11-201-0/+35
| | | | Add standard template via GitHub webpage.
* Add support for DigestSign* and DigestVerify*Casey Deccio2020-11-207-5/+303
| | | | | | | Add support for DigestSign* and DigestVerify* OpenSSL functions, for use with ED25519, etc. Allow PKey to support non-digest algorithms, such as ED25519, but keep default behaviors. Include tests for both digest and non-digest algorithms.
* Update appveyor.ymlMatěj Cepl2020-11-091-2/+2
|
* Update M2Crypto.six to 1.15.0Matěj Cepl2020-11-091-28/+47
|
* setup.py: move swig default includes before opensslFabrice Fontaine2020-11-081-2/+3
| | | | | | | | | | | | | | | | | | | Move swig default includes before openssl to avoid the following build failure when cross-compiling for some architectures (e.g. arm, mips): swig -python -py3 -D__x86_64__ -I/srv/storage/autobuild/run/instance-0/output-1/host/mipsel-buildroot-linux-gnu/sysroot/usr/include/python3.9 -I/srv/storage/autobuild/run/instance-0/output-1/host/mipsel-buildroot-linux-gnu/sysroot/usr/include -I/srv/storage/autobuild/run/instance-0/output-1/host/mipsel-buildroot-linux-gnu/sysroot/usr/include/openssl -I/srv/storage/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mipsel-buildroot-linux-gnu/8.3.0/include -I/srv/storage/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mipsel-buildroot-linux-gnu/8.3.0/include-fixed -I/srv/storage/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mipsel-buildroot-linux-gnu/8.3.0/../../../../mipsel-buildroot-linux-gnu/include -I/srv/storage/autobuild/run/instance-0/output-1/host/mipsel-buildroot-linux-gnu/sysroot/usr/include -includeall -modern -builtin -outdir /srv/storage/autobuild/run/instance-0/output-1/build/python-m2crypto-0.36.0/M2Crypto -o SWIG/_m2crypto_wrap.c SWIG/_m2crypto.i Deprecated command line option: -modern. This option is now always on. /srv/storage/autobuild/run/instance-0/output-1/host/mipsel-buildroot-linux-gnu/sysroot/usr/include/bits/types.h:139: Error: CPP #error "". Use the -cpperraswarn option to continue swig processing. This build failure is probably raised because swig includes a wrong types.h file from the openssl directory (e.g. /srv/storage/autobuild/run/instance-0/output-1/host/mipsel-buildroot-linux-gnu/sysroot/usr/include) Fixes: - http://autobuild.buildroot.org/results/7f63e6a2d8681cc3408f344556afd5dd16eb7368 - http://autobuild.buildroot.org/results/d115a082418321e7dc4715c635f94b30b3cad387 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
* Just cleanup of spaces in setup.pyMatěj Cepl2020-11-021-15/+18
|
* New release0.36.0Matěj Cepl2020-07-132-1/+36
|
* wrap SocketIO in io.Buffered* for makefilelethliel2020-07-131-1/+1
| | | | | | | | | | | In python3.8 the fp is wrapped in a Buffer. SSL.Connection.makefile returns a socketIO which is no buffer. SocketIO in 'r' mode: use io.BufferedReader SocketIO in 'rw' mode: use io.BufferedRWPair
* SSL.Connection.close accepts an argument to force the socket closingChristophe Haen2020-07-131-11/+27
|
* SSL.Connection: make the clientPostConnectionCheck an instance attributeChristophe Haen2020-07-131-1/+4
|
* Fixed bug with usage of unexisting method getreply at SSL_Transportroman-nagaev2020-07-131-5/+5
|
* Add appveyor builds for python 3.7 and 3.8Daniel A. Wozniak2020-05-222-5/+38
|
* Fixed syntax warning on line 44.randomfox2020-04-141-1/+1
| | | Replaced the 'is not' with '!='
* Update M2Crypto.six to 1.13.0 (the last version supporting Python 2.6)Matěj Cepl2020-03-091-3/+16
|
* base64.decodestring() was finally removed in Python 3.8.Matěj Cepl2020-03-091-3/+9
|
* CleanupMatěj Cepl2020-03-091-8/+8
|
* wrap SocketIO in io.Buffered* for makefilelethliel2020-03-091-2/+6
| | | | | | | | | | | In python3.8 the fp is wrapped in a Buffer. SSL.Connection.makefile returns a socketIO which is no buffer. SocketIO in 'r' mode: use io.BufferedReader SocketIO in 'rw' mode: use io.BufferedRWPair
* Add correct generated filesMatěj Cepl2020-01-291-2/+11
|
* NULL is legal argument for key and iv paramters of EVP_CipherInit(3)Matěj Cepl2020-01-292-2/+16
| | | | Fixes #272
* Add correct generated filesMatěj Cepl2020-01-152-3474/+1802
|
* Expose X509_V_FLAG_ALLOW_PROXY_CERTS verification flag and ↵Christophe Haen2020-01-155-1802/+3530
| | | | X509_STORE_SET_FLAGS function
* Stop testing for 2.6 and 3.4 on Travis. Start testing 3.8Matěj Cepl2020-01-151-4/+2
|
* Extend test cert validity to 2049Bernhard M. Wiedemann2019-11-264-74/+74
| | | | | | | | | | | | | | | | to make tests pass after 2028 Background: As part of my work on reproducible builds for openSUSE, I check that software still gives identical build results in the future. The usual offset is +15 years, because that is how long I expect some software will be used in some places. This showed failing tests in our package build. See https://reproducible-builds.org/ for why this matters. Note: I tested that i586 builds still pass tests on 2036-12-01 so this change introduces no year2038 problem.
* Revert using typing module in 2.6. It is just not worthy.Matěj Cepl2019-11-252-2428/+5
|
* Update Debian/stable SSL as wellMatěj Cepl2019-11-241-1/+1
|
* Make tests pass again.Matěj Cepl2019-11-243-2/+2429
| | | | | 1. Python 2.6 needs bundled-in typing module 2. Update Windows OpenSSL version.
* Stop using string module, which has been deprecated.Matěj Cepl2019-11-242-3/+4
|
* Tiny fixes to make pyls more happyMatěj Cepl2019-11-141-3/+6
|
* CI: Rework Fedora CI configurationNeal Gompa2019-06-271-5/+13
| | | | | | | Upgrade Fedora environments to Fedora 30 since Fedora 26 has been long EOL. In addition, rename them so Python 2 is the non-default environment. Finally, add a Fedora Rawhide environment to validate M2Crypto there, similarly to how it is validated on openSUSE Tumbleweed.
* New release0.35.2Matěj Cepl2019-06-101-1/+1
|
* tests.test_rsa: Fix typo to match for proper exceptionSebastian Andrzej Siewior2019-06-081-1/+1
| | | | Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
* Add generated SWIG/_m2crypto_wrap.cMatěj Cepl2019-06-081-10/+17
|
* Expose CRLs verification flagsChristophe Haen2019-06-082-0/+6
|
* New release.0.35.1Matěj Cepl2019-06-082-1/+15
| | | | Next time, don't forget to update Changelog. AGAIN!!!