On my laptop I actually have a folder where I store personal data which I don't want to share:
private_folder ├── baz │ └── secret_file_3 └── foo └── bar ├── secret_file_1 └── secret_file_2
But in case my laptop was stolen, I want this data to be protected by encryption.
My favourite taste about this, would be to archive then encrypt my folder, like this:
$ tar -cf private_folder.tar private_folder $ gpg --symmetric --cipher-algo AES256 private_folder.tar $ rm -r private_folder private_folder.tar
Then I would like this encrypted tar file to be mountable, with read/write access on runtime, in order to use its content as any other directory.
I know it's easy to mount a simple tar file (i.e. with
archivemount), but what about a gpg-encrypted tar file?