Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs for Active Record Encryption secrets? #138

Open
hardillb opened this issue Jul 4, 2024 · 1 comment
Open

Docs for Active Record Encryption secrets? #138

hardillb opened this issue Jul 4, 2024 · 1 comment

Comments

@hardillb
Copy link
Contributor

hardillb commented Jul 4, 2024

I've just pulled the latest version of the chart in order to do the 4.2.10 upgrade (from 4.2.6)

And it is now asking for extra secrets for ACTIVE_RECORD_ENCRYPTION

The docs imply these were added for 4.3.0 (a future release?) So it's unclear if these are really needed for 4.2.10 or if the current version of the helm chart is now only useful with nightly?

As there are not release tagged in this repo (but they are mentioned in the CHANGELOG.md) how to i get a suitable version of the helm chart to do the upgrade or should I just generate some random strings to use as the keys (if so are there any restrictios on length required?)

@lowlevl
Copy link

lowlevl commented Oct 13, 2024

Hi, I had the same question, and upon digging into Mastodon's source-code, the generation of these values seems to be as straight-forward as generating a random 32 characters alphanumeric string, see https://github.com/mastodon/mastodon/blob/e15befebbd288faeec55ef6ad323d106f4ec57e1/lib/tasks/db.rake#L9.

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

No branches or pull requests

2 participants