mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 08:15:48 +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.rb | ||
security_key_base_validation_service.rb | ||
security_key_registration_service.rb |