TOTP 2FA
Project description
1. 介绍
TOTP 2FA动态密码服务器
2. 安装
pip install l0n0l2fa
3. 配置文件介绍(tokens_otp.json)
[
{
"token": "token", // 自定义, 唯一访问凭证
"user": "动态密码", // 用户名
"secrets": [
{
"name": "user1", // 密码的标签, 自定义
"secret": "user1密码" // 密码, 由需要2fa的服务提供(github, pypi ...)
},
{
"name": "user2", // 密码的标签, 自定义
"secret": "user2密码" // 密码, 由需要2fa的服务提供(github, pypi ...)
}
]
}
]
4. 命令介绍
l0n0l2fa -h
usage: l0n0l2fa [-h] [--host HOST] [--port PORT] [--certfile CERTFILE] [--keyfile KEYFILE] [--tokens TOKENS]
OTP 管理服务
options:
-h, --help show this help message and exit
--host HOST 监听地址 (默认: 127.0.0.1)
--port PORT 监听端口 (默认: 8080)
--certfile CERTFILE SSL 证书文件路径 (可选)
--keyfile KEYFILE SSL 私钥文件路径 (可选)
--tokens TOKENS Token 配置文件路径 (默认: tokens_otp.json)
5. 用例
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
l0n0l2fa-1.1.0.tar.gz
(6.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file l0n0l2fa-1.1.0.tar.gz.
File metadata
- Download URL: l0n0l2fa-1.1.0.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd36911000b3b546fcd0668de90f3796fd7edc5df3b9fb1264fa8710701a3c6c
|
|
| MD5 |
528b0ce8b2ad7cc8d61df68192bac84f
|
|
| BLAKE2b-256 |
3f254f61f1fff0a8dd4ce6cdb8c5df11c39d5e1cc22700cb25f415b6784a409d
|
File details
Details for the file l0n0l2fa-1.1.0-py3-none-any.whl.
File metadata
- Download URL: l0n0l2fa-1.1.0-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e055effcb81b615da61f58204c18d395009c054b1bf8d95605001ea76addd82
|
|
| MD5 |
a38e44ee99b513934a6e6768b92ca200
|
|
| BLAKE2b-256 |
b27b9e11cc2f1bd3bf214807427f92b71584ca00706c3cca056dec83975b8a3f
|