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 | Provenance | Actions |
|---|---|---|---|---|
| otpx-1.0.2.tar.gz | 4.2 kB | Without provenance | Details for otpx-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| otpx-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for otpx-1.0.2-py3-none-any.whl |
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
|
Security for otpx 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.