Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 480 Bytes

File metadata and controls

18 lines (13 loc) · 480 Bytes

CLI

cryptsetup luksFormat <device>
cryptsetup open <device> <mapper name>
cryptsetup status <mapper name>
cryptsetup close <mapper name>

Encrypting USB stick/SD card

See also this good guide on LUKS encryption.

  1. Ensure it is unmounted
  2. cryptsetup luksFormat /dev/sdb1
  3. cryptsetup open /dev/sdb1 cryptusb1
  4. mkfs.ext4 /dev/mapper/cryptusb1
  5. cryptsetup close cryptusb1
  6. Mount it via file manager