User [with Setup Key] Creating Tool
Purpose
- This tiny tool (working as a web daemon) helps people to manage their small community of users.
- The users are created manually by an administrator, and about to receive emails with their secret setup keys which can be added to modern authenticator apps.
- After being created, a new user can log in the community portal with TOTP authenticator code.
- The tool includes: user listing, creating, deleting routines. The user-creating routine allows administrators add new user name and email, then automatically send notification email.
- The automatic email sending uses Google mail API under administrators Gmail account.
Installation
pip install uvia vapp skadd
Sample Usage
## nano skadd.sh
export JWT_SECRET="very-strong-password"
export SETUPKEY_ENCRYPT_SECRET="other-strong-password"
export TOKEN_EXPIRE_MINUTES=30
export ADMIN_AUTHENTICATOR_EMAIL_LIST="EMAIL_LIST_SEPARATED_BY_COMMA"
export SENDER_GMAIL_ADDRESS="YOUR_WORKING_GMAIL_ADDRESS"
export SENDER_GMAIL_APP_PWD="YOUR_WORKING_GMAIL_APP_PWD"
export FILE_AVRO_AUTHORS="./users/roleauthors.avro"
export FILE_AVRO_DATA="./users/setupkeys.avro"
uvia -a vapp -m skadd [-p <PORT> [-H <HOST>]]
## The <PORT> is 21058 by default, but can be edited
## The <HOST> should be 127.0.0.1 for security reason
## chmod +x skadd.sh
## ./skadd.sh
Detailed tips, tricks, and examples, can be found at project's repository https://github.com/asinerum/skadd
(C) 2026 Asinerum Conlang Project
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
skadd-1.0.8.tar.gz
(7.9 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
skadd-1.0.8-py3-none-any.whl
(7.4 kB
view details)
File details
Details for the file skadd-1.0.8.tar.gz.
File metadata
- Download URL: skadd-1.0.8.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2d10b7dff4a60045c2d3c7e03f75d06b645af659716fc57edcbba321330674c
|
|
| MD5 |
77522abf8751f9572f84e8b421919c67
|
|
| BLAKE2b-256 |
45ebdec8a88666392834bb62ab661d85236692ee40a0d1793127575d786ccd62
|
File details
Details for the file skadd-1.0.8-py3-none-any.whl.
File metadata
- Download URL: skadd-1.0.8-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5aedb481a337783b79d8b4489dd947130e77a959fb6c20998c3e7e6eabf8554c
|
|
| MD5 |
ea4a5017f9aa2ea45e0229024889ac19
|
|
| BLAKE2b-256 |
17ae9ad94c12617b0827e3309da7a1ba16a9c88658ac4451d1a54c9c07a248e5
|