genome231 wrote:Hey guys!
Asking about oppinions and wether its possible or not xD
I like writing scripts for tease-Ai. But one part that always annoys me just a Little bit.
Is that I cant really put "secrets" or put something behind a password in the script, because well basicly everyone can just open them Up an see whats inside :)
I think it would be awesome if you could encrypt them so that they cant be read by you, but by tease-Ai :)
Thoughts?
Regards
Genome
Well, as much as I like the idea of this, I am unsure of how to accomplish such a task. I can't think of a plausible solution, though I'll post my thought process and ideas with my concerns for each.
1. Password-Based Authentication
Scenario: Window to encrypt and/or decrypt a script with a given password.
Issue: A password would need to be in the script or Personality folder somewhere to unlock the content. How can the key be transmitted to Tease-AI without it being visible to the user? Even if the content itself appears as scrambled nonsense when opening the script, the password itself would need to be stored in plaintext somewhere.
Solution: No solution I can think of. This is simply security through obscurity.
2. Obfuscation by input only
Scenario: Window to encrypt scripts with a given password. There would be no option to decrypt scripts, only Tease-AI could decrypt to its memory while reading the script.
Issue: This would be a pain for scripters to work with. Just like the end-users, they also would not be able to decrypt their scripts when it came time to change or add a feature. With constantly evolving scripts over the course of development, being unable to decrypt the parts of scripts that are already encrypted could be a hassle.
Solution: The easiest way to solve this is that scripters could simply make a copy of any parts of the script before they are encrypted and put them in another file, allowing for changes to it to be sent back through. If you lose the copy, however, there would be no way to retrieve what was originally input.
These are the only methods I can think of after brainstorming and, personally, neither of them are appealing with the downsides of each.