-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathsecrets.yml
29 lines (21 loc) · 1.28 KB
/
secrets.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright (c) 2006-2017, Puzzle ITC GmbH. This file is part of
# PuzzleTime and licensed under the Affero General Public License version 3
# or later. See the COPYING file at the top-level directory or at
# https://github.com/puzzle/puzzletime.
# Be sure to restart your server when you modify this file.
# Your secret key is used for verifying the integrity of signed cookies.
# If you change this key, all old signed cookies will become invalid!
# Make sure the secret is at least 30 characters and all random,
# no regular words or you'll be exposed to dictionary attacks.
# You can use `rails secret` to generate a secure secret key.
# Make sure the secrets in this file are kept private
# if you're sharing your code publicly.
development:
secret_key_base: b6ac4fc2b3e8280398babba54e7fba04f8f0bcd9864079bf1ec1b9ae5be252166d5a802f504ecfd9c67d9a3b44f4866c4eb953b0d4ca6ab308df6eeafb011cf0
test:
secret_key_base: 994fa8ae693d47a35765af4b09f4a85b1879d04af4faefaac31950b11b9a05a89a1a4511a00863a8d92688bce4dde0f3d80f2c16df3cb94ffe65a3d0900c1c8a
# Do not keep production secrets in the repository,
# instead read values from the environment.
production:
# RAILS_SECRET_TOKEN is the variable used by the older hostings
secret_key_base: <%= ENV["RAILS_SECRET_TOKEN"] || ENV["SECRET_KEY_BASE"] %>