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 details)

Uploaded Python 3.10

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

Uploaded Python 3.9

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

Uploaded Python 3.8

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

Uploaded Python 3.7

File details

Details for the file tls_test_tools-0.1.1-py310-none-any.whl.

File metadata

File hashes

Hashes for tls_test_tools-0.1.1-py310-none-any.whl
Algorithm Hash digest
SHA256 cf5688c156cd74fcba5759f91bd5e5e07ac83f1c3e77328bdede11f67e6d32b4
MD5 ad7a4e7e2902ce4f2378cf4bfa8eccca
BLAKE2b-256 499ff8abafa8d2914bed57a149a742f73c4148f5b63594fa2adcdfa9b3e60980

See more details on using hashes here.

File details

Details for the file tls_test_tools-0.1.1-py39-none-any.whl.

File metadata

File hashes

Hashes for tls_test_tools-0.1.1-py39-none-any.whl
Algorithm Hash digest
SHA256 3f75470536bbed2484088e06cdb5e1857c9ba803f1b30a8d6f3fb90e0fcd6111
MD5 9e4e394e746289ad6f8385f6cad71320
BLAKE2b-256 837a88253b350af4ed37ac25500acb601b41b77a20b62b423e9df3b2cf513011

See more details on using hashes here.

File details

Details for the file tls_test_tools-0.1.1-py38-none-any.whl.

File metadata

File hashes

Hashes for tls_test_tools-0.1.1-py38-none-any.whl
Algorithm Hash digest
SHA256 b0a2cf50e884092e0332d2c7aad36d2e56f8a536c0fd632d2616cd822ebd8e69
MD5 312faf1509637fdf5310dabcd104c220
BLAKE2b-256 94dab6f55cad3c28f639da7bd8078c187a633faf5c3a2de09c3c9626437003ab

See more details on using hashes here.

File details

Details for the file tls_test_tools-0.1.1-py37-none-any.whl.

File metadata

File hashes

Hashes for tls_test_tools-0.1.1-py37-none-any.whl
Algorithm Hash digest
SHA256 9a46a2f842bfb4b646dfcf90b1405f0a19f258b097d6aa50a8aad8c3a182c54e
MD5 c145bf5bb0e0534ecdef064e4a0c01a0
BLAKE2b-256 75944fe2f0378d4df4b7092f99ec6af26ee4047d62632bbbf089402e5923db3e

See more details on using hashes here.

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