← back to AbramsOS

scripts/gen-encryption-key.sh

5 lines

#!/usr/bin/env bash
# Generate a fresh 32-byte encryption key for ENCRYPTION_KEY.
# Route via /secrets — do NOT paste into committed files.
openssl rand -hex 32