FS#65553 - fscrypt package doesn't install /etc/pam.d/fscrypt
Attached to Project:
Community Packages
Opened by Eric Biggers (Synchronicity) - Wednesday, 19 February 2020, 04:13 GMT
Last edited by freswa (frederik) - Sunday, 10 May 2020, 19:22 GMT
Opened by Eric Biggers (Synchronicity) - Wednesday, 19 February 2020, 04:13 GMT
Last edited by freswa (frederik) - Sunday, 10 May 2020, 19:22 GMT
|
Details
The fscrypt package in community (v0.2.6 as of this writing)
doesn't install the file /etc/pam.d/fscrypt. This breaks
creating login passphrase-protected directories.
This file is already present in the package source as 'pam_config'; it just needs to installed. See the fscrypt-git AUR package which does this correctly. |
This task depends upon
```installs the PAM config file pam_fscrypt/config to /usr/share/pam-configs/fscrypt. This file contains reasonable defaults for the PAM module. To automatically apply these changes, run sudo pam-auth-update and follow the on-screen instructions.```
So I think it is better to use one provided by the project https://github.com/google/fscrypt/blob/master/pam_fscrypt/config than adding own version of the pam config.
# Allow fscrypt to check your login passphrase when you create a login protector
auth required pam_unix.so
I can document this in the "Manual setup" section, though I'd need to investigate whether other Linux distros need it or not first.
I'll look at adding /etc/pam.d/fscrypt