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

Add support for conditional mediation in credential creation #83

Closed
Firehed opened this issue Jun 28, 2024 · 0 comments · Fixed by #85
Closed

Add support for conditional mediation in credential creation #83

Firehed opened this issue Jun 28, 2024 · 0 comments · Fixed by #85

Comments

@Firehed
Copy link
Owner

Firehed commented Jun 28, 2024

To support automatic passkey creation, §7.1.14 is being updated in the upcoming draft spec to reflect that the test of user presence may be omitted during credential registration if mediation is set to conditional.

At present, the credential creation process is hard-coded to require UP=1 during verification, as has been the spec to date. This will need to be parameterized or contextualized in some other way. Ideally it would be strongly bound to the CM flag on the client request side, but I'm not sure how to enforce that since it's really across multiple requests and doing that statefully within the library will be... messy. There's probably going to be some client responsibly to bind it to the challenges (which this could eventually help with?)

@Firehed Firehed closed this as completed in 3e88b04 Jul 9, 2024
Firehed added a commit that referenced this issue Jul 16, 2024
This was omitted from #83. Adding it to the interface ensures that
clients can actually use this without having to perform additional type
checking.
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