# /etc/mcias/env — Environment file for mciassrv (systemd EnvironmentFile). # # This file is loaded by the mcias.service unit before the server starts. # It must be readable only by root and the mcias service account: # # chmod 0640 /etc/mcias/env # chown root:mcias /etc/mcias/env # # SECURITY: This file contains the master key passphrase. Treat it with # the same care as a private key. Do not commit it to version control. # Back it up to a secure offline location — losing this passphrase means # losing access to all encrypted data in the database. # Master key passphrase. Used to derive the AES-256 master key via Argon2id. # Choose a long, random passphrase (e.g., generated by `openssl rand -base64 32`). # This must match the passphrase_env setting in mcias.conf. MCIAS_MASTER_PASSPHRASE=change-me-to-a-long-random-passphrase