Z
Z
Zhmak2018-04-13 11:33:15
linux
Zhmak, 2018-04-13 11:33:15

Encryption over the linux file system. How to implement?

There is a system to which the physical disk is connected. I will store personal data on this disk.
The task is to ensure the privacy of data in case this disk gets to third parties. A typical situation - I rent a disk under warranty.
Block device encryption is not my option. I don't like the idea of ​​encrypting file system overhead. It is necessary to encrypt the giblets of files.
I saw this a long time ago when encrypting a user's home directory in ubuntu. If another user gets to the data, then the file system is visible, where instead of file names, directory names, file contents, a mess of symbols is visible.
The ideal option would be to mount the ext4 with the encryption option, with the key specified in a file on another medium. Apart from the key, the data disk is useless, but you can safely do e2fsck

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Lynn "Coffee Man", 2018-04-13
@Lynn

Ubuntu uses ecryptfs.
https://wiki.archlinux.org/index.php/ECryptfs_(%D0...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question