tls-test-tools

A set of tools to quickly write unit tests for (m)TLS communication


Keywords
python, tls-test
License
Apache-2.0
Install
pip install tls-test-tools==0.1.1

Documentation

TLS Test Tools

This project is a collection of tools for managing ephemeral TLS secrets in unit tests.

When writing code that needs to either host a server with TLS enabled or make connections to a TLS enabled server, it's often difficult to write succinct unit tests that exercise these connections. This package aims to fix that! It provides utilities for auto-generating self-signed CAs and derived server/client pairs. It also provides tools for finding open ports to host temporary servers on.

Installation

To install, simply use pip

pip install tls-test-tools