OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/config/initializers/ee_token.rb

7 lines
200 B

begin
data = File.read(Rails.root.join(".openproject-token.pub"))
key = OpenSSL::PKey::RSA.new(data)
OpenProject::Token.key = key
rescue
warn "WARNING: Missing .openproject-token.pub key"
end