I've recently moved to a shared apartment and I have to place my RPI in the living room, near the router. So if any roommate wanted, he could just walk away with my RPI or remove the SD-card.
**How can I encrypt my DietPi so that if any person steals my SD-card can't see nothing?**
How can i encrypt the full system/storage ? Topic is solved
Re: How can i encrypt the full system/storage ?
Hi,
many thanks for your request. Basically it's not possible to encrypt your entire SD card. As well DietPi is not supporting any file system encryption by default as of now. Maybe you like to have a look to the following link
https://www.raspberrypi.org/forums/view ... p?t=181181
It might be possible to create an encrypted new partition or attach an encrypted USB stick where you go to transfer your data on. But it will have as well some downsides. Some DietPi services like Nextcloud or databases storing their data on dietpi user-data directly. Means, after a reboot services will fail until the partition was encrypted and mounted.
many thanks for your request. Basically it's not possible to encrypt your entire SD card. As well DietPi is not supporting any file system encryption by default as of now. Maybe you like to have a look to the following link
https://www.raspberrypi.org/forums/view ... p?t=181181
It might be possible to create an encrypted new partition or attach an encrypted USB stick where you go to transfer your data on. But it will have as well some downsides. Some DietPi services like Nextcloud or databases storing their data on dietpi user-data directly. Means, after a reboot services will fail until the partition was encrypted and mounted.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Re: How can i encrypt the full system/storage ?
I guess that would be interesting for you 
https://github.com/MichaIng/DietPi/issues/3377
There we basically played with it already.

https://github.com/MichaIng/DietPi/issues/3377
There we basically played with it already.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team