Definition:

  • manage plain dm-crypt and LUKS encrypted volumes
  • better to wipe storage device with shred command before encrypt

Synopsis:

  • cryptsetup <options> <action> <action args>

List of actions:

  • luksFormat
    • format storage drive with LUKS encryption standard
  • isLuks
    • check if its LUKS
  • luksOpen
    • open a LUKS storage device and set it up for mapping, assuming the provided key material is accurate
  • luksClose
    • remove a LUKS storage device from mapping
  • likesAddKey
  • luksDelKey