otpx
Simple OTP Client
Supported algorithms: TOTP and HOTP
Important note: Secrets must be stored in plain-text.
Requirements
- Python >= 3.5
Install
pip install otpx
Usage
Create keys file like this in home path ~/.otpx/keys:
instagram1: JBSWY3DPEHPK3PXP
instagram2: 3DPEHP3PXPJBSWYK
github: DPEHPKY3PXP3JBSW
myhotp: KJBSWDY3PXP3PEHP 1
Get all codes:
otpx
Get one code:
otpx instagram1
Copy to clipboard:
otp copy instagram2
Increase HOTP counter and get the code
otp inc myhotp
keys file format
# comment
name: secret [HOTP counter]
Metadata
Release files for otpx 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| otpx-1.0.2.tar.gz | 4.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| otpx-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.3 kB
Release files / otpx-1.0.2.tar.gz
| Download URL | otpx-1.0.2.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c4cba122a7014719093a33f3f70ca19eeb328ce98ad173e3dcda337de32d899b
|
|
BLAKE2b-256 checksum How to use checksums |
4d80147d6850cd7ec1232865b47adfce12100a4cba6e8b6fd9b553e80585027b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10
|
Release files / otpx-1.0.2-py3-none-any.whl
| Download URL | otpx-1.0.2-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1fc3ddf62c5d81591a62d0ce3d66a9fc7f088faee845bcbc950e5469f9a790fc
|
|
BLAKE2b-256 checksum How to use checksums |
b70c6c46e3326bed51baf51eb4de8c1f16127f3927ed1c1c2ccfd856f31be7c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10
|