mounting_an_encrypted_partition_with_encfs
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
mounting_an_encrypted_partition_with_encfs [2021/03/22 05:08] – [How it works] hc9 | mounting_an_encrypted_partition_with_encfs [2024/09/05 06:08] (current) – ='' hc9 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Mounting an encrypted partition with EncFS ===== | + | ====== Mounting an encrypted partition with EncFS ====== |
---- | ---- | ||
Line 13: | Line 13: | ||
This is designed to protect against off-line attacks, that is, the contents of the encrypted folder are safe(er) while the directory is unmounted. While it is mounted, anyone with enough permissions over the mountpoint can still access the information of the files. Furthermore, | This is designed to protect against off-line attacks, that is, the contents of the encrypted folder are safe(er) while the directory is unmounted. While it is mounted, anyone with enough permissions over the mountpoint can still access the information of the files. Furthermore, | ||
- | Read the [[# | + | Read the [[# |
==== Set-up ==== | ==== Set-up ==== | ||
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: | ||
- | | + | |
- | | + | |
| | ||
?> | ?> | ||
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 [[# | 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 [[# | ||
- | EncFS allows us to automatically unmount the filesystem if it is idle for a certain period of time by giving the command line option | + | EncFS allows us to automatically unmount the filesystem if it is idle for a certain period of time by giving the command line option |
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 65: | Line 65: | ||
=== Backups === | === Backups === | ||
- | Since the encryption is done file-by-file, | + | Since the encryption is done file-by-file, |
- | 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 === | ||
Line 81: | Line 81: | ||
local.machine: | local.machine: | ||
</ | </ | ||
- | * The option **-o idmap=user** will map your local user name to the user name on the remote machine, that is, files on the remote system that are from the user username, appear to be from the user that you are logged in as on the local system (see the tutorial on [[http:// | + | * The option **-o idmap=user** will map your local user name to the user name on the remote machine, that is, files on the remote system that are from the user username, appear to be from the user that you are logged in as on the local system (see the tutorial on [[:sshfs-sdf|sshFS]] if you need). |
* Use EncFS locally to mount **~/ | * Use EncFS locally to mount **~/ |
mounting_an_encrypted_partition_with_encfs.1616389687.txt.gz · Last modified: 2021/03/22 05:08 by hc9