Edison 3. Howto setup EcryptFS - SecurityPlatformCoKr/meta-sp GitHub Wiki
This page requires Edison 2. Howto Initialize TPM on Intel Edison with Arduino Breakout Board . And, some file locations might not be your's unless you use meta-sp based image. If not, please be careful. :-)
For basic operations related to ecryptfs and TPM, please refer to http://manpages.ubuntu.com/manpages/vivid/en/man1/ecryptfs-generate-tpm-key.1.html .
ecryptfs-generate-tpm-key -p 10 2> /etc/ecryptfs-opt.conf
reboot
after reboot, /secure is mounted as type ecryptfs
and data newly stored will be encrypted.