tweag / webauthn

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

Introduce more type-safe model and better decoding separation #32

Closed infinisil closed 2 years ago

infinisil commented 3 years ago

This PR introduces an entirely new and improved model of the types involved in the Webauthn protocol. The previous Crypto.Fido2.Protocol module is to be replaced with Crypto.Fido2.Model.*. Notable improvements:

This new model is yet not used for anything, but just introduced alongside the old one.