fido-alliance / webauthn-demo

WebAuthn Workshop Demo [Completed DEMO is at completed demo-branch]
MIT License
740 stars 154 forks source link

Can not authenticate signature! #6

Closed hopoluicha closed 5 years ago

hopoluicha commented 6 years ago

I just realise I cannot reopen issue #2

there is a regression. Works on Firefox 62 but not Chrome 69.0.3497.81 (Official Build). Same error, "Can not authenticate signature!"

Please help

Originally posted by @chongns-sains in https://github.com/fido-alliance/webauthn-demo/issues/2#issuecomment-427277517

yackermann commented 5 years ago

@chongns-sains Are you using built in authenticator?

hopoluicha commented 5 years ago

HI, please review https://github.com/fido-alliance/webauthn-demo/pull/7

I think the 'packed' format solve this issue

yackermann commented 5 years ago

@laopisai Thanks for your solutions. Here is another way you can do it https://medium.com/@herrjemand/verifying-fido2-packed-attestation-a067a9b2facd (If you are curious)

Here is more in depth https://medium.com/@herrjemand/verifying-fido2-responses-4691288c8770

Thanks for you work.