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.
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.2.tar.gz
(9.1 kB
view details)
File details
Details for the file oath-1.2.tar.gz
.
File metadata
- Download URL: oath-1.2.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
56f5d6eba7d498954e95bbf78744c37844bc92d9058a7f3303b38d32bb9ca548
|
|
MD5 |
2413d950a40707930247998a295c017a
|
|
BLAKE2b-256 |
e424dbd5c6b799db1cb02d39f24cff9dfded5ee798b967ad9d898a1acdf5bb21
|