tweag / webauthn

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

Make all decoding errors Text's #90

Closed infinisil closed 2 years ago

infinisil commented 2 years ago

There's no good reason to want to catch separate decoding errors, so we don't need structured error types for that. This commit also removes essentially all uses of MonadFail, because the only instantiation of it we use is Maybe, which discards the error completely.