snippetbashTip
fscrypt — Go tool for managing Linux filesystem encryption. More information: <https://github.com/google/fscry
Viewed 0 times
commandfscryptclimanagingfilesystemtoollinuxfor
linux
Problem
How to use the
fscrypt command: Go tool for managing Linux filesystem encryption. More information: <https://github.com/google/fscrypt#example-usage>.Solution
fscrypt — Go tool for managing Linux filesystem encryption. More information: <https://github.com/google/fscrypt#example-usage>.Prepare the root filesystem for use with
fscrypt:sudo fscrypt setupPrepare a specific mountpoint for use with
fscrypt:fscrypt setup {{path/to/directory}}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}}Code Snippets
Prepare the root filesystem for use with `fscrypt`
sudo fscrypt setupPrepare a specific mountpoint for use with `fscrypt`
fscrypt setup {{path/to/directory}}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}}Context
tldr-pages: linux/fscrypt
Revisions (0)
No revisions yet.