"mount -t ecryptfs" OK "ecryptfs-mount-private" Fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
eCryptfs |
New
|
Undecided
|
Unassigned |
Bug Description
After changing and re-wrapping my login password I am unable to ecryptfs-
---
Steps to recreate
---
$ ecryptfs-
Passphrase to wrap: [mountKey]
Wrapping passphrase: [loginPass]
$ ecryptfs-
Enter your login passphrase: [loginPass]
Inserted auth tok with sig [136d0b...] into the user session keyring
keyctl_search: Required key not available
Perhaps try the interactive 'ecryptfs-
---
What does work
---
$ sudo mount -t ecryptfs .Private/ Private/ -o ecryptfs_
ecryptfs_
ecryptfs_
[sudo] password for me: [loginPass]
Passphrase: [mountKey]
Filename Encryption Key (FNEK) Signature [136d0b...]:
Attempting to mount with the following options:
ecryptfs_
ecryptfs_
ecryptfs_
ecryptfs_
ecryptfs_
Mounted eCryptfs
---
Failed rescue attempt
---
$ mv .Private bak.Private
$ mv .ecryptfs bak.ecryptfs
$ rm -rf Private
$ ecryptfs-
Enter your login passphrase: [loginPass]
Enter your mount passphrase [leave blank to generate one]: [mountKey]
Enter your mount passphrase (again): [mountKey]
...Testing succeeded...
$ rm -rf .Private
$ mv bak.Private .Private
$ ecryptfs-
Enter your login passphrase: [loginPass]
Inserted auth tok with sig [136d0b...] into the user session keyring
$ ls Private
$ ls Private/
ls: cannot access Private/Desktop: No such file or directory
ls: cannot access Private/Pictures: No such file or directory
---
But again, this works
---
$ ecryptfs-
$ sudo mount -t ecryptfs .Private/ Private/ -o ecryptfs_
ecryptfs_
ecryptfs_
Passphrase: [mountKey]
Filename Encryption Key (FNEK) Signature [136d0b...]:
Attempting to mount with the following options:
ecryptfs_
ecryptfs_
ecryptfs_
ecryptfs_
ecryptfs_
Mounted eCryptfs
$ ls Private/
Backup Desktop
---
Environment
---
ecryptfs version? (man page 2009-03-24)
Ubuntu 9.10 (#56-Ubuntu SMP Thu Jan 28)
kernel 2.6.31-19-generic
Lenovo X200
Only after setting my seahorse keyring password to match my login password, ecryptfs- mount-private worked. Is it required to change my password in three places?