tweag / webauthn

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

Inline validatePure function from x509-validation master #87

Closed infinisil closed 2 years ago

infinisil commented 2 years ago

The validatePure function is part of upstream x509-certificate in master after https://github.com/vincenthz/hs-certificate/pull/126, but no new version has yet been released on hackage (ping @vincenthz :smiley:)

In order to be able to release this webauthn library onto hackage we're temporarily inlining its implementation.

This closes #75 for now and allows processing with #78, but ideally we'd use the version from the x509-validation package in the future.

infinisil commented 2 years ago

Rebased and added the license and copyright of the inlined code to the module header