secrets aren't created correctly #1
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Specifically, secret_key_base and otp_secret need to be big hex strings for ruby's sake
And vapid_private_key
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
THere is some script leftover in the abra.sh to do this but obviously this is non-functional with current-day abra.
I have updated the
abra.sh
to create these, and also provide other useful tools. It should work to generate the secrets.