Open a LUKS volume and create a decrypted mapping at /dev/mapper/{{target}}

cryptsetup

  • Manage plain dm-crypt and LUKS (Linux Unified Key Setup) encrypted volumes.
    More information: <https://gitlab.com/cryptsetup/cryptsetup/>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

cryptsetup luksOpen {{/dev/sda1}} {{target}}

click the source code to copy install cryptsetup on any operating system with command-not-found.com