secrets aren't created correctly #1

Closed
opened 2023-10-08 05:21:31 +00:00 by cas · 4 comments
Owner

Specifically, secret_key_base and otp_secret need to be big hex strings for ruby's sake

Specifically, secret_key_base and otp_secret need to be big hex strings for ruby's sake
Author
Owner

And vapid_private_key

And vapid_private_key
Author
Owner

I guess we should document how to create the various keys you need, there's a set of docker images that can generate them correctly.

docker run --rm -it --entrypoint /bin/bash lscr.io/linuxserver/mastodon generate-secret (for OTP_SECRET and SECRET_KEY_BASE) (these can also be generated with openssl rand -hex 64)
docker run --rm -it --entrypoint /bin/bash lscr.io/linuxserver/mastodon generate-vapid

I guess we should document how to create the various keys you need, there's a set of docker images that can generate them correctly. docker run --rm -it --entrypoint /bin/bash lscr.io/linuxserver/mastodon generate-secret (for OTP_SECRET and SECRET_KEY_BASE) (these can also be generated with `openssl rand -hex 64`) docker run --rm -it --entrypoint /bin/bash lscr.io/linuxserver/mastodon generate-vapid
Author
Owner

THere is some script leftover in the abra.sh to do this but obviously this is non-functional with current-day abra.

THere is some script leftover in the abra.sh to do this but obviously this is non-functional with current-day abra.
Author
Owner

I have updated the abra.sh to create these, and also provide other useful tools. It should work to generate the secrets.

I have updated the `abra.sh` to create these, and also provide other useful tools. It should work to generate the secrets.
cas closed this issue 2023-12-25 20:54:40 +00:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: cas/glitch-soc#1
No description provided.