Skip to main content

Authenticator Secret Key Registration Gateway

Project description

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

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

skregister-1.0.1.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.1-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: skregister-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 e630edbbd190f13d7b640ceb51c5ed5a2bd7490e47a1e9fdb3200c0aa9bcc38f
MD5 e770a8cbea8891675539d4e300add771
BLAKE2b-256 a5cd196af6b0f319eb507b7ee591317d9e08c64968cfac4c7438877157279e1b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: skregister-1.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8b75d9be474a2fd8c8adcfa907bba4196ab83148532cb07196a9e209b6e30d07
MD5 a8508f3b889f357ad8fa434abcbbdc98
BLAKE2b-256 172c4c2137f61a96b4c66aa79d1fe41fbc0c54646ffaf1eb239d49b9dc45d482

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