Open MojoJojo opened 4 years ago
Try this:
pubKeyCredParams: [ { type: "public-key", alg: -7 // "ES256" IANA COSE Algorithms registry }, { type: "public-key", alg: -257//Windows Hello supports the RS256 algorithm } ]
Current demo don't support another, only fmt: fido-u2f
, my windows hello use fmt: tpm
https://github.com/fido-alliance/webauthn-demo/blob/ccea83d1b3d648c5be202e0ffd6823cb26df6876/utils.js#L266
A working and improved version (with Windows hello and android support) available at http://github.com/hexagon/webauthn-skeleton
Hi,
I was trying to modify the example for to work with Windows Hello but not sure how to go about it. I modified
utils.js
to allow for Windows Hello public keys:However, when I run the demo, it fails with the following error on the server:
Seems like the parsing needs to be changed for Windows Hello format (or any other format for that matter)?