Forrest logo
back to context overview

cryptsetup

List of commands for cryptsetup:

  • cryptsetup:ai:ab5cb mount encrypted partition
    $ cryptsetup luksOpen /dev/sdxX name_of_partition && mount /dev/mapper/name_of_partition /mount_point
    try on your machine
    explain this command
  • cryptsetup:ai:e79f1 Open the LUKS encrypted USB drive and map it to a device named 'encrypted_usb'
    $ cryptsetup luksOpen /dev/sdX encrypted_usb
    try on your machine
    explain this command
  • cryptsetup:tldr:0a9d2 cryptsetup: Remove an existing mapping.
    $ cryptsetup luksClose ${target}
    try on your machine
    explain this command
  • cryptsetup:tldr:63e03 cryptsetup: Initialize a LUKS volume (overwrites all data on the partition).
    $ cryptsetup luksFormat ${-dev-sda1}
    try on your machine
    explain this command
  • cryptsetup:tldr:6470f cryptsetup: Change the LUKS volume's passphrase.
    $ cryptsetup luksChangeKey ${-dev-sda1}
    try on your machine
    explain this command
  • cryptsetup:tldr:d87f2 cryptsetup: Open a LUKS volume and create a decrypted mapping at `/dev/mapper/{{target}}`.
    $ cryptsetup luksOpen ${-dev-sda1} ${target}
    try on your machine
    explain this command
back to context overview