gitlab-org--gitlab-foss/config
Sean McGivern 405379bbfc Store OTP secret key in secrets.yml
.secret stores the secret token used for both encrypting login cookies
and for encrypting stored OTP secrets. We can't rotate this, because
that would invalidate all existing OTP secrets.

If the secret token is present in the .secret file or an environment
variable, save it as otp_key_base in secrets.yml. Now .secret can be
rotated without invalidating OTP secrets.

If the secret token isn't present (initial setup), then just generate a
separate otp_key_base and save in secrets.yml.

Update the docs to reflect that secrets.yml needs to be retained past
upgrades, but .secret doesn't.
2016-08-03 15:46:37 +01:00
..
environments Remove quiet_assets in favor of built-in sprockets-rails config. 2016-06-30 16:18:05 -06:00
initializers Store OTP secret key in secrets.yml 2016-08-03 15:46:37 +01:00
locales
application.rb Merge branch 'rename-js-files' into 'master' 2016-07-20 12:26:53 +00:00
aws.yml.example
boot.rb
database.yml.env
database.yml.mysql
database.yml.postgresql
dependency_decisions.yml Whitelist 'Simplified BSD' license 2016-07-26 15:25:15 -06:00
environment.rb
gitlab.yml.example Update default path for repository_downloads_path in gitlab.yml.example 2016-07-21 10:31:49 -03:00
license_finder.yml Resolve feedback. 2016-06-06 13:39:36 -06:00
mail_room.yml Don't require Gitlab::Redis in mail_room.yml if it's already defined 2016-06-10 13:44:45 +02:00
newrelic.yml
resque.yml.example
routes.rb Allow branch names ending with .json for graph and network page (!5579) 2016-08-02 03:32:28 +02:00
secrets.yml.example
sidekiq.yml.example
unicorn.rb.example
unicorn.rb.example.development