This PR adds an update callback implementation to WebauthnComponents.AuthenticationComponent, which adds proper validation of the challenge and attestation against a user_key provided by the parent application.
Changes
Added update/2 implementation
Added Wax.authenticate/6 call
Updated WebauthnComponents.CoseKey
Removed console.log() calls
Tests
mix test
...
Finished in 0.1 seconds (0.1s async, 0.00s sync)
16 tests, 0 failures
Randomized with seed 840688
Overview
This PR adds an update callback implementation to
WebauthnComponents.AuthenticationComponent
, which adds proper validation of the challenge and attestation against auser_key
provided by the parent application.Changes
update/2
implementationWax.authenticate/6
callWebauthnComponents.CoseKey
console.log()
callsTests