Skip to main content

User [with Setup Key] Creating Tool

Project description

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

Project details


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.4.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

skadd-1.0.4-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file skadd-1.0.4.tar.gz.

File metadata

  • Download URL: skadd-1.0.4.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for skadd-1.0.4.tar.gz
Algorithm Hash digest
SHA256 1bf48e86571b61ccb452027d33e962ddd4eefc4a87a42a41a3d44a4c2a6618e5
MD5 a9eec0aa32dba27f2eb985a0da9c2cac
BLAKE2b-256 23c64af6eb8ee7a759dba726a87a6f2c7a6f003f62f2a1051c3c522154328461

See more details on using hashes here.

File details

Details for the file skadd-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: skadd-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for skadd-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 07033dbc622658df21f932129d62e1c29c1cf37cdb2923d19dff69de0339e8e0
MD5 e6a26678e86c3dd03f4da28aecb163d4
BLAKE2b-256 550cbde6707a7df2a937e77733c9a123818404d7445c7b5a77195366cda37815

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page