Reconcile the accepted safe federation helper with E2EE integration hardening and complete PIN-based encrypted DMs
Hop-State: A_06FPC0CGS3F7SJG3BGW0YF0 Hop-Proposal: R_06FPC0BK6YEV7XASNM7C908 Hop-Task: T_06FPAWA3279RBMJAR0BHM10 Hop-Attempt: AT_06FPBZWSBFTB9B5YH9JY9QR
This commit is contained in:
@@ -38,12 +38,14 @@ chown -R synapsis:synapsis "$APP_DIR"
|
||||
|
||||
if [[ ! -e "$ENV_FILE" ]]; then
|
||||
auth_secret="$(openssl rand -base64 48 | tr -d '\n')"
|
||||
e2ee_recovery_secret="$(openssl rand -base64 48 | tr -d '\n')"
|
||||
port="43821"
|
||||
install -m 0600 -o root -g synapsis /dev/null "$ENV_FILE"
|
||||
{
|
||||
echo "DATABASE_PATH=$DATA_DIR/synapsis.db"
|
||||
echo "PORT=$port"
|
||||
echo "AUTH_SECRET=$auth_secret"
|
||||
echo "E2EE_RECOVERY_SECRET=$e2ee_recovery_secret"
|
||||
echo "ADMIN_EMAILS=admin@example.com"
|
||||
echo "NEXT_PUBLIC_NODE_DOMAIN=localhost:$port"
|
||||
echo "STUFFBOX_URL=https://stuffbox.xyz"
|
||||
|
||||
Reference in New Issue
Block a user