make secrets easy gen

This commit is contained in:
End 2026-04-01 10:21:05 -07:00
parent 1ba47dca1f
commit 01fc60e816
No known key found for this signature in database

View file

@ -24,10 +24,10 @@ DATABASE_URL=postgres://postgres:secureorpheus123@db:5432/app_development
SAILORS_LOG_DATABASE_URL=postgres://postgres:secureorpheus123@db:5432/app_development
# Generate these with `rails secret` or use these for development
SECRET_KEY_BASE=alallalalallalalallalalalladlalllalal
ENCRYPTION_PRIMARY_KEY=32characterrandomstring12345678901
ENCRYPTION_DETERMINISTIC_KEY=32characterrandomstring12345678902
ENCRYPTION_KEY_DERIVATION_SALT=16charssalt1234
SECRET_KEY_BASE=alallalalallalalallalalalladlalllalal # rails secret
ENCRYPTION_PRIMARY_KEY=32characterrandomstring12345678901 # openssl rand -hex 32
ENCRYPTION_DETERMINISTIC_KEY=32characterrandomstring12345678902 # openssl rand -hex 32
ENCRYPTION_KEY_DERIVATION_SALT=16charssalt1234 # openssl rand -hex 16
```
Visit <https://hca.dinosaurbbq.org>, log in with an email address, then enable Developer Mode in HCA settings. After that, navigate to the "Developers' Corner" and "app yourself up", specifying a callback URL of `http://localhost:3000/auth/hca/callback` and minimum scopes of `email`, `slack_id`, and `verification_status`.