Skip to main content

Python bindings to the LibreAuth library.

Project description

Python bindings to the LibreAuth library. LibreAuth is a collection of tools for user authentication written in Rust.

Build status Documentation Status Project status Version Python versions CeCILL license

Features

This is a work in progress. Some features may not be available.

  • Password / passphrase authentication

    • ✓ no character-set limitation

    • ✓ reasonable lenth limit (security vs. DOS)

    • ✓ strong, evolutive and retro-compatible password hashing functions

    • ✓ optional NIST Special Publication 800-63B compatibility

  • HOTP - HMAC-based One-time Password Algorithm (OATH - RFC 4226)

    • ✗ the key can be passed as bytes, an ASCII string, an hexadicimal string or a base32 string

    • ✗ customizable counter

    • ✗ customizable hash function (sha1, sha256, sha512)

    • ✗ customizable output length

    • ✗ customizable output alphabet

  • TOTP - Time-based One-time Password Algorithm (OATH - RFC 6238)

    • ✗ the key can be passed as bytes, an ASCII string, an hexadicimal string or a base32 string

    • ✗ customizable timestamp

    • ✗ customizable period

    • ✗ customizable initial time (T0)

    • ✗ customizable hash function (sha1, sha256, sha512)

    • ✗ customizable output length

    • ✗ customizable output alphabet

    • ✗ customizable positive and negative period tolerance

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

libreauth-0.1.0.dev3-py3-none-any.whl (24.4 kB view details)

Uploaded Python 3

File details

Details for the file libreauth-0.1.0.dev3-py3-none-any.whl.

File metadata

File hashes

Hashes for libreauth-0.1.0.dev3-py3-none-any.whl
Algorithm Hash digest
SHA256 d8a2344f54ba670efb4d0a4e67e9123b901cce5e227f2dee6804cee1b41977a5
MD5 e64c0dc98d2b4b015a5c60e1d1d40e3f
BLAKE2b-256 0e043b8aa48fc2eaa5c60d2c798acf5118ee48b0f0a10b896807a0cca2446e2e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page