Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 ?

share|improve this question
Please post the content of /etc/crypttab from both systems. – Michael Kjörling Apr 10 '13 at 7:50
The content of /etc/crypttab is empty on my computer at work. What does it mean? – mate64 Apr 10 '13 at 10:41
up vote 4 down vote accepted

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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