-
Notifications
You must be signed in to change notification settings - Fork 18
Allow PAM module to save state #218
Copy link
Copy link
Open
Description
After trying to educate myself on how to use the PAM module properly together with pam_unix still present, I think this is probably the way:
- Invoke pam_glome with a "prompt" option. This should use
pam_set_datato store the ephemeral key and output the GLOME challenge. - Let pam_unix do its thing and fail if the password is incorrect.
- Invoke pam_glome again, let it discover the prior context and check the authcode.
We might also want to support a "quiet" to not print errors - however in this setup I suspect printing anything about the authcode is actually fine.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels