TLS Test Tools
This project is a library 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
Or use uv for faster installation:
uv add tls-test-tools
Development
See CONTRIBUTING.md for information on setting up a development environment and contributing to this project.
Metadata
Release files for tls_test_tools 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tls_test_tools-0.2.1.tar.gz | 8.6 kB | Without provenance | Details for tls_test_tools-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tls_test_tools-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for tls_test_tools-0.2.1-py3-none-any.whl |
Total release size: 17.7 kB
Release files / tls_test_tools-0.2.1.tar.gz
| Download URL | tls_test_tools-0.2.1.tar.gz |
|---|---|
| Size | 8.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1c07f4d1c106cb9996082de92e8997b7444a5029c5dbf2532b3be223ef3aa9f9
|
|
BLAKE2b-256 checksum How to use checksums |
0b60936960bc43ff148e1c8934f5e25e01222780689278d38494055728178339
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / tls_test_tools-0.2.1-py3-none-any.whl
| Download URL | tls_test_tools-0.2.1-py3-none-any.whl |
|---|---|
| Size | 9.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b0563e7f6032f9f2950d851f8c988fc02b683294aa16553f8a33e030edd04b45
|
|
BLAKE2b-256 checksum How to use checksums |
f6843e5eb693a6d5c350955fbb96b6a2f807d47102f6925f2e256f0ba2a9deac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for tls_test_tools 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.