pam_ecryptfs.so causes authentication to be slow by unnecessary subsequent unwraps of wrapped-passphrase
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ecryptfs-utils (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: ecryptfs-utils
I have the encrypted ~/Private enabled. In /etc/pam.
auth optional pam_encryptfs.so unwrap
If that line is commented out, then doing something like 'sudo ls' is instantanious after I enter my password.
If that line is not commented out (like normal), 'sudo ls', or anything else involving my password such as logging in, and unlocking the screensaver take about 4 or 5 seconds longer than they need to.
The following is also syslogged. I'm not sure if it's relevant or not, but that 5 second delay seems to be the pause that occurs.
Nov 8 17:33:00 gulik sudo: pam_sm_
Nov 8 17:33:00 gulik sudo: pam_sm_
Nov 8 17:33:00 gulik sudo: Error attempting to parse .ecryptfsrc file; rc = [-5]
Nov 8 17:33:00 gulik sudo: Unable to read salt value from user's .ecryptfsrc file; using default
Nov 8 17:33:05 gulik sudo: Passphrase key already in keyring
Nov 8 17:33:05 gulik sudo: Error attempting to add passphrase key to user session keyring; rc = [1]
Nov 8 17:33:05 gulik sudo: There is already a key in the user session keyring for the given passphrase.
This doesn't seem to impair the functionality, but it is a little bit annoying.
Changed in ecryptfs-utils (Ubuntu): | |
importance: | Undecided → Medium |
status: | Incomplete → Confirmed |
Changed in ecryptfs-utils (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in ecryptfs-utils (Ubuntu): | |
status: | Fix Released → Fix Committed |
Changed in ecryptfs-utils (Ubuntu): | |
status: | Fix Committed → Fix Released |
This also happens to me. Similar logs to the ones shown above. Similar 5 second pause.
My PC was upgraded to hardy and I used the following URL to setup the Private directory: https:/ /wiki.ubuntu. com/EncryptedPr ivateDirectory