Skip to content

Commit 480be5e

Browse files
committed
Add changelog info for v4.3.0-alpha.3+glitch+cat+1.2.0
1 parent 360fa71 commit 480be5e

File tree

4 files changed

+14
-1
lines changed

4 files changed

+14
-1
lines changed

.env.production.catcatnya

+3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ SECRET_KEY_BASE=[REDACTED]
55
OTP_SECRET=[REDACTED]
66
VAPID_PRIVATE_KEY=[REDACTED]
77
VAPID_PUBLIC_KEY=[REDACTED]
8+
ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY=[REDACTED]
9+
ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT=[REDACTED]
10+
ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY=[REDACTED]
811
DB_HOST=[REDACTED]
912
DB_PORT=[REDACTED]
1013
DB_NAME=[REDACTED]

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ All changes to Catstodon that aren't Mastodon or glitch-soc Mastodon changes wil
66

77
- Glitch-soc changes since and including 62bc36416f2d2defc77a501226afd0679b6ca252
88
- Ruby version 3.3.1. Update your rbenv!
9+
- Mastodon/Catstodon now requires that these variables are set:
10+
11+
- ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY
12+
- ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT
13+
- ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY
14+
15+
After `bundle install`, run `bin/rails db:encryption:init` to generate values and then assign the environment variable, for example in your `.env.production`.
916

1017
## [v4.3.0-alpha.3+glitch+cat+1.1.3] - 2024-04-26
1118

config/initializers/active_record_encryption.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
ENV.fetch(key) do
99
abort <<~MESSAGE
1010
11-
Mastodon now requires that these variables are set:
11+
Catstodon now requires that these variables are set:
1212
1313
- ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY
1414
- ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT

redact-env.bash

+3
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,8 @@ if [[ -f "$1" ]]; then
2323
-e 's/^ES_HOST=.*/ES_HOST=[REDACTED]/gi' \
2424
-e 's/^ES_PORT=.*/ES_PORT=[REDACTED]/gi' \
2525
-e 's/^ES_PREFIX=.*/ES_PREFIX=[REDACTED]/gi' \
26+
-e 's/^ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY=.*/ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY=[REDACTED]/gi' \
27+
-e 's/^ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT=.*/ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT=[REDACTED]/gi' \
28+
-e 's/^ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY=.*/ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY=[REDACTED]/gi' \
2629
"$1"
2730
fi

0 commit comments

Comments
 (0)