ecryptfs team mailing list archive
-
ecryptfs team
-
Mailing list archive
-
Message #00259
[Bug 295429] [NEW] pam_encryptfs.so causes authentication to be slow
Public bug reported:
Binary package hint: ecryptfs-utils
I have the encrypted ~/Private enabled. In /etc/pam.d/common-auth is the line:
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_authenticate: Called
Nov 8 17:33:00 gulik sudo: pam_sm_authenticate: username = [robin]
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.
** Affects: ecryptfs-utils (Ubuntu)
Importance: Undecided
Status: New
--
pam_encryptfs.so causes authentication to be slow
https://bugs.launchpad.net/bugs/295429
You received this bug notification because you are a member of eCryptfs,
which is subscribed to ecryptfs-utils in ubuntu.
Status in “ecryptfs-utils” source package in Ubuntu: New
Bug description:
Binary package hint: ecryptfs-utils
I have the encrypted ~/Private enabled. In /etc/pam.d/common-auth is the line:
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_authenticate: Called
Nov 8 17:33:00 gulik sudo: pam_sm_authenticate: username = [robin]
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.
Follow ups
-
[Bug 295429] Re: pam_ecryptfs.so causes authentication to be slow
From: Dustin Kirkland, 2009-09-14
-
[Bug 295429] Re: pam_ecryptfs.so causes authentication to be slow
From: Milan Bouchet-Valat, 2009-09-14
-
[Bug 295429] Re: pam_ecryptfs.so causes authentication to be slow
From: Dustin Kirkland, 2009-09-14
-
[Bug 295429] Re: pam_ecryptfs.so causes authentication to be slow
From: ergibu, 2009-09-14
-
[Bug 295429] Re: pam_encryptfs.so causes authentication to be slow
From: Dustin Kirkland, 2009-07-23
-
[Bug 295429] Re: pam_encryptfs.so causes authentication to be slow
From: Dustin Kirkland, 2009-07-23
-
[Bug 295429] Re: pam_encryptfs.so causes authentication to be slow
From: Dustin Kirkland, 2009-07-17
-
[Bug 295429] Re: pam_encryptfs.so causes authentication to be slow
From: hmeyer, 2009-07-04
-
[Bug 295429] Re: pam_encryptfs.so causes authentication to be slow
From: Robin Sheat, 2009-05-13
-
[Bug 295429] Re: pam_encryptfs.so causes authentication to be slow
From: Milan, 2009-05-13
-
[Bug 295429] Re: pam_encryptfs.so causes authentication to be slow
From: Milan, 2009-05-13
-
[Bug 295429] Re: pam_encryptfs.so causes authentication to be slow
From: Dustin Kirkland, 2009-02-21
-
[Bug 295429] Re: pam_encryptfs.so causes authentication to be slow
From: mello73, 2009-01-26
-
[Bug 295429] Re: pam_encryptfs.so causes authentication to be slow
From: Robin Sheat, 2009-01-26
-
Re: [Bug 295429] [NEW] pam_encryptfs.so causes authentication to be slow
From: Dustin Kirkland, 2009-01-26
-
[Bug 295429] Re: pam_encryptfs.so causes authentication to be slow
From: Dustin Kirkland, 2009-01-26
-
[Bug 295429] Re: pam_encryptfs.so causes authentication to be slow
From: Eythian, 2008-11-25
-
[Bug 295429] Re: pam_encryptfs.so causes authentication to be slow
From: Eythian, 2008-11-25
-
[Bug 295429] Re: pam_encryptfs.so causes authentication to be slow
From: Adrian Moisey, 2008-11-24
-
[Bug 295429] [NEW] pam_encryptfs.so causes authentication to be slow
From: Eythian, 2008-11-08
References