Chapter 5. Encrypted files

There might be lots of programs that do that but nice is it if the data is encrypted in a standard way that also allow other programs and operating systems to decrypt it.

A standard method is using encfs. It is actually not an encrypted filesystem, since each file and directory can be seen. However the directory and file names and obviously the data inside the file is encrypted. This allows easily to copy the data from the phone to a computer as for backup reasons and then decrypt it and work on the data on the pc. On the android phone the app Encdroid needs to be installed and on the linux pc encfs.

It is the best to start on the Linux PC side doing:

mkdir ~/Phone/Encfs/.crypt to create the directory where the encrypted stuff is

mkdir ~/Phone/Encfs/crypt the directory that serves ans mounting point

encfs ~/Phone/Encfs/.crypt ~/Phone/Encfs/crypt to create the password the encryption method

When done fusermount -u ~/Urs/Phone/decfs unmounts it.

Now copy/synchronize the directories to the phone and start encdroid and import the volume.

Linurs Servernest startpage