rfjakob/gocryptfs ? reverse-engineered prompt
Reverse engineered prompt
Build me a command line tool that creates an encrypted folder I can use like a normal directory.
I want to be able to set it up with an init command, enter a password, and then mount the encrypted storage over a plain folder so I can read and write files normally. The actual data on disk should stay encrypted, including file names, and it should work as a FUSE style overlay filesystem on Linux. If you can, also support a reverse mode that takes an existing plain folder and shows me the encrypted version of it.
Please include a way to unmount cleanly, show basic help, and make the output feel polished and usable. Security matters a lot, so keep the encrypted format safe and make sure the master key is handled carefully. If you need to check current FUSE or crypto docs online while building it, go ahead.
Are you gonna build this?
make sure you review the code using coderabbit