Crypt-type remote of rclone can be used as users File Vault, and this script is meant to make managing, editing, opening and closing File Vaults easier.
Rclone is a open source storage manage tool, it supports multi kinds of local and cloud storage.
By using this crypt layer, files will be crypted by AES algorism using 256 bit key before it written to the normal storage.
So only by passing this crypt layer and correct password, you can read the original file.
You can only read the random bytes on the normal storage.
This crypt layer can be applied to any kinds of storage, the crypt process is transparent, not container crypt.
So you can safely upload the crypted folder to the cloud storage without worrying your privacy leaking.
Downside of this crypt method:
So when using rclone vault, you must keep your password remembered. If passwd forgotten, you will lose your data forever! I suggest you use a password manager like Keepass to take care of your passwords.
Rclone has many ways to manage your vault. This script only use the server and mount feature. aka: Serve your vault by webdav, ftp, sftp, http protocal, or mount your vault to a path, to let users visit. When served, other devices like your phone will be able to access you PC vault or vice versa, in the meantime, you can also set a access account!
pip install stdiomask pycryptodome
After installing Rclone and Python dependencies, you can just run this script using python, there will be text guide then.
You can edit or add your vault in the USER EDIT REGION below.
Vaults created in this script can also be added to rclone config.