Earlier in the thread, shinobar commented that an encrypted save directory should be possible using something like "cryptofs" or "ecryptfs".
I've done a little investigation, and played with a similar product called "encfs", in a running system. I chose "encfs" because it's totally in user space, and I could download it from the Wheezy repo.
It all looks rather promising because they "mount" an encrypted directory on to an unencrypted directory.
So, in the "init" script using "ecryptfs",
Code: Select all
mount -o bind /mnt/dev_save${PUPSAVEFILE} $CREATEPUPSAVE2FS
becomes
Code: Select all
mount -t ecryptfs /mnt/dev_save${PUPSAVEFILE} $CREATEPUPSAVE2FS
for an encrypted save directory.
Of course it will be a bit more complicated than just that.
The downside is that "ecryptfs" is a kernel module which is not enabled in puppy kernels. So it's going to be difficult to test "ecryptfs" until someone compiles a puppy kernel with
gyro