From Porteus-v3.0.1+ the kernel contains ecryptfs which is an encrypting file system used in ubuntu and chromeOS. (thanks fanthom)
I have put together a bundle including keyutils, ecryptfs-utils and some scripts that make it easy to use an encrypted folder.
Requirements for this simple version.
1) Only root can encrypt folders
2) It is only really usable together with the changes= cheatcode.
3) The encrypted (lower) directory is hardcoded at /root/.Private
You may change the location of the folder where you want to mount your file system (upper) unencrypted. The default location is /root/Private. When the filesystem is mounted you can put files into /root/Private. When you unmount the file system the files remain encrypted in /root/.Private.
Download the module and activate it.
Open a root terminal.
pcrypt create # This will create an encrypted folder and ask you to use a passphrase which is recorded.
pcrypt move # This will move your current upper directory /root/Private to anywhere else you want it (it doesn't copy over old files)
After this you can simply enter as root in a terminal mcrypt to mount your file system or ucrypt to unmount it.
For the more advanced users you can check out the wiki and the ecryptfs scripts in /usr/bin and encrypt your entire $HOME folder. You can have it automatically mounted at boot too. I havn't included any instructions because i would first like people to test this folder encryption system to see if it is worthwhile creating some type of GUI for it. Or perhaps encFS is a better choice.
https://www.dropbox.com/s/y18h4ov5g8m4i ... bundle.xzm
https://www.dropbox.com/s/ush5j0oc5quuo ... bundle.xzm
Post tutorials, HOWTO's and other useful resources here.
1 post • Page 1 of 1