pam_ecryptfs doesn't insert wrapped passphrase into keyring

Bug #1778973 reported by Florent B
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
eCryptfs
New
Undecided
Unassigned

Bug Description

Hi,

I'm using Ubuntu 18.04, with eCryptFS 111-0ubuntu5.

I'm trying to use eCryptFS on a custom directory (not home, not Private directory).

The first step of using eCryptFS to unwrap passphrase and insert it to keyring is causing me troubles with pam_ecryptfs.

My wrapped passphrase is in ~/.ecryptfs/wrapped-passphrase

I can successfully use "ecryptfs-insert-wrapped-passphrase-into-keyring" using my login password to unwrap. My passphrase is inserted in keyring.

But if I let pam_ecryptfs do it, it does not work : key is not present in keyring.

pam_ecryptfs seems configured :

$ grep -Hr pam_ecryptfs /etc/pam.d/
/etc/pam.d/common-session:session optional pam_ecryptfs.so unwrap
/etc/pam.d/common-auth:auth optional pam_ecryptfs.so unwrap
/etc/pam.d/common-session-noninteractive:session optional pam_ecryptfs.so unwrap
/etc/pam.d/common-password:password optional pam_ecryptfs.so

It seems to detect my wrapped passphrase on login :

$ cat /var/log/syslog | grep pam_ecryptfs
Jun 27 19:37:18 FlorentTux gdm-password]: pam_ecryptfs: Passphrase file wrapped

But it is not inserted in keyring (checked with "keyctl list @u").

What more can I do to debug my issue ? I probably did something wrong, but I don't know what.

Thank you.
Florent

Florent B (florent-z)
no longer affects: ubuntu
Revision history for this message
Enrico Buttignol (lumierestudios) wrote :

Hi Florent, I have the same problem, how you solve?

Thanks

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.