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
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
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e630edbbd190f13d7b640ceb51c5ed5a2bd7490e47a1e9fdb3200c0aa9bcc38f
|
|
| MD5 |
e770a8cbea8891675539d4e300add771
|
|
| BLAKE2b-256 |
a5cd196af6b0f319eb507b7ee591317d9e08c64968cfac4c7438877157279e1b
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b75d9be474a2fd8c8adcfa907bba4196ab83148532cb07196a9e209b6e30d07
|
|
| MD5 |
a8508f3b889f357ad8fa434abcbbdc98
|
|
| BLAKE2b-256 |
172c4c2137f61a96b4c66aa79d1fe41fbc0c54646ffaf1eb239d49b9dc45d482
|