diff --git a/Gemfile.lock b/Gemfile.lock index 1b6f1176a26..f33d836bc5d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -598,7 +598,7 @@ GEM http-cookie (>= 1.0.2, < 2.0) mime-types (>= 1.16, < 4.0) netrc (~> 0.8) - rexml (3.2.5) + rexml (3.2.6) rodf (1.1.1) builder (>= 3.0) dry-inflector (~> 0.1) @@ -686,7 +686,7 @@ GEM selectize-rails (0.12.6) selenium-devtools (0.114.0) selenium-webdriver (~> 4.2) - selenium-webdriver (4.10.0) + selenium-webdriver (4.14.0) rexml (~> 3.2, >= 3.2.5) rubyzip (>= 1.2.2, < 3.0) websocket (~> 1.0) @@ -798,7 +798,7 @@ GEM addressable (>= 2.3.6) crack (>= 0.3.2) hashdiff (>= 0.4.0, < 2.0.0) - websocket (1.2.9) + websocket (1.2.10) websocket-driver (0.7.5) websocket-extensions (>= 0.1.0) websocket-extensions (0.1.5) diff --git a/app/services/cojo_service.rb b/app/services/cojo_service.rb index cff1e117e96..49805482523 100644 --- a/app/services/cojo_service.rb +++ b/app/services/cojo_service.rb @@ -50,7 +50,7 @@ def jwt_payload def rsa_private_key if ENV['COJO_JWT_RSA_PRIVATE_KEY'].present? - OpenSSL::PKey::RSA.new(ENV['COJO_JWT_RSA_PRIVATE_KEY']) + OpenSSL::PKey::RSA.new((ENV['COJO_JWT_RSA_PRIVATE_KEY'] + "\n").gsub("\\n", "\n")) end end end