Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pam_keyinit lacks pam_sm_setcred #149

Closed
ppkarwasz opened this issue Nov 3, 2019 · 0 comments · Fixed by #150
Closed

pam_keyinit lacks pam_sm_setcred #149

ppkarwasz opened this issue Nov 3, 2019 · 0 comments · Fixed by #150

Comments

@ppkarwasz
Copy link
Contributor

Since many PAM applications execute pam_setcred before pam_open_session, the session keyring is not available when it is needed.

For example: if we use pam_krb5 with credential cache of the form KEYRING:session:some_name and login using gdm3, the credential cache will not be available to the user session (pam_krb5 fills in the credential cache during in whichever of the previously mentioned functions gets called first).

I propose to add an auth module to pam_keyinit, with a pam_sm_setcred function identical to pam_sm_open_session.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant