Skip to content

Conversation

SturmDerLiebe
Copy link

While reading through the 1.8.0 and 2.0.0-rc1 docs, I was trying to understand what exactly the handler function's secret_key_base parameter would be responsible of signing and encrypting.

After scanning the example pages, I could see that it is at least used for Cookie Signing.

Would it be worth to include that info in the HexDocs as done in this PR or do you consider this an implementation detail?

What other areas is the secret_key_base used in, if any? I would update the PR accordingly

@lpil
Copy link
Collaborator

lpil commented Aug 3, 2025

It would be anything at all that is signed or encrypted! It's not specific to cookies.

Encryption isn't offered presently, but it likely will be in future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants