summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2017-03-22 10:34:12 +0100
committerAzul <azul@riseup.net>2017-03-23 08:47:25 +0100
commitd03082680007d30b8883495c2ae5110daec14f71 (patch)
tree96ebbcb9f18dacadd0886efe029e1e91531f938b /README.md
parent84be2700a09808ccae4a3f68a8586ce9aa74066c (diff)
upgrade: use rails4s 'secret_key_base'
This will get us encrypted cookies but also requires changes to the platform. fixes #23
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 3d56344..11b7a38 100644
--- a/README.md
+++ b/README.md
@@ -112,7 +112,7 @@ There are a few values you should make sure to modify:
admins: ["myusername","otherusername"]
domain: example.net
force_ssl: true
- secret_token: "4be2f60fafaf615bd4a13b96bfccf2c2c905898dad34"
+ secret_key_base: "e1c04f93edb26b64040ba49f34084b03abbc286a7fbb60b5b0736bed2d9fe3ec5f16ef4253b252080f3c8b52e11541d57adc8eee6e4bd53f3b568aced3455106"
client_ca_key: "./test/files/ca.key"
client_ca_cert: "./test/files/ca.key"
ca_key_password: nil
@@ -125,8 +125,8 @@ There are a few values you should make sure to modify:
* `force_ssl`, if set to true, will require secure cookies and turn on
HSTS. Don't do this if you are using a self-signed server certificate.
-* `secret_token`, used for cookie security, you can create one with
- `rake secret`. Should be at least 30 characters.
+* `secret_key_base`, used for cookie security, you can create one with
+ `rake secret`. Should be at least 64 bytes hex.
* `client_ca_key`, the private key of the CA used to generate client
certificates.