tweag / webauthn

A library for parsing and validating webauthn/fido2 credentials
Apache License 2.0
34 stars 11 forks source link

Add script for updating FIDO metadata blob in tests #92

Closed infinisil closed 2 years ago

infinisil commented 2 years ago

The tests contain the JWT blob from here which is used to verify that the blob can be parsed. We should have a script to update that blob if needed. This notably also has to update the payload.json file along with it.

It would also be really neat if the JSON file could have the entries sorted in some way (perhaps FIDO U2F authenticators first, sort those according to the certificate identifiers, then FIDO2 authenticators, sorted according to aaguid). With this we could see the history of new authenticators over time.