mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 07:29:22 +08:00
c031434b86
Added a fix to gracefully error with a Webauthn::SecurityKeyError if somehow a user provides an unkown COSE algorithm when logging in with a security key. If `COSE::Algorithm.find` returns nil we now fail gracefully and log the algorithm used along with the user ID and the security key params for debugging, as this will help us find other common algorithms to implement for webauthn |
||
---|---|---|
.. | ||
security_key_authentication_service_spec.rb | ||
security_key_registration_service_spec.rb |