tweag / webauthn

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

The PublicKey type could be replace with the type exported by Data.X509 #20

Closed ErinvanderVeen closed 2 years ago

ErinvanderVeen commented 2 years ago

Data.X509 exports the PubKey type. Instead of having our own PublicKey, we could use this one instead.

This would simplify the code is certain cases, allowing us to directly operate with the functions provided by Data.X590.

ErinvanderVeen commented 2 years ago

This would result in compatibility problems with cryptonite.