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

cred: support requesting multiple types #837

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from
Draft

cred: support requesting multiple types #837

wants to merge 10 commits into from

Conversation

LDVG
Copy link
Contributor

@LDVG LDVG commented Nov 19, 2024

No description provided.

LDVG and others added 5 commits December 3, 2024 11:45
One function to encode the array and an internal helper to encode each
member of the array.

Co-Authored-By: Mofidul Jamal <mofidulj@amazon.com>
One function to encode the array and a helper to translate each
parameter from the libfido2 representation to the winhello
representation.

Co-Authored-By: Mofidul Jamal <mofidulj@amazon.com>
Our routines check that the resulting credential is of the same type as
the requested type. This means that this not a functional change.

Co-Authored-By: Mofidul Jamal <mofidulj@amazon.com>
While here, also add `fido_int_array_contains()` helper function.

Co-Authored-By: Mofidul Jamal <mofidulj@amazon.com>
Co-Authored-By: Mofidul Jamal <mofidulj@amazon.com>
@martelletto
Copy link
Contributor

left a couple of comments. looks good, although i'm not sure it justifies the additional complexity. in any case, we might want to add fuzzing bits and corresponding entries to the wiredata files so that the new code paths get properly exercised.

regress/cred.c Outdated Show resolved Hide resolved
src/cred.c Show resolved Hide resolved
man/fido_cred_set_authdata.3 Outdated Show resolved Hide resolved
LDVG and others added 2 commits December 4, 2024 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants