summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Replace 'from . import' with absolute imports.Matěj Cepl2021-01-1428-28/+28
|
* Remove superfluous variables in test_bn.Matěj Cepl2021-01-141-9/+9
|
* Remove deprecation warningsMatěj Cepl2021-01-142-4/+4
|
* Move project to src/ layoutMatěj Cepl2021-01-1468-9/+12
|
* Fix main.ymlMatěj Cepl2021-01-143-13/+24
| | | | | | Perhaps unittest is enough, after all Fixes #288
* Allow verify_cb_* to be called with ok=TrueCasey Deccio2021-01-081-2/+12
| | | | | With https://github.com/openssl/openssl/commit/2e06150e3928daa06d5ff70c32bffad8088ebe58 OpenSSL allowed verificaton to continue on UNABLE_TO_VERIFY_LEAF_SIGNATURE
* Bump Windows OpenSSL versionMatěj Cepl2020-12-171-2/+2
|
* Be prepared if any of constants in x509_vfy.h is not available.Matěj Cepl2020-12-172-19/+68
| | | | Fixes #290
* We don't support 2.6, really.Matěj Cepl2020-12-091-1/+1
|
* But we do support 3.8Matěj Cepl2020-12-081-0/+1
|
* We DO NOT support Python 2.6.Matěj Cepl2020-12-081-1/+0
|
* Updated SWIG/_m2crypto_wrap.c0.37.1Matěj Cepl2020-12-081-43/+85
|
* Fix typo parametrized -> parameterizedMatěj Cepl2020-12-084-7/+7
|
* 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