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(verify): challenge expectation #94

Merged
merged 3 commits into from
Oct 20, 2021

Conversation

lewisdaly
Copy link
Contributor

Before signing a challenge on the client side, navigator.credentials.create converts the challenge to base64 encoding.

In order for this challenge to line up with the clientDataJSON field, we should also convert the challenge to base64 encoding before passing into the fido2-lib.

I think the way we have been doing it until now is a little incorrect, since we have been base64 encoding the challenge before passing it to the auth service

@lewisdaly lewisdaly marked this pull request as ready for review October 20, 2021 11:30
@lewisdaly lewisdaly requested a review from kleyow October 20, 2021 11:30
@lewisdaly lewisdaly merged commit 0253b41 into mojaloop:master Oct 20, 2021
@lewisdaly lewisdaly deleted the fix/challenge-expectation branch October 20, 2021 14:02
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