Generate one time passwords
Project description
otp-gen
A command line interface for generating one time passwords as per RFC 4226 and RFC 6238
Requirements
Python version 3.6.x and greater
Installation
The way to install otp-gen is to use pip
$ pip3 install otp-gen
Getting Started
You need to provision the secret key, issuer and rest of the details with the config command. Default values are shown if any.
Usage
You can request a new OTP with the get command. A progress bar appears next to the code to indicate expiry period of it. get continuously provides valid codes until killed.
Current configuration can be embedded in a QR code by using qrcode command.
References
License
otp-gen is under MIT license
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file otp-py-0.5.tar.gz.
File metadata
- Download URL: otp-py-0.5.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.21.0 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
acb47fe51e46a0959e41742a8e82b46ae85ed474625d42af562e588afff1ce99
|
|
| MD5 |
686a0a317d0d0b57e9eaa0ca1945d279
|
|
| BLAKE2b-256 |
e0c399affec96adb7727967945c57f1d23fa734c62694b4ddca3ce660a51f946
|