4

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.

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

1 Answers1

-1

Could you post

uname -a
lsb_release -a
lsmod

Perhaps

modprobe ecryptfs
modprobe aes
modprobe md5

could help as it is.

sehe
  • 1,925
  • 13
  • 13
  • here u go: http://pastebin.com/mL7qyndb After adding the modules, i tried again to decrypt with the same luck :/ –  Aug 29 '11 at 14:07
  • nothing appears on dmesg or /var/log/messages –  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) http://pastebin.com/78w69P4p –  Aug 29 '11 at 14:47