Info2: << Package: trustme-py%type_pkg[python] Version: 1.2.0 Revision: 1 Description: TLS certs while you wait License: BSD # Free to modify, update, and take over Maintainer: Hanspeter Niederstrasser Type: python (3.9 3.10) Depends: << python%type_pkg[python], cryptography-py%type_pkg[python] (>= 3.1), idna-py%type_pkg[python] (>= 2.0) << BuildDepends: << bootstrap-modules-py%type_pkg[python], hatchling-py%type_pkg[python] << Source: https://files.pythonhosted.org/packages/source/t/trustme/trustme-%v.tar.gz Source-Checksum: SHA256(ed2264fb46c35459e6de9e454ed4bab73be44b6a2a26ad417f9b6854aebb644a) CompileScript: << PYTHONPATH=%p/share/bootstrap-modules-python%type_pkg[python] %p/bin/python%type_raw[python] -m build --wheel --no-isolation --skip-dependency-check << InfoTest: << # cryptography-py (>= 43.0.3) needed for not_valid_before_utc, so skip the 4 tests that use it TestDepends: << coverage-py%type_pkg[python], pyasn1-modules-py%type_pkg[python], pyopenssl-py%type_pkg[python], pytest-py%type_pkg[python] (>= 6.2), service-identity-py%type_pkg[python] (>= 24.2.0) << TestScript: << PYTHONPATH=%p/share/bootstrap-modules-python%type_pkg[python] %p/bin/python%type_raw[python] -m installer --destdir %b/tempdist dist/*.whl PYTHONPATH=%b/tempdist/%p/lib/python%type_raw[python]/site-packages %p/bin/python%type_raw[python] -m pytest -k 'not (test_basics or test_issue_cert_custom_not_)' -vv || exit 2 << << InstallScript: << #!/bin/sh -ev PYTHONPATH=%p/share/bootstrap-modules-python%type_pkg[python] %p/bin/python%type_raw[python] -m installer --destdir %d dist/*.whl << DocFiles: LICENSE* README.rst Homepage: https://github.com/python-trio/trustme DescDetail: << You wrote a cool network client or server. It encrypts connections using TLS. Your test suite needs to make TLS connections to itself. Uh oh. Your test suite probably doesn't have a valid TLS certificate. Now what? trustme is a tiny Python package that does one thing: it gives you a fake certificate authority (CA) that you can use to generate fake TLS certs to use in your tests. Well, technically they're real certs, they're just signed by your CA, which nobody trusts. But you can trust it. Trust me. << <<