Closed ErinvanderVeen closed 2 years ago
@Infinisil For the Processing.hs
FIXME's we can create our own Error type and then implement the AsError
typeclass for it, this would allow using custom errors with the JOSE library. I think it is best you do this, you made this module and know best the kind of errors you would like to result in.
EDIT: I just pushed a commit resolving this.
Based on #81
For every FIXME and TODO, we should consider if we can fix/remove it right now, or if we are comfortable leaving it in the code after release.
src/Crypto/WebAuthn/Model.hs
src/Crypto/WebAuthn/Metadata/Service/Processing.hs
src/Crypto/WebAuthn/Metadata/Statement/IDL.hs
server/src/Main.hs
tests/MetadataSpec.hs
tests/PublicKeySpec.hs
tests/Emulation/Authenticator.hs
src/Crypto/WebAuthn/Model.hs
src/Crypto/WebAuthn/Metadata/Statement/IDL.hs
src/Crypto/WebAuthn/Operations/Assertion.hs
src/Crypto/WebAuthn/Operations/Attestation.hs
src/Crypto/WebAuthn/Metadata/Service/Processing.hs
src/Crypto/WebAuthn/Metadata/Statement/Decode.hs
src/Crypto/WebAuthn/Metadata/Service/Types.hs
src/Crypto/WebAuthn/WebIDL.hs
src/Crypto/WebAuthn/Operations/Attestation/AndroidKey.hs
src/Crypto/WebAuthn/Model/Binary/Decoding.hs
src/Crypto/WebAuthn/Operations/Attestation/TPM.hs
src/Crypto/WebAuthn/Operations/Attestation/FidoU2F.hs
src/Crypto/WebAuthn/Model/JavaScript/Decoding.hs
src/Crypto/WebAuthn/UAF.hs
src/Crypto/WebAuthn/PublicKey.hs
src/Crypto/WebAuthn/Model/JavaScript/Encoding.hs
server/src/PendingOps.hs