User Tools

Site Tools


mounting_an_encrypted_partition_with_encfs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
mounting_an_encrypted_partition_with_encfs [2021/03/22 05:19] – [Mounting an encrypted partition with EncFS] hc9mounting_an_encrypted_partition_with_encfs [2024/09/05 06:08] (current) – ='' hc9
Line 36: Line 36:
   Creating new encrypted volume.   Creating new encrypted volume.
   Please choose from one of the following options:   Please choose from one of the following options:
-   enter "xfor expert configuration mode, +   enter x” for expert configuration mode, 
-   enter "pfor pre-configured paranoia mode,+   enter p” for pre-configured paranoia mode,
    anything else, or an empty line will select standard mode.    anything else, or an empty line will select standard mode.
   ?>   ?>
Line 43: Line 43:
 Choosing the standard mode should be good enough for most cases but if you would like extra security, choose **p** for the paranoia mode (be aware that paranoia mode can make more difficult to make backups of the data. See Section [[#tips_and_tricks|Tips and Tricks]] for further details). After this, we will be prompted to enter a password twice, to confirm it and reduce the chances of a typo. Choosing the standard mode should be good enough for most cases but if you would like extra security, choose **p** for the paranoia mode (be aware that paranoia mode can make more difficult to make backups of the data. See Section [[#tips_and_tricks|Tips and Tricks]] for further details). After this, we will be prompted to enter a password twice, to confirm it and reduce the chances of a typo.
  
-EncFS allows us to automatically unmount the filesystem if it is idle for a certain period of time by giving the command line option **--idle=X** where **X** is the number of minutes before unmounting.+EncFS allows us to automatically unmount the filesystem if it is idle for a certain period of time by giving the command line option –''idle=''**//X//** where **//X//** is the number of minutes before unmounting.
  
 To check that everything is working fine, we can run the **mount** command, which output should look like this: To check that everything is working fine, we can run the **mount** command, which output should look like this:
Line 67: Line 67:
 Since the encryption is done file-by-file, we can easily make backups of the encrypted data without the need to mount the filesystem, so for instance, we can leave the backup to a cron job without compromising the safety of the files. Make sure to include the file **~/.crypt/.encfs6.xml** in the backup. This file saves the encryption configuration, and you will need it to decode the information later on. See the tutorial on [[:backing_up_home_using_rsync|rsync]] for more information on how to make a backup. Since the encryption is done file-by-file, we can easily make backups of the encrypted data without the need to mount the filesystem, so for instance, we can leave the backup to a cron job without compromising the safety of the files. Make sure to include the file **~/.crypt/.encfs6.xml** in the backup. This file saves the encryption configuration, and you will need it to decode the information later on. See the tutorial on [[:backing_up_home_using_rsync|rsync]] for more information on how to make a backup.
  
-The paranoia mode has a feature named "External IV Chaining", which ties the filename (possibly including the absolute path) with the data for its encryption, so a file that has been moved or renamed will fail to decode properly. Make sure that, if you are doing backups of encrypted files, you will either have this option disabled or have a way to restore the whole path and filenames of the encrypted data.+The paranoia mode has a feature named External IV Chaining, which ties the filename (possibly including the absolute path) with the data for its encryption, so a file that has been moved or renamed will fail to decode properly. Make sure that, if you are doing backups of encrypted files, you will either have this option disabled or have a way to restore the whole path and filenames of the encrypted data.
  
 === sshFS+EncFS === === sshFS+EncFS ===
mounting_an_encrypted_partition_with_encfs.1616390346.txt.gz · Last modified: 2021/03/22 05:19 by hc9