devlog 2
today was some great progress.
i’ve ported most of the cli functionality over to the bot, and added a new one!
Overlap
the overlap feature fetches a random user, and compares your stats in a “battle”. this can let you see how you stack up against others! in the future, i’ll add the option to battle a specific user.
key encryption
when you login, you are prompted to add your key and an encryption password. this is so the host of the bot cannot read your api keys. the password has to be used once to decrypt the keys, and they are stored in RAM for 2 hours. when 2 hours pass (or the bot restarts), you have to enter a password. this was done to make sure no leaks happen. even if a database leak DOES happen, the keys are just encrypted blobs, and you STILL need a password to decrypt the keys. i’ve paid a lot of attention to security with this one.
thanks for reading!