jeremyevans / rodauth

Ruby's Most Advanced Authentication Framework
http://rodauth.jeremyevans.net
MIT License
1.67k stars 95 forks source link

Ensure WebAuthn tests run on Ruby 3.1 #236

Closed janko closed 2 years ago

janko commented 2 years ago

Ruby 3.1 ships with OpenSSL 3.0 as the default gem, but WebAuthn gem don't support OpenSSL 3.0 yet, which caused WebAuthn tests to be skipped. To work around that, we make sure to install OpenSSL 2.x and require it for now.

jeremyevans commented 2 years ago

This looks good. I've tried to get the WebAuthn developers to fix this, since the openssl 3.0 gem works fine for Rodauth's tests, it apparently just doesn't work if you are using the OpenSSL 3 library (I'm using LibreSSL). I'll merge this later today.

jeremyevans commented 2 years ago

Cherry-picked at 4c31c426ca01ab4da430755329f020b03e0e3d0e