MichaIng / DietPi

Lightweight justice for your single-board computer!
https://dietpi.com/
GNU General Public License v2.0
4.88k stars 496 forks source link

DietPi-Drive_Manager | Support disk encryption #3566

Open nnovaes opened 4 years ago

nnovaes commented 4 years ago

Creating a feature request

Is your feature request related to a problem? Please describe:

Describe the solution you'd like:

Describe alternatives you've considered:

I've heard of GnuPG, VeraCrypt, and Tomb, but i'm not sure which one would have the best integration, usability, and above all, smaller footprint for the dietpi type of hardware

MichaIng commented 4 years ago

Many thanks for your request.

Would ecryptfs be a good option? A native Linux method (maintained as part of the Linux project itself) to create an encrypted file system on a drive. But I never actively used or tested it, it just came to my mind as we added "support" to at least preserved fstab entries for them when running dietpi-drive_manager: #2078 @johnvick should have some experience and probably knows some pro/cons compared to other methods?

Generally I would add it as part of dietpi-drive_manager, i.e. when formatting one can chose to create an ecryptfs as well, probably even convert one, although I'm not sure if there is a native conversion method or it will be "copy data elsewhere, format drive with ecryptfs, copy back".

nnovaes commented 4 years ago

Generally I would add it as part of dietpi-drive_manager haven't thought about that... it would be very cool.

Would ecryptfs be a good option? sounds good, but tbh, not qualified to answer

seniorm0ment commented 3 years ago

I would like to see full disk encryption as well. Personally I use LUKS/cryptsetup for all my stuff, and I believe that is the most common.