Skip to main content

Pure-python, protocol agnostic SASL library for asyncio

Project description

aiosasl provides a generic, asyncio-based SASL library. It can be used with any protocol, provided the neccessary interface code is provided by the application or protocol implementation.


  • Python ≥ 3.5

Supported SASL mechanisms

  • PLAIN: authenticate with plaintext password (RFC 4616)
  • ANONYMOUS: anonymous “authentication” (RFC 4505)
  • SCRAM-SHA-1 and SCRAM-SHA-256 (and the -PLUS variants with channel binding): Salted Challenge Response Authentication (RFC 5802)


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

Supported channel binding methods

  • tls-unique and tls-server-end-point with a pyOpenSSL connection
  • all methods supported by the Python standard library when using the ssl module

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aiosasl-0.5.0.tar.gz (28.3 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page