Storing Encryption Key in replit db
I am planning on using python’s cryptography package to encrypt and decrypt an important file with a random Fernet key. The problem is how I store the key, because if just write it to a .txt file, people can fork my repl and easily decrypt the important file with the key. I have eventually decided on storing the key in replit’s database dictionary. However my question is that if people fork my repl, can they access my database?
Voters
nope. They can't access it. But if you are talking like run the program, and they accidentally type something correct, and see it, then i guess yes.
But if they fork it, maybe if you are planning to put it somewhere known, they can see it.
Normally, for now, they can't
@RYANTADIPARTHI
What do you mean by that?
@Jackbaklava like the console stores all your db stuff. And when you type something, they can be accessed. Only if you type the correct thing. That could be one way they get it.
@RYANTADIPARTHI Thanks for helping!
@Jackbaklava no problem :)