5

I've created a encrypted volume with LUKS at home and was looking to use it at work too. Unfortunately, that's not possible. Whyever, I'm unable to access the encrypted data on any other computer than my workstation at home.

After entering the passphrase, I do recieve this error message:

Gnome screenshot

No key available with this passphrase.

Strangely enough, I've no WTF complications to access the encrypted data on my home workstation. How can I encrypt the volume ?

  • Please post the content of /etc/crypttab from both systems. – a CVn Apr 10 '13 at 7:50
  • 1
    The content of /etc/crypttab is empty on my computer at work. What does it mean? – mate64 Apr 10 '13 at 10:41
5

LUKS sometimes gives the No key available error message when the cipher isn't supported. Which cipher did you use? For supported ciphers, check /proc/crypto.

Also, passphrase may depend on keyboard layout and (if it has non-ascii characters) charset encoding. The keyboard layout problem can be worked around by adding another passphrase that would match the same keysequence typed in the other layout. So for example if you have one box with a QWERTZ keyboard and another with QWERTY, you could just switch Z and Y for the second passphrase.

Also check dmesg if there are any kernel messages related to opening the encrypted container, it may point you to other errors.

If you're looking for a simpler solution and don't mind redoing it from scratch, how about encrypting the disk at your work computer and then see if you can open that at home.

1

Your caps lock might be secretly on (no indicator light) when you enter the passphrase. Tap that once and re-enter password

  • +1 I had the same message when I was simply using the wrong password. – Nicolas Raoul Apr 29 '18 at 0:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.