Skip to main content

Authenticator Secret Key Registration Gateway

This so-called Registration Gateway is made for people-clients to register their secret keys used for logging-in to a lightweight business server with no complicated credentials required.
After the registration, the clients use some TOTP authenticator app such as Google Authenticator to log in to the server's portal.

Server-side Usage

Installation

pip install uvia vapp skregister

Usage

## nano skregister.sh
export JWT_SECRET="very-strong-password-for-token-generating"
export SETUPKEY_ENCRYPT_SECRET="some-other-strong-password-for-secret-key-encrypting"
export SENDER_GMAIL_ADDRESS="your-own-gmail-address"
export SENDER_GMAIL_APP_PWD="your-own-gmail-application-password"
export TELEGRAM_BOT_TOKEN="your-own-telegram-bot-token"
export FILE_AVRO_DATA="./setupkeys.avro"
export TOKEN_EXPIRE_MINUTES=10
uvia -a vapp -m skregister [-p <PORT>] [-H <HOST>]
## chmod +x skregister.sh
## ./skregister.sh

Client-side Usage

Users to open the web page served by the above server in any modern web browser to perform the registration.

  • First step: require an entry code for further process
    • Enter user email or Telegram ID.
    • Enter captcha produced by the page.
    • Click Send Code button to ask a code sent to the very email or Telegram account.
  • Second step: pick the entry code via email
    • Open the registered email inbox.
    • Look for an email related to entry code.
    • Copy the entry code, it must be a five-letter uppercase random string.
  • Third step: provide the entry code for the server to generate secret key
    • Enter some proper name for new secret key.
    • Paste the entry code which is picked in the second step.
    • Click Register button to ask a QR code be shown.
    • Scan the QR code with an authenticator app.

Detailed tips, tricks, and examples, can be found at project's repository https://github.com/asinerum/skregister

(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

skregister-1.0.2.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

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

skregister-1.0.2-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file skregister-1.0.2.tar.gz.

File metadata

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

File hashes

Hashes for skregister-1.0.2.tar.gz
Algorithm Hash digest
SHA256 8773a2e1bbcaffbe931c5164f234042c56b7dc2fa5069cb6215b866ff870526b
MD5 bbdbf2860adf3f320e7c38b0cee5d11b
BLAKE2b-256 8df5454b3c8642aa7ba750b1d6a1423e363951e842619d61592ef870422552df

See more details on using hashes here.

File details

Details for the file skregister-1.0.2-py3-none-any.whl.

File metadata

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

File hashes

Hashes for skregister-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8e15487591fe3079570d6e2e1f2eb2697f274d28a5fa3ae419a0d901ded82552
MD5 5fd228ca5767a256055b8e2197235f69
BLAKE2b-256 d514ce357b915e90f35244576113b0092fa5389ee328a406ad6c1c5d2f7a1c49

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 files

1.0.1

2 files

1.0.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page