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.0.tar.gz
(107.7 kB
view details)
File details
Details for the file oath-1.4.0.tar.gz
.
File metadata
- Download URL: oath-1.4.0.tar.gz
- Upload date:
- Size: 107.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
44c77efc73cff1f608cfe5cf61fc1bdaa57e8c0a43bab37c47ad80ca8bfb8124
|
|
MD5 |
23f48f6301e0b29533e843ef6565419f
|
|
BLAKE2b-256 |
d154712e032eba82f054fa7f353ea7d21090709199871de80c0892bd8e6db92e
|