Comment 12 for bug 313812

Revision history for this message
Dustin Kirkland  (kirkland) wrote : Re: umount of ecryptfs does not automatically clear the keyring (was: ecryptfs can be mounted with any passphrase)

Okay, using Michal's latest reproduce instructions, I do see this issue with the latest ecryptfs-utils-75.

I'll try to solve this in pam_ecryptfs. Basically, we need to duplicate the functionality of the /usr/bin/ecryptfs-umount-private shell script. We'll need to check the return code of the umount.ecryptfs_private execution, and if that succeeds, loop through the keys in Private.sig and unlink each one.