Go tool for managing Linux filesystem encryption. More information: GitHub - google/fscrypt: Go tool for managing Linux filesystem encryption.
- Prepare the root filesystem for use with fscrypt:
fscrypt setup
- Enable filesystem encryption for a directory:
fscrypt encrypt {{path/to/directory}}
- Unlock an encrypted directory:
fscrypt unlock {{path/to/encrypted_directory}}
- Lock an encrypted directory:
fscrypt lock {{path/to/encrypted_directory}}