Python module that encapsulates wolfSSL's C SSL/TLS library.
Project description
Welcome
wolfssl Python is a Python module that encapsulates wolfssl C, a lightweight C-language-based SSL/TLS library targeted for embedded, RTOS, or resource-constrained environments primarily because of its small size, speed, and portability.
Installation
In order to use wolfssl Python, you’ll also need to install wolfssl C.
Mac OSX
Installing from homebrew and pip package managers:
# wolfssl C installation
brew install wolfssl
# wolfssl Python installation
sudo -H pip install wolfssl
Installing from source code:
# wolfssl C installation
git clone https://github.com/wolfssl/wolfssl.git
cd wolfssl/
./autogen.sh
./configure --enable-sha512
make
sudo make install
# wolfssl Python installation
cd wrapper/python/wolfssl
sudo make install
Linux
# dependencies installation
sudo apt-get update
sudo apt-get install -y git autoconf libtool
sudo apt-get install -y python-dev python3-dev python-pip libffi-dev
# wolfssl C installation
git clone https://github.com/wolfssl/wolfssl.git
cd wolfssl/
./autogen.sh
./configure --enable-sha512
make
sudo make install
sudo ldconfig
# wolfssl Python installation
sudo -H pip install wolfssl
Testing
To run the tox tests in the source code, you’ll need tox and a few other requirements. The source code relies at WOLFSSL_DIR/wrapper/python/wolfssl where WOLFSSL_DIR is the path of wolfssl C’s source code.
Make sure that the testing requirements are installed:
sudo -H pip install -r requirements-testing.txt
Run make check:
$ make check
...
_________________________________ summary _________________________________
py27: commands succeeded
SKIPPED: py34: InterpreterNotFound: python3.4
py35: commands succeeded
py36: commands succeeded
congratulations :)
Note: the test is performed using multiple versions of python. If you are missing a version the test will be skipped with an InterpreterNotFound error.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file wolfssl-3.12.2.post0.tar.gz
.
File metadata
- Download URL: wolfssl-3.12.2.post0.tar.gz
- Upload date:
- Size: 33.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c08385e077e843fab348fe427fb5479d409ef0bca0b8b1bc64f9fa6a3c24d7f |
|
MD5 | 1488dd42d10a05e337724a823c898bfe |
|
BLAKE2b-256 | f4110fa96b3154ae9c8a992ecbc602531a900feb457f8c436695e05c3cc1afd8 |
File details
Details for the file wolfssl-3.12.2.post0-cp36-cp36m-manylinux1_x86_64.whl
.
File metadata
- Download URL: wolfssl-3.12.2.post0-cp36-cp36m-manylinux1_x86_64.whl
- Upload date:
- Size: 203.7 kB
- Tags: CPython 3.6m
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d0f2bffe5b0518887d7f07e4baa98fdcebd3c8700e32a4cd5d18783798ae87e |
|
MD5 | 0d2fc8b0b276bd07d444ecf311837757 |
|
BLAKE2b-256 | fdcd7c06a99343616022c2feb7bce11cb245fd5cb7d2c3f29184848f8b2beacc |
File details
Details for the file wolfssl-3.12.2.post0-cp36-cp36m-macosx_10_6_intel.whl
.
File metadata
- Download URL: wolfssl-3.12.2.post0-cp36-cp36m-macosx_10_6_intel.whl
- Upload date:
- Size: 199.2 kB
- Tags: CPython 3.6m, macOS 10.6+ intel
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f572c47820200ff884bf001d1d86d5ad42774428ecd4c4921296e0277c0b425e |
|
MD5 | fa59ae9ec2152ccd6677d8ab3cd104e4 |
|
BLAKE2b-256 | e316377df541fdc41c3be380576b5d3adf7a81d47235c2dc60bc9430f809979d |
File details
Details for the file wolfssl-3.12.2.post0-cp35-cp35m-manylinux1_x86_64.whl
.
File metadata
- Download URL: wolfssl-3.12.2.post0-cp35-cp35m-manylinux1_x86_64.whl
- Upload date:
- Size: 203.7 kB
- Tags: CPython 3.5m
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab44795fe8bf9d60240d670860e0ce9c8f085f2aff60824c398406a87cbdd358 |
|
MD5 | f1ff618d4e2e89bed2d0c44f6cb512d1 |
|
BLAKE2b-256 | 79e49047f3b5e62264c10c633debec5212c0235b12dd19da2cb54d40cd3f2d60 |
File details
Details for the file wolfssl-3.12.2.post0-cp35-cp35m-macosx_10_6_intel.whl
.
File metadata
- Download URL: wolfssl-3.12.2.post0-cp35-cp35m-macosx_10_6_intel.whl
- Upload date:
- Size: 199.2 kB
- Tags: CPython 3.5m, macOS 10.6+ intel
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60443d95a797c03c839181850303e9682016aa52d96b2d34d3b462443bdc6e99 |
|
MD5 | 3440cbf826640d3985be4508a57d7660 |
|
BLAKE2b-256 | fc4efca6e146ecb92c0e304b12f204df96899eaeffd252e6a69db36ce479de88 |
File details
Details for the file wolfssl-3.12.2.post0-cp34-cp34m-manylinux1_x86_64.whl
.
File metadata
- Download URL: wolfssl-3.12.2.post0-cp34-cp34m-manylinux1_x86_64.whl
- Upload date:
- Size: 203.7 kB
- Tags: CPython 3.4m
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f276eb5d3bfca9cb2b162484065d05ae9183e4f71cbdead693d667ad187e8f94 |
|
MD5 | 37d44078e968009dda4e873dad86e5e9 |
|
BLAKE2b-256 | 6bf8c8a0a149ac51fc3bb9c4fa62ec374925b432b85b975636d6d61044e2b8d9 |
File details
Details for the file wolfssl-3.12.2.post0-cp34-cp34m-macosx_10_6_intel.whl
.
File metadata
- Download URL: wolfssl-3.12.2.post0-cp34-cp34m-macosx_10_6_intel.whl
- Upload date:
- Size: 199.2 kB
- Tags: CPython 3.4m, macOS 10.6+ intel
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f36add31e2a7fbeea1350ec960f579bcad348575dbf7ba52b888a5742985383 |
|
MD5 | 8f12c61d7ddb9b59b67028e14dd6bc20 |
|
BLAKE2b-256 | afe73aa06244d4a686e26ac538f1845ab1f7344dfda61fe1c5041a0484694eaf |
File details
Details for the file wolfssl-3.12.2.post0-cp27-cp27mu-manylinux1_x86_64.whl
.
File metadata
- Download URL: wolfssl-3.12.2.post0-cp27-cp27mu-manylinux1_x86_64.whl
- Upload date:
- Size: 206.6 kB
- Tags: CPython 2.7mu
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91b2d1f831fa75b5dfa0ce44d15af737d3bd5b820b582ecace86d56ef7c8e3cc |
|
MD5 | 6916d8efc31b7a9161bd74d43f9db521 |
|
BLAKE2b-256 | 7684d2cdacf5e9dd9c0ef3c0f4dd26c43ed7984cd59a751c9b1053feb8d5a60c |
File details
Details for the file wolfssl-3.12.2.post0-cp27-cp27m-manylinux1_x86_64.whl
.
File metadata
- Download URL: wolfssl-3.12.2.post0-cp27-cp27m-manylinux1_x86_64.whl
- Upload date:
- Size: 206.6 kB
- Tags: CPython 2.7m
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ae8b482b8cb1d11bbb331304503a3ac6cca0e052d2486ed5c51c4201c621521 |
|
MD5 | 7dc8ada6882683484af4aa530639cc6b |
|
BLAKE2b-256 | 6339cc512ce4f42824a99e5ac2f9165e1e87923d2054dc66155c3b38bbeff1fd |
File details
Details for the file wolfssl-3.12.2.post0-cp27-cp27m-macosx_10_6_intel.whl
.
File metadata
- Download URL: wolfssl-3.12.2.post0-cp27-cp27m-macosx_10_6_intel.whl
- Upload date:
- Size: 199.1 kB
- Tags: CPython 2.7m, macOS 10.6+ intel
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b80e2788184e3c453a9e2d09aea9c59b95b33ba9681a4efd4cedb43a0a4b0b15 |
|
MD5 | 387ce3807938be7dced71766b0176fad |
|
BLAKE2b-256 | ccd3258855f2b3bac30ecbf8894ac9980739f7b5280e74df0b9553183135ce7f |