Skip to main content

Python implementation of the three main OATH specifications: HOTP, TOTP and OCRA

Project description

Python OATH

python-oath is a package implementing the three main OATH specifications:
  • HOTP, an event based one-time password standard – OTP – using HMAC signatures,

  • TOTP, a time based OTP,

  • OCRA, a mixed OTP / signature system based on HOTP for complex use cases.

Getting started

The main APIs are:

  • hotp, to generate a password.

  • accept_hotp, to check a received password,

  • totp and accept_totp, the same for the TOTP standard.

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

oath-1.1.tar.gz (105.9 kB view details)

Uploaded Source

File details

Details for the file oath-1.1.tar.gz.

File metadata

  • Download URL: oath-1.1.tar.gz
  • Upload date:
  • Size: 105.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for oath-1.1.tar.gz
Algorithm Hash digest
SHA256 4b220c7c940b086ea5e8a75d2d747562d2ebaa677366f2e6b02b762a80c904e8
MD5 277ad687524029e9ae96a5086d65b52c
BLAKE2b-256 6b8031e79e59ffdbf9427dda391ef50f65179d2f6d7bc6d75ff9a62eb19307a0

See more details on using hashes here.

Supported by

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