SD card encryption

Hello,

I’d like to know if is it possible to encrypt an SD card ?

I’ve never encrypted any storage, so, could you bring me some advises to start ? (I use a Linux PC - Debian XFCE) Thanks,

I would not recommend using a SD card as an encrypted storage as they are not made for that and degrade rather quickly when you hit them with a lot of writes.

If you don’t mind the extra manual step encrypting the data on your computer e.g. with Picocrypt and then just copying over the file to the card might work for you and put less stress on the SD card.

This, 100% you will have it fail, don’t use it for OS boot volume. If you’re running an OS off it just get a portable NVMe or something like that which has proper flash memory.

PC - Debian XFCE

Just use LUKS no need for veracrypt.

Find a USB-A/USB-C to M.2 NVME adapter/enclousure and enjoy reliable storage from an external NVME drive to your device of choice. It eats up a USB slot though and the SBC device you are using it in dictates the speed via what generation of USB slot it has.

But as a stop gap measure, it should be fine to just SD card. Like what other said up top, dont expect it to last long. SD cards dont last that long anyway.

1 Like

As an alternative to encrypting the whole thing, you can instead create an encrypted folder on the SD using Cryptomator.

Although designed for creating encrypted folders in the cloud, you can also use it for external objects like an SD card.

2 Likes

It works like any other media. Just use Gnome Disks to create an encrypted partition on it and you’re done.