Skip to content

Conversation

@msirringhaus
Copy link
Collaborator

Switched away from a context-less From<MakeCredentialRequest> for Ctap2MakeCredentialRequest implementation to a dedicated function that can additionally receive the device-info to make that transformation.
Now we also don't need to copy the original request and modify it (which was always a bit icky), but we can do the direct translation to the Ctap2-request.

@msirringhaus msirringhaus force-pushed the optional_discoverable_creds branch from 75f60be to 5990e71 Compare July 17, 2025 09:26
Copy link
Member

@iinuwa iinuwa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The whole renaming "resident keys" to be "discoverable credentials" in the spec is a debacle, but I prefer using resident key terminology in the library as it's easier to map to the spec, IMO. (E.g. resident_key_requirement and ResidentKeyRequirement rather than discoverable_credential and DiscoverableCredentialRequirement)

Not a dealbreaker for me though.

Other than that, looks good.

@msirringhaus
Copy link
Collaborator Author

Ugh, the webauthn spec indeed still calls it resident keys. I'll change it.

@msirringhaus msirringhaus requested a review from iinuwa July 17, 2025 14:04
@iinuwa iinuwa merged commit e73c76b into linux-credentials:master Jul 17, 2025
3 checks passed
@iinuwa
Copy link
Member

iinuwa commented Jul 17, 2025

Thanks!

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 this pull request may close these issues.

2 participants