Commit Graph

14 Commits (d8db72f00d634042260f406c30741e90cffcaeee)

Author SHA1 Message Date
Marco Oliverio ab486a32bd wolfssl-py: support disabling secure renegotiation
Use environment variable WOLFSSLPY_DISABLE_SCR to build with secure
renegotiation disabled.
2024-08-19 16:34:19 +00:00
Marco Oliverio 4064227489 SSLSocket: support version() method 2024-07-18 18:53:27 +00:00
Lealem Amedie 6ba654c216 Update to version 5.6.6 2024-01-23 18:39:54 +01:00
Hayden Roche 636fa9cc8d Fix alert history code.
Because we access the fields of WOLFSSL_ALERT_HISTORY and WOLFSSL_ALERT directly
in do_handshake, these structs can't be opaque, or an exception will be raised
by FFI.
2022-09-30 17:59:40 +02:00
Lealem Amedie 1f88948c51 Adding DTLS13 support 2022-08-29 23:00:52 -07:00
Lealem Amedie 7c436817e7 Removing deleted wolfSSL build macro 2022-08-29 23:00:52 -07:00
Lealem Amedie e26560bf55 Adding DTLS support 2022-08-29 23:00:52 -07:00
Lealem Amedie 8117569866 Adding CRL support 2022-08-29 23:00:52 -07:00
Andrew Hutchings aea5844a10 Add support for disable-oldtls
If wolfSSL is build with `--disable-oldtls` then we need to support
this. Otherwise link errors will occur.
2022-07-22 13:20:13 +01:00
Andrew Hutchings 9d22a85445 Fix TLSv1.3 support
There were some missing pieces to the TLSv1.3 support, this adds them in
along with tests.
2022-07-15 11:07:43 +01:00
Andrew Hutchings c3484f36c2 Update to wolfSSL 5.3.0
Also fix issue where tox wasn't grabbing wolfSSL from git.
2022-05-12 18:48:33 +02:00
Andrew Hutchings 61d2f69d12 Don't do local build if env var set 2022-02-10 14:40:36 +00:00
Andrew Hutchings d57b7e9dcd Refactor build to be more Python-like
This ports over some of the fixes made to wolfCrypt. Some of this will
be pre-requisites for Windows support.

Build recursion fixes:
* Don't import module being built in setup.py
* Don't build the C code until we are doing binary dist or install
* Tox tests bdist_wheel instead of source

Other fixes:
* Separate out version to separate file for modifying
* Update copyright dates
* Unification of _build_ffi and _build_wolfssl
2022-02-08 15:04:22 +00:00
Andrew Hutchings b34b40f7f4 Update wolfSSL to 5.1.1 and fix any issues
* Bumps to wolfSSL 5.1.1
* Fixup `make clean`
* Move `wolfssl` src to root
* Switch test from DigiCert to GlobalSign (`python.org` ditched DigiCert
  years ago)
* Make SSLContext call `wolfSSL_Init()` which fixes a few issues
* Make `setup.py` compile CFFI and wolfSSL C code
* Fully enable SSLv3 support
* Add TLSv1.3 support
* Fix bug in `wolfSSL_Free()` usage
* Update `tox.ini` to a currently supported platform
2022-01-20 12:13:57 +00:00