#985955 fscrypt reports of bad pam configuration

Package:
fscrypt
Source:
fscrypt
Description:
Tool for managing Linux filesystem encryption
Submitter:
Alexander Kudrevatykh
Date:
2021-03-26 18:54:04 UTC
Severity:
important
#985955#5
Date:
2021-03-26 18:45:28 UTC
From:
To:
Dear Maintainer,

both stable and unstable versions of fscrypt does not work at all
both of them report same error when I try to setup encrypted directory

[ERROR] fscrypt encrypt: user keyring for "kudrale" is not linked into
the session keyring

This is usually the result of a bad PAM configuration. Either correct
the problem in your PAM stack, enable
pam_keyinit.so, or run "keyctl link @u @s".

1. libpam-fscrypt is just suggested package and fscrypt should work
without pam configured at all
2. when libpam-fscrypt installed it does not work either

I'm using gnome desktop environment if it important