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

fix: [Traits for Authn] UserAuthenticator MUST verify credentials, not just let them validate themselves #26

Conversation

pandres95
Copy link
Member

There was a finding where, if a credential is valid, the authentication passes as long as the challenge can be validated by a device-credential pair.

Since credentials validate themselves, an instance of the UserAuthenticator (a.k.a. a device) has no way to know whether that credential is in some way bound to the device Ii.e. a way to know whether a credential was issued by the device, or more specifically, whether it was signed by it).

This Pull Request resolves such issue, enforcing credentials to be verified by the device.

@pandres95 pandres95 force-pushed the fix/user-authenticator-must-verify-credentials-not-just-let-them-verify-themselves branch from 4419e7c to f588a50 Compare October 13, 2024 04:26
@olanod olanod merged commit aee5270 into main Oct 13, 2024
6 checks passed
@olanod olanod deleted the fix/user-authenticator-must-verify-credentials-not-just-let-them-verify-themselves branch October 13, 2024 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants