Skip to main content

OpenSSL Transport for asyncio

https://github.com/horazont/aioopenssl/workflows/CI/badge.svg https://coveralls.io/repos/github/horazont/aioopenssl/badge.svg?branch=devel

aioopenssl provides a asyncio Transport which uses PyOpenSSL instead of the built-in ssl module.

The transport has two main advantages compared to the original:

  • The TLS handshake can be deferred by passing use_starttls=True and later calling the starttls() coroutine method.

    This is useful for protocols with a STARTTLS feature.

  • A coroutine can be called during the TLS handshake; this can be used to defer the certificate check to a later point, allowing e.g. to get user feedback before the starttls() method returns.

    This allows to ask users for certificate trust without the application layer protocol interfering or starting to communicate with the unverified peer.

Documentation

Official documentation can be built with sphinx and is available online on our servers.

Metadata

Release files for aioopenssl 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aioopenssl 0.6.0
File Size Uploaded Provenance Actions
aioopenssl-0.6.0.tar.gz 15.7 kB Without provenance Details for aioopenssl-0.6.0.tar.gz

Release files / aioopenssl-0.6.0.tar.gz

Download URL aioopenssl-0.6.0.tar.gz
Size 15.7 kB
Tags Source
SHA-256 checksum
How to use checksums
eae2fb193ec0d2a3f752f72d8f672191cc836b1039de5e334cc9cb835b800831
BLAKE2b-256 checksum
How to use checksums
4f751353cda7e6468fb3420603eb52c4cb21659fcf38bbd56c1af042b74d5da4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.4.2 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.8.0 tqdm/4.51.0 CPython/3.9.1

Security for aioopenssl 0.6.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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page