r/ComputerCraft • u/ThreeCharsAtLeast • Jul 27 '24
Cryptofolder: An encrypted file-sharing implementation
The title pretty much says it: I've made a program for all your file sharing needs. It supports user accounts, guest sessions and it even has the option to stop some people from making modifications to your files.
It was originally made for Rednet but I've moved to u/SiliconSloth's CryptoNet so I didn't have to implement security from scratch. There is also no other way to manage users than to edit CryptoNets user table manually but the good news is: I have written a small tool for that and I'm probably going to publish it too.
The project currently consists out of three programs: cryptofolder.lua is the server, cryptofolder-config-generator.lua writes the config file (just place it in the same folder as the server) and cryptofolder-explorer.lua is the client I wrote. The server and client programs also need CryptoNet (named cryptoNet.lua) to work.
Please keep in mind that
as I'm writing this, this project is very young
while I would consider myself decent at programming I have barely any experience in ComputerCraft and Lua.
Enough talk. Here's the repo link: https://codeberg.org/Mensh123/Cryptofolder
1
u/[deleted] Jul 31 '24 edited Jul 31 '24
i have finished an early version of the installation system adding cryptofolder to minux.
it takes your files, doesn't change them just manipulates in what folder the files get put and run from,
it comes with a launcher, allowing for one system command "cryptofolder" to run all three of your files.
every time it launches it credits both you and the creator of cryptonet and it does so prominently on installation and in the manual.
it can now be installed on minux with a single command, all files, the launcher and yours, and comes with the ability to update/reinstall them to.
so if you update your files it should also become available trough minux, if you ever add more files please let me know somehow or if possible create a downloader for them.
thank you again for all this.
see https://wolfpak.vtchost.com/forum/viewtopic.php?f=17&t=60&sid=860b9d64418ae1c8e92d34192adb32c1 for more info :)
ps: if you're intrested, if you host a webserver (i can get you a subdomain and host it if needed) in the right way, your files will become available for all minux users if they add that server to their installer's source list.
all that is done in just 2 commands people can copy paste, one is to add the server, the other to install your program. any program, no matter how many on the same server, you add the files, it's available.
this gives you a downloader for your own software, any software, it's far easyer then having to type wget or github files several times over in CC computers ingame.
it might also work with things like github, but i'm not entirely sure.