diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-08-17 23:06:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-17 22:06:48 +0100 |
commit | 461239db5d87ac584b07b394f894384853e875af (patch) | |
tree | cf68cf9e8c7da61ba2fe319735e41f8d193aa1bc /spec/fabricators | |
parent | d92ce31c92903c3ce24c3fcadb99af3c1ba1d585 (diff) |
Fix backend compatibility with OpenSSL 3.0 (#18449)
* Update webpush to fork with OpenSSL 3 compatibility * Fix tests with OpenSSL 3.0 * Update webauthn gem to latest release and update dependencies
Diffstat (limited to 'spec/fabricators')
-rw-r--r-- | spec/fabricators/webauthn_credential_fabricator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/fabricators/webauthn_credential_fabricator.rb b/spec/fabricators/webauthn_credential_fabricator.rb index 496a7a735..ba59ce967 100644 --- a/spec/fabricators/webauthn_credential_fabricator.rb +++ b/spec/fabricators/webauthn_credential_fabricator.rb @@ -1,7 +1,7 @@ Fabricator(:webauthn_credential) do user_id { Fabricate(:user).id } external_id { Base64.urlsafe_encode64(SecureRandom.random_bytes(16)) } - public_key { OpenSSL::PKey::EC.new("prime256v1").generate_key.public_key } + public_key { OpenSSL::PKey::EC.generate('prime256v1').public_key } nickname 'USB key' sign_count 0 end |