📚 What is your preferred way to encrypt specific files/directories for local storage or remote storage like cloud?
I currently have disk encryption with dm-crypt+LUKS in Linux.
I am also doing backups of important directories with Restic on a cronjob and uploading these backups to a cloud service using rclone (the cloud service I am using is a paid service of IDrive e2).
restic creates encrypted backups so there's no need for any extra encryption.
However, at times there are some standalone files or a group of such files that I need to backup or store securely in the cloud. As of now, I encrypt them using a combination of
gpg. Of course, I could use
restic for this too but I rather have a utility that I can use as :
someutility --encrypt /path/to/source /path/to/target someutility --decrypt /path/to/source /path/to/target
gpg can do this but it doesn't handle directories so youa have to combine it with
tar. (the cloud service I am using is a paid service of
Another option is using
7zip with a password.
It would also be convenient for some people to have a "vault" where the decrypted version is shown internally or through mount points but from the outside, it's encrypted. Then you can just upload these vaults as a whole to the cloud. But I am using a window manager and I have to use a standalone utility rather than the one that comes with a DE like Plasma. One example of cross-platform FOSS vault-like software is Veracrypt. There's also gocryptfs for those who are not afraid of the terminal.
Some of you might be self-hosting and might not need the need for encryption. But for those who store encrypted copies, what softwares/methods do you use?
[link] [comments] ...