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
Built Distribution
File details
Details for the file oath-1.4.4.tar.gz
.
File metadata
- Download URL: oath-1.4.4.tar.gz
- Upload date:
- Size: 111.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd6b20d20f2c4e3f53523ee900211dca75aeeca72f4f5a9fd8dcacc175fe1c0b |
|
MD5 | d65fa62f177061619ebd9343acc75133 |
|
BLAKE2b-256 | 9fee51d13af182a1dd141c95dbbbc60867ef1d6d3d123e8eb9313ab49deabb79 |
File details
Details for the file oath-1.4.4-py3-none-any.whl
.
File metadata
- Download URL: oath-1.4.4-py3-none-any.whl
- Upload date:
- Size: 13.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 503092f388f041f91737f6b3bd5b83e8cf3f40c7d9bc87bcfbfac33e0ae6d685 |
|
MD5 | 4ccee425c949e870d82006a3402bdf63 |
|
BLAKE2b-256 | cf52e9b0829038c41be3f940de72d1159e3ff40aa5bf20245426ef333426a284 |