Python wrapper for wolfSSL embedded SSL/TLS library.
 
 
Go to file
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
certs moving files from wolfssl/wrapper/python/wolfssl to here 2017-12-19 13:55:23 -03:00
docs update copyright to 2020 2020-01-03 16:24:35 -08:00
examples update copyright to 2020 2020-01-03 16:24:35 -08:00
make Modernize 2020-11-05 09:36:24 -08:00
requirements Modernize 2020-11-05 09:36:24 -08:00
src/wolfssl Add support for wolfSSL ctx password callback 2020-08-04 12:57:06 -07:00
tests update copyright to 2020 2020-01-03 16:24:35 -08:00
.gitignore Build Update 2019-09-27 15:55:42 -07:00
.travis.yml Modernize 2020-11-05 09:36:24 -08:00
LICENSING.rst moving files from wolfssl/wrapper/python/wolfssl to here 2017-12-19 13:55:23 -03:00
MANIFEST.in moving files from wolfssl/wrapper/python/wolfssl to here 2017-12-19 13:55:23 -03:00
Makefile updates docs 2018-03-19 22:28:12 +01:00
README.rst update README 2019-01-18 16:13:08 -08:00
setup.py update copyright to 2020 2020-01-03 16:24:35 -08:00
tox.ini moving files from wolfssl/wrapper/python/wolfssl to here 2017-12-19 13:55:23 -03:00

README.rst

Welcome
=======

.. image:: https://travis-ci.org/wolfSSL/wolfssl-py.svg?branch=master
    :target: https://travis-ci.org/wolfSSL/wolfssl-py

**wolfSSL Python**, a.k.a. ``wolfssl`` is a Python module
that encapsulates `wolfSSL's SSL/TLS library
<https://wolfssl.com/wolfSSL/Products-wolfssl.html>`_.

The **wolfSSL SSL/TLS library** is a lightweight, portable, C-language-based
library targeted at IoT, embedded, and RTOS environments primarily because of
its size, speed, and feature set. It works seamlessly in desktop, enterprise,
and cloud environments as well.


Installation
============

We provide Python wheels (prebuilt binaries) for OSX 64 bits and Linux 64 bits:

.. code-block:: bash

    $ pip install wolfssl

To build wolfssl-py from source:

.. code-block:: bash

    $ cd wolfssl-py
    $ pip install .

The default pip install clones wolfSSL from GitHub. To build wolfssl-py using a
local installation of the native wolfSSL C library, the USE_LOCAL_WOLFSSL
environment variable should be set.  USE_LOCAL_WOLFSSL can be set to "1" to use
the default library installation location (/usr/local/lib, /usr/local/include),
or to use a custom location it can be set to the install locaiton of your native
wolfSSL library.  For example:

.. code-block:: bash

    # Uses default install location
    $ USE_LOCAL_WOLFSSL=1 pip install .

    # Uses custom install location
    $ USE_LOCAL_WOLFSSL=/tmp/install pip install .

Tests
=====

To run the tests that ship with wolfssl-py, after compiling the library run
one of the following commands:

.. code-block:: bash

    $ pytest
    $ py.test tests

Support
=======

For support and questions, please email support@wolfssl.com.