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

fingerprint: Fix fingerprint authentication #242

Closed
wants to merge 1 commit into from

Conversation

benzea
Copy link

@benzea benzea commented Mar 25, 2021

Commit b1bd297 ("fingerprint: Retain error code returned by
pam_fprintd.so") changed the pam_fprintd.so module to be included using
"required". This changes sets "default=bad", however changed the
"success" configuration from "success=done" to "success=ok" resulting in
the later pam_deny.so to prevent authentication.

The fix is simple, explicitly set "[success=done default=bad]" so that
we get the best of both worlds. Error reporting and working
authentication.

Commit b1bd297 ("fingerprint: Retain error code returned by
pam_fprintd.so") changed the pam_fprintd.so module to be included using
"required". This changes sets "default=bad", however changed the
"success" configuration from "success=done" to "success=ok" resulting in
the later pam_deny.so to prevent authentication.

The fix is simple, explicitly set "[success=done default=bad]" so that
we get the best of both worlds. Error reporting and working
authentication.
@pbrezina
Copy link
Member

Thank you. Ack.

@pbrezina
Copy link
Member

  • master
    • df92cfa - fingerprint: Fix fingerprint authentication

@pbrezina pbrezina self-assigned this Mar 31, 2021
@pbrezina pbrezina closed this Mar 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants