fscrypt
Go tool for managing Linux filesystem encryption. tldr-pages
On Linux
Linux
Prepare the root filesystem for use with fscrypt
sudo fscrypt setupIdentifyPrepare a specific mountpoint for use with fscrypt
fscrypt setup path/to/directoryIdentifyEnable filesystem encryption for a directory
fscrypt encrypt path/to/directoryIdentifyUnlock an encrypted directory
fscrypt unlock path/to/encrypted_directoryIdentifyLock an encrypted directory
fscrypt lock path/to/encrypted_directoryIdentify