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.
It’s Python 3 ready.
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.
GoogleAuthenticator to parse Google Authenticator URI
from_b32key to create a a GoogleAuthenticator object from a simple base32 key
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.4.1.tar.gz
(108.4 kB
view details)
File details
Details for the file oath-1.4.1.tar.gz
.
File metadata
- Download URL: oath-1.4.1.tar.gz
- Upload date:
- Size: 108.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
60f59ead7dfe56c49e98ace4d4abab1b62fe65b657d3bfeebb60b322c0be30db
|
|
MD5 |
e1e28f21882303533424371786d23436
|
|
BLAKE2b-256 |
641967fa93580c7fab35fca87dd51952d6255514a024b6add66e4c7769ed9d8c
|