Super User is a question and answer site for computer enthusiasts and power users. 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 have an encrypted folder that I want to decrypt (using ecryptfs). I went over all the standard procedures mentioned here.
Everything seems to go well (getting passphrase, then adding it a keyring and finally attempting to mount using ecrptfs) until I try to mount. It fails saying file not found. dmesg says following:

[   66.412772] Could not find key with description: [xxxx]
[   66.412776] process_request_key_err: No key
[   66.412778] Could not find valid key in user session keyring for sig specified in mount option: [xxxx]
[   66.412780] One or more global auth toks could not properly register; rc = [-2]
[   66.412783] Error parsing options; rc = [-2]

Based on this I figure that there is a problem adding the key to the keyring. Note that I can launch a live usb session, follow the same procedure and make it work. However I'd really love to do anytime and not from the live session.

share|improve this question

migrated from Aug 29 '11 at 14:55

This question came from our site for professional and enthusiast programmers.

Assuming this is with ecryptfs; This is crucial information. Why don't you post what you do? – sehe Aug 29 '11 at 10:32
I use the procedure described here: (of course, i change locations of my encrypted home) – Turgon Aug 29 '11 at 12:31

Could you post

uname -a
lsb_release -a


modprobe ecryptfs
modprobe aes
modprobe md5

could help as it is.

share|improve this answer
here u go: After adding the modules, i tried again to decrypt with the same luck :/ – Turgon Aug 29 '11 at 14:07
nothing appears on dmesg or /var/log/messages – Turgon Aug 29 '11 at 14:32
(a) did you try modprobe-ing in three steps (see edit)? (b) could you post the result of dpkg --status ecryptfs-utils and debsums -s ecryptfs-utils – sehe Aug 29 '11 at 14:37
(a) yes i did :) (b) – Turgon Aug 29 '11 at 14:47

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.