summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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!!!
* Limit tests.test_rsa.RSATestCase.test_public_encrypt just to OpenSSL which ↵Matěj Cepl2019-06-071-3/+5
| | | | | | sustains it. Fixes #258
* Remove duplicate call of the error code.Matěj Cepl2019-06-071-2/+0
|
* New version0.34.0Matěj Cepl2019-05-301-1/+1
|
* Use more recent version of OpenSSL on WindowsMatěj Cepl2019-05-301-2/+2
|
* Be resilient against the situation when no erorr happened.Matěj Cepl2019-05-303-8/+41
| | | | Fixes #258.
* Correct URL of https://www.schneier.com/academic/smime/Matěj Cepl2019-05-1478-6254/+6254
| | | | Renegerate documentation.
* Use shlex.split() for CPPMike Gilbert2019-05-061-3/+4
| | | | | | | | The CPP environment variable is typically used in Makefiles, where it is passed to a shell for interpretation. The shlex module simulates shell-compatible word splitting, including handling of quoted strings.
* New release 0.33.00.33.0Matěj Cepl2019-04-262-1/+11
|
* Stop pretending to support Python 3.4.Matěj Cepl2019-04-263-8/+3
|
* Fix use of urlunsplitAndreas Schwab2019-04-251-1/+1
|
* tests/test_ssl: use -ciphercuites for TLS1.3 cipher in openssl1.1Sebastian Andrzej Siewior2019-03-071-1/+2
| | | | | | | | | | | | The -cipher can not be used in OpenSSL 1.1.b+ for TLS1.3 cipher since openssl upstream commit 1c31fe7eb093a ("Ignore cipher suites when setting cipher list"). Use -ciphersuites for TLS1.3 cipher as documented. Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc> Fixes #251
* There are apparently multiword CPP variables. Taking that into account.Matěj Cepl2019-03-071-1/+3
| | | | Fixes #250
* Release 0.32.00.32.0Matěj Cepl2019-03-042-1/+9
|
* setup.py: use ${CPP} as path to cppDuncan Macleod2019-03-041-1/+1
|
* Bump pipeline OpenSSL from 1.1.0i to 1.1.0j-2019-02-151-2/+2
| | | | | | | | Commits effc7be2 and 35bb71b3, despite passing tests, fail continuous integration because the previous OpenSSL version has been removed from its distributor's website: "Install OpenSSL 1.1.0 32bit" curl -o "c:\\%X86_OPENSSL_INSTALLER%" -fsSL "https://slproweb.com/download/%X86_OPENSSL_INSTALLER%" curl: (22) The requested URL returned error: 404 Not Found Command exited with code 22
* Stub wchar_t helpers and ignore unused WCHAR defsmakepost2019-02-091-0/+8
| | | | Resolves issue #246.
* Add type comment to setup.pyMatěj Cepl2018-12-021-0/+1
|
* Release 0.31.00.31.0Matěj Cepl2018-11-082-1/+11
|
* Fix openssl 1.1 devel installation.Matěj Cepl2018-11-083-22/+36
|
* Stated installation requirement for SWIGKonstantin Shemyak2018-11-031-2/+2
|
* Send the last message of the handshake before closing the connectionKurt Roeckx2018-10-301-0/+3
|
* Corrected project's build dependenciesKonstantin Shemyak2018-10-301-15/+10
|
* Create 2048 bit test keysKurt Roeckx2018-10-0714-307/+521
|
* Add more 3.5 to appveyor buildsDaniel Wozniak2018-10-031-0/+15
|
* Deprecate Python 3.3 (unsupported by Twisted) and test on 3.7.Matěj Cepl2018-10-034-5/+6
| | | | | Unfortunately 3.7 doesn't work on Travis CI (because of too old OpenSSL).
* Handle set_serial overflow on python 2.6Daniel Wozniak2018-10-031-3/+5
|
* Fix test_26_compat on OSXDaniel Wozniak2018-10-031-1/+1
|
* Move from the deprecated Docker images.Matěj Cepl2018-10-031-1/+1
|
* Fix py2 testsDaniel Wozniak2018-10-021-6/+4
|
* Centeralize py3 compatDaniel Wozniak2018-10-022-17/+2
|
* Fix asn1_integer_set metho used by x509 serialDaniel Wozniak2018-10-021-2/+18
| | | | | | - Avoid overflow errors on py3 if the integer is larger then the greatest c long value. - Fix fallback asn1_integer_set by using python 3 specific C api methods
* Add test that sets a serial using a very long intDaniel Wozniak2018-10-021-0/+6
|
* Use variables for installer nameDaniel Wozniak2018-09-211-4/+6
|
* Fail when curl gets a non 200 responseDaniel Wozniak2018-09-051-5/+5
|
* Make ctrl_cmd_string method more robust against type of arguments.Matěj Cepl2018-09-052-5/+13
| | | | | | | | Technically speaking we prescribe in the type string that the paramteres should be str, but users don't like to care about the type of parameters. Fixes #228
* Taken a longer millisecond timeout to avoid handling rounding.Konstantin Shemyak2018-07-241-11/+13
| | | | | | | | | Linux rounds microseconds in the timeouts up to the HZ kernel parameter. To avoid checking for rounded values, pick the timeout long enough so that it is whole number of HZ for any reasonable HZ value. By doing this, we also do not need to handle separately Windows rounding microseconds down to milliseconds.
* We somehow forgot to run test_util tests.Matěj Cepl2018-07-242-11/+6
|
* Deleted duplicate test from a wrong locationKonstantin Shemyak2018-07-231-23/+0
|
* Update SWIG/_m2crypto_wrap.c with swig 2.*Matěj Cepl2018-07-231-3/+16
|
* Show detailed OpenSSL error messagesKonstantin Shemyak2018-07-234-2/+162
| | | | | | | | | | | | | | When OpenSSL encounters an error, M2Crypto prints only the "reason string" (given by ERR_reason_error_string()). This string often contains only very generic message. For example, for all certificate verification errors, the string is the same "certificate verify error". OpenSSL applications (e.g. the command-line utilities from OpenSSL distribution) additionally show "optional text message" as given by ERR_get_error_line_data(). This message contains more detailed error reason, such as for example "certificate revoked". Added this message (if given by OpenSSL) to the Python error text.
* Correct SWIG binding of SSL_MODE_ACCEPT_MOVING_WRITE_BUFFERChristophe Haen2018-06-111-1/+1
|
* Enabled timeout case with microsecs and fixed for WindowsAndreas Maier2018-06-086-10/+178
|
* Fixed socket timeout on WindowsAndreas Maier2018-06-041-4/+18
| | | | | | | | | | | | | | | Details: The Connection.set_socket_read_timeout() and set_socket_write_timeout() methods set the socket timeout viy respective socket options. The current code provided a struct of two long values (seconds, microseconds). That is valid only on Linux, UNIX, and (probably) OS-X. On Windows however, the value must be a single DWORD in milliseconds. This change supplies the values correctly when on Windows, by converting between sec,microsec and millisec (rounding as needed). When not on Windows, the code is unchanged. Signed-off-by: Andreas Maier <andreas.r.maier@gmx.de>
* We need to require libssl1.0-dev and then we don't need libssl1.0.0 explicitly.Matěj Cepl2018-06-041-3/+3
| | | | But only on Debian/stretch, jessie has libssl-dev right.
* Add missing absolute_import.Byron Clark2018-05-181-0/+2
| | | | | | | | | Adding this for two reasons: 1) Match all the other files. 2) Make M2Crypto work on linux when using a case insensitive filesystem. (2) is definitely an edge case, but it's affecting users that keep a python project on a Mac and run it from linux (vagrant is one culprit).