Skip to content

Instantly share code, notes, and snippets.

@ncopa
Created August 8, 2014 08:40
Show Gist options
  • Save ncopa/b3560e7da2c6e6183f16 to your computer and use it in GitHub Desktop.
Save ncopa/b3560e7da2c6e6183f16 to your computer and use it in GitHub Desktop.
ncopa-desktop:/run# cryptsetup luksOpen --debug --header /run/test.luks /run/test.img test
# cryptsetup 1.6.5 processing "cryptsetup luksOpen --debug --header /run/test.luks /run/test.img test"
# Running command open.
# Locking memory.
# Installing SIGINT/SIGTERM handler.
# Unblocking interruption on signal.
# Allocating crypt device /run/test.luks context.
# Trying to open and read device /run/test.luks.
# Initialising device-mapper backend library.
# Trying to load LUKS1 crypt type from device /run/test.luks.
# Crypto backend (OpenSSL 1.0.1i 6 Aug 2014) initialized.
# Reading LUKS header of size 1024 from device /run/test.luks
# Trying to open device /run/test.luks without direct-io.
# LUKS header not detected.
Device /run/test.luks is not a valid LUKS device.
# Releasing crypt device /run/test.luks context.
# Releasing device-mapper backend.
# Unlocking memory.
Command failed with code 22: Device /run/test.luks is not a valid LUKS device.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment