umbrel-apps/plausible/exports.sh
Leo 06c17ac7c5
App Submission - Plausible Community Edition (#1371)
Co-authored-by: nmfretz <nmfretz@gmail.com>
2024-09-18 14:38:35 +10:00

2 lines
254 B
Bash

# 32 byte long string used for encrypting TOTP secrets at rest using AES256-GCM. Must not change on app restart.
export APP_PLAUSIBLE_VAULT_KEY=$(openssl dgst -sha256 -binary <<< "$(derive_entropy "env-${app_entropy_identifier}-APP_VAULT_KEY")" | base64)