tmautils-pki
PKI/certificate utilities for Internet measurement research. Part of the tmautils package family.
Installation:
pip install tmautils-pki
API
| Utility / Function | What it does |
|---|---|
RevocationChecker |
Check certificate revocation (OCSP/CRL) |
create_ssl_context() |
Create configurable SSL context |
get_cert() |
Fetch TLS certificate from a server |
get_cert_chain() |
Fetch full certificate chain from a server |
fetch_issuer_cert() |
Fetch issuer certificate via AIA extension |
fetch_issuer_chain() |
Build certificate chain from leaf to root |
Acknowledgments
Revocation checking logic (OCSP/CRL) adapts code from pki-tools by Michal Sadowski, licensed under the MIT License.
License
This project is licensed under MPL-2.0 (Mozilla Public License 2.0).
What this means in practice:
- If you modify an existing file, your modifications must remain MPL-2.0.
- You can license new files however you want. (But I won't merge them unless they are MPL-2.0.)
- You can use this code alongside code under other licenses.
Contributing
Contributions are highly welcome! See the tmautils README for philosophy and design choices.
AI Policy: I don't consider AI tool usage any different from IDE usage. This also means that you are responsible for the code you write and you should inspect every line of code written by an LLM.
Metadata
Release files for tmautils-pki 0.2.0
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 |
|---|---|---|---|---|
| tmautils_pki-0.2.0.tar.gz | 25.2 kB | Without provenance | Details for tmautils_pki-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tmautils_pki-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for tmautils_pki-0.2.0-py3-none-any.whl |
Total release size: 54.9 kB
Release files / tmautils_pki-0.2.0.tar.gz
| Download URL | tmautils_pki-0.2.0.tar.gz |
|---|---|
| Size | 25.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
23249fd1202c133bc8f9a450c3c6e868688d211ba7e7d7d40f9b7146b9101c88
|
|
BLAKE2b-256 checksum How to use checksums |
ecaa0b0be500cb58f38c90bcd7a174f17decafcef9859e94622c5b53c3cad817
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.3.2 CPython/3.14.3 Linux/6.19.6-200.fc43.x86_64
|
Release files / tmautils_pki-0.2.0-py3-none-any.whl
| Download URL | tmautils_pki-0.2.0-py3-none-any.whl |
|---|---|
| Size | 29.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a867d5eddae1ec11e6433161d61e840eb28fa1373398e9902aa15b94f004ff81
|
|
BLAKE2b-256 checksum How to use checksums |
24153142577d0685d40c50e48f9c0c154b2560647943f00f9d3b09c1140aedfa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.3.2 CPython/3.14.3 Linux/6.19.6-200.fc43.x86_64
|
Security for tmautils-pki 0.2.0
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.