Tool to generate One-Time Passwords
Project description
Tool to generate One-Time Passwords and copy them to clipboard
PyPI package: ppotp
If you spot any problems or have any improvement ideas then feel free to open an issue and I will be glad to look into it for you.
Installation
A recommended way of installing the tool is pip install.
Once installed, a command line tool otp should be available in your system’s PATH.
pip install
The tool is available in PyPI and can be installed using pip:
$ pip install --user ppotp $ otp --help
Usage
$ otp --help usage: otp [--version] [--help] [--debug] key Tool to generate One-Time Passwords positional arguments: key key or service name from ~/.otpkeys optional arguments: --version show program's version number and exit --help show this help message and exit --debug debugging mode
Examples
$ otp BEXUS3AVCUU7HYU4OZQ44WFXMULPNQB2TKQ4YCNUASPXMPEH6YAZ3IACFM5VEGUQ 770400
Key file ~/.otpkeys
You can save your keys to ~/.otpkeys file using service=key format, for example:
$ cat ~/.otpkeys aws=N5VEJBTUA553BYJTTTUGS3GANKVDECG62RHVIOV2FLYR5THC726ZOIOF4SQZZ5NV google=QYDL7HS7LHPVKX7GGYKYIP3UEYOML2IENWYQD5NHYGETBZIRWWODKQWC3PRNQ3FO facebook=ZBSLA3KGE4PEXCEGIJ57AKJLOHW2S3ABQNOOWZVV3HOO4Q3455BOG6BRNU5M2QK4
Then you can generate OTP, by running:
$ otp {service}
Example:
$ otp aws 443782 $ otp google 760698 $ otp facebook 009176
Auto copy OTP to clipboard
The tool automatically copies successfully generated code to the clipboard.
Example:
$ otp cloud 324982
At this point the above OTP should be in the clipboard.
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
Built Distribution
Hashes for ppotp-2.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92848a822e40d3a4ff68bb66a03e527b92eb60b831f969d601fc8a6f1902a6c2 |
|
MD5 | eba2673ae55d04d30170c989220e108a |
|
BLAKE2b-256 | fcd70c6de47f545f82d7655d0941fa9c1323e3df3225050d1e1151f5b5c7bbba |