Commit Graph

100 Commits (0a8a76c6d426289d9019e10d02db9a5af051fba8)

Author SHA1 Message Date
lealem47 0a8a76c6d4
Merge pull request #42 from danielinux/prepare-5.6.0-0
Updating wolfSSL to v5.6.0
2023-05-02 09:30:53 -06:00
Daniele Lacamera 0443855b1b Updating wolfSSL to v5.6.0 2023-05-02 12:38:28 +02:00
David Garske f43fa0c651
Merge pull request #39 from danielinux/v5.5.4-rc
Prepare release 5.5.4
2022-12-30 09:06:56 -08:00
Daniele Lacamera 0976f9bde9 Prepare release 5.5.4 2022-12-30 17:27:39 +01:00
JacobBarthelmeh 5475963eaf
Merge pull request #38 from danielinux/update-v5.5.3
Update to version 5.5.3
2022-11-03 15:56:53 -06:00
Daniele Lacamera 91f0e85445 Update to version 5.5.3 2022-11-03 14:37: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
David Garske 8ac9754adb
Merge pull request #36 from lealem47/bump
Bump version to 5.5.0
2022-08-31 13:48:33 -07:00
Lealem Amedie 6e712f8164 Bump version to 5.5.0 2022-08-31 13:28:10 -07: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
David Garske 33aced7039
Merge pull request #34 from LinuxJedi/add-changelog
Add changelog
2022-08-09 08:37:21 -07:00
Andrew Hutchings 7923c10697 Add ChangeLog file 2022-08-09 07:45:05 +01:00
Chris Conlon 6ebc362164
Merge pull request #33 from LinuxJedi/disable-oldtls-support 2022-07-27 15:00:48 -06:00
Chris Conlon 59114919e0
Merge pull request #32 from LinuxJedi/tls_13_fix 2022-07-26 09:48:50 -06: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 56188c2814 Fix help number 2022-07-15 11:19:43 +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 c3ebf228c7 Bump version to 5.4.0 2022-07-13 16:24:18 +02:00
Andrew Hutchings 7b1ae1d22d Add prerequisites section to README 2022-07-13 16:23:45 +02:00
Andrew Hutchings 53b49d867f Remove dead Travis CI 2022-05-13 11:54:47 +02:00
Andrew Hutchings 16d4eae6be Add GitHub Actions 2022-05-13 11:54:47 +02:00
Andrew Hutchings 0e325b4123 Port changes from wolfSSL's Python wrapper
wolfSSL's main source tree has a stale Python wrapper. This ports
everything over from it before it goes away. In this case it is just a
README change.
2022-05-12 18:50:36 +02: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
David Garske 696b55b476
Merge pull request #25 from LinuxJedi/refactor-build
Refactor build to be more Python-like
2022-02-10 07:45:27 -08: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
David Garske 3c928b1137
Merge pull request #24 from LinuxJedi/update-wolfssl
Update wolfSSL to 5.1.1 and fix any issues
2022-02-07 11:18:17 -08:00
David Garske f349d08302 Minor spelling fixes. 2022-02-07 11:17:40 -08:00
Andrew Hutchings 1aa226bff0 Backport fixes from wolfcrypt-py
* Make wolfSSL a submodule
* Fix sdist packaging
* Make tox work on all py3 releases and remove pep8 for now
2022-01-31 14:56:55 +00:00
Andrew Hutchings f7072afbb3 Fix TLSv1_3 constant bug 2022-01-20 17:01:23 +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
John Safranek ace63e9c33
Merge pull request #22 from haydenroche5/compatibility-layer
Add an OpenSSL compatibility layer.
2021-09-03 09:30:04 -07:00
Hayden Roche 7db065dd34 Add an OpenSSL compatibility layer.
Prior to this commit, some compatibility layer functions were available in
wolfssl-py's FFI bindings but only via the wolfSSL names. For example,
`wolfSSLv23_server_method` was available, but not `SSLv23_server_method`. This
commit adds support for the OpenSSL names. So, a Python module that uses the
OpenSSL names can now be more easily ported to using wolfssl-py. For example,
the module pyOpenSSL is a Python wrapper around OpenSSL using FFI, very similar
to what we're doing with wolfssl-py. These new bindings in wolfssl-py allow us
to plug in our wolfSSL FFI to pyOpenSSL, which in turn allows projects using
pyOpenSSL to use wolfSSL under the hood. As a proof of concept, I used
wolfssl-py with pyOpenSSL to convert the Python module ndg_httpsclient from
OpenSSL to wolfSSL.
2021-09-02 08:51:37 -07:00
John Safranek e25f244697
Merge pull request #19 from cconlon/certupdate 2021-02-19 20:18:36 -08:00
Chris Conlon 3ab3fe45fb update example certs to match main wolfSSL ones 2021-02-18 14:18:58 -07:00
Chris Conlon 7d209322a5
Merge pull request #17 from tmael/write_check_ret0
Handle error when wolfSSL_write() returns 0
2020-11-06 08:39:44 -07:00
Tesfa Mael 84592548fa Raise error when wolfSSL_write() returns 0 2020-11-05 16:21:44 -08:00
Chris Conlon 15e0b25129
Merge pull request #18 from ejohnstown/touch-reqs
Copy Files
2020-11-05 16:26:31 -07:00
John Safranek 521ac648a0 add language python for linux 2020-11-05 11:10:21 -08:00
John Safranek 92a3f7fe4a
Modernize
1. Update the travis script to follow their multi-OS example.
2. Set the path to Python in the osx bulid wheels script.
3. Add newlines to a couple requirements.
4. For osx, removed all versions of python except 3.7 and 3.8.
2020-11-05 09:36:24 -08:00
Chris Conlon e7e64de2c3
Merge pull request #12 from ejohnstown/build-update
Build Update
2020-11-03 17:06:45 -07:00
Chris Conlon 9bef875bb4
Merge pull request #14 from tmael/pem-passwd-cb
Add support for wolfSSL Context password callback
2020-08-07 11:17:59 -06:00
Tesfa Mael 436b2360b6 Add support for wolfSSL ctx password callback 2020-08-04 12:57:06 -07:00
John Safranek 401e12aa4c
Merge pull request #13 from cconlon/copyright2020
update copyright to 2020
2020-07-28 15:41:19 -07:00
Chris Conlon 032f2e0167 update copyright to 2020 2020-01-03 16:24:35 -08:00
John Safranek f398057d54 change travis 2019-09-27 16:37:03 -07:00
John Safranek fc88398f8b Build Update
One more update to make the build_wheels scripts the same.
2019-09-27 16:30:47 -07:00