ecryptfs
related
apt install ecryptfs-utils
cli
- setup:
sudo mount -t ecryptfs ~/SECRET/ ~/SECRET/
- mount:
sudo mount -t ecryptfs -o ecryptfs_cipher=aes,ecryptfs_key_bytes=16,ecryptfs_enable_filename_crypto=n,ecryptfs_passthrough=n ~/SECRET ~/SECRET
- ; /root/.ecryptfsrc
key=passphrase:passphrase_passwd_file=/mnt/usb/password.txt ecryptfs_sig=8567ee2ae5880f2d # cat /root/.ecryptfs/sig-cache.txt ecryptfs_cipher=aes ecryptfs_key_bytes=16 ecryptfs_passthrough=n ecryptfs_enable_filename_crypto=n
credentials
- option:
key=passphrase:passphrase_passwd_file=/mnt/usb/file.txt
- file.txt
passphrase_passwd=[passphrase]