Default Rails salts are safe with long enough secret_key_base
This commit is contained in:
parent
821cef7bf0
commit
fed8fc8c8c
@ -34,9 +34,9 @@ defmodule Asciinema.Endpoint do
|
|||||||
store: PlugRailsCookieSessionStore,
|
store: PlugRailsCookieSessionStore,
|
||||||
key: "_asciinema_session",
|
key: "_asciinema_session",
|
||||||
secure: System.get_env("SCHEME") == "https",
|
secure: System.get_env("SCHEME") == "https",
|
||||||
signing_salt: System.get_env("SESSION_SIGNING_SALT") || "signed encrypted cookie",
|
signing_salt: "signed encrypted cookie",
|
||||||
encrypt: true,
|
encrypt: true,
|
||||||
encryption_salt: System.get_env("SESSION_ENCRYPTION_SALT") || "encrypted cookie",
|
encryption_salt: "encrypted cookie",
|
||||||
key_iterations: 1000,
|
key_iterations: 1000,
|
||||||
key_length: 64,
|
key_length: 64,
|
||||||
key_digest: :sha,
|
key_digest: :sha,
|
||||||
|
Loading…
Reference in New Issue
Block a user