Skip to main content

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

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

tls_test_tools-0.1.1-py310-none-any.whl (8.8 kB view hashes)

Uploaded Python 3.10

tls_test_tools-0.1.1-py39-none-any.whl (8.9 kB view hashes)

Uploaded Python 3.9

tls_test_tools-0.1.1-py38-none-any.whl (8.9 kB view hashes)

Uploaded Python 3.8

tls_test_tools-0.1.1-py37-none-any.whl (8.9 kB view hashes)

Uploaded Python 3.7

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page