-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Activating Keys on Discord (AKoD) Flare Version provides functionality for securely storing and retrieving license information using AES encryption. This wiki page provides an overview of Flare and how to use it in your projects. It is mostly similar to the original AKoD, other than changes to support Ubuntu and Apache
AKoD Flare is a slightly modified version of AKoD, changing the storage servers from GitHub & Netlify, to your own Ubuntu/Linux server! No need to store files on GitHub, or wait 20 seconds for Netlify to build the site every time, on your Ubuntu server Apache applies the changes instantly and with this wiki you can get set up in no time! The only downside is you must own a registered domain, in order to tunnel your server through Cloudflare for security. Get started by getting your own domain or if you already have a domain boot up your Ubuntu server and get started with installing WebDAV
The encrypter component is responsible for encrypting license data and managing repositories for storing encrypted data. It uses AES encryption to securely encrypt license files and stores them in a Git repository.
- clone(url, pat): Clones a Git repository using a provided URL and personal access token (PAT).
- encrypt_file_pass(file_path): Encrypts a file using AES encryption and a password read from a password.txt file.
- process_new_folders(new_folders): Processes new folders in the registered accounts directory, encrypts files, and commits changes to the Git repository.
- delete_removed_folders(existing_folders, registered_folders): Deletes folders that have been removed from the registered accounts directory.
- commit_changes(commit_message): Commits changes to the Git repository with a specified commit message.
- monitor(registered_accounts, repo_path): Monitors changes in the registered accounts directory and updates the Git repository accordingly.
The decrypter component is responsible for decrypting license data and validating activation keys. It uses AES decryption to decrypt license data and validate activation keys against a public server.
- setActivationKey(string): Sets the activation key for validating license data.
- privatekey(encrypted_key): Sets the private key for decrypting license data.
- publicserverkey(link): Sets the public server key for accessing the license validation server.
- isValid(login, password): Validates a user login and password against the license validation server.
Flare includes a Discord bot that provides functionality for activating license keys using the /validate command in Discord. The bot integrates with GitHub and Netlify to manage license data and validate activation keys.
- /validate [key] [username] [password]: Activates a license key and creates an account with the username and password.
- /keyadd [key]: Adds a license key to the database.
- /remove [key]: Removes a license key from the database.
- /removecooldown [key]: Removes the cooldown for a license key, allowing it to be activated again immediately.
The Discord bot uses an Apache WebDAV repository, that you set up, to store encrypted license data. When a new license key is activated, the bot encrypts the key and stores it in the repository. The changes are instant, so no waiting for pushes or builds!