Default Rails salts are safe with long enough secret_key_base

integrate-vt
Marcin Kulik 8 years ago
parent 61a2a13cf8
commit 6482983c76

@ -34,9 +34,9 @@ defmodule Asciinema.Endpoint do
store: PlugRailsCookieSessionStore,
key: "_asciinema_session",
secure: System.get_env("SCHEME") == "https",
signing_salt: System.get_env("SESSION_SIGNING_SALT") || "signed encrypted cookie",
signing_salt: "signed encrypted cookie",
encrypt: true,
encryption_salt: System.get_env("SESSION_ENCRYPTION_SALT") || "encrypted cookie",
encryption_salt: "encrypted cookie",
key_iterations: 1000,
key_length: 64,
key_digest: :sha,

Loading…
Cancel
Save