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.

link|improve this question
1  
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: ubuntuforums.org/showpost.php?p=10208094&postcount=15 (of course, i change locations of my encrypted home) – Turgon Aug 29 '11 at 12:31
feedback

migrated from stackoverflow.com Aug 29 '11 at 14:55

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

1 Answer

Could you post

uname -a
lsb_release -a
lsmod

Perhaps

modprobe ecryptfs
modprobe aes
modprobe md5

could help as it is.

link|improve this answer
here u go: pastebin.com/mL7qyndb 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) pastebin.com/78w69P4p – Turgon Aug 29 '11 at 14:47
feedback

Your Answer

 
or
required, but never shown

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