fix: clean up secret key generation log message

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Mitchell R 2026-05-27 02:56:27 +02:00
parent b739533ce1
commit 9db8d1d65b

View file

@ -130,9 +130,9 @@ function loadServerKey(config: SecretsConfig, log: SecretsLog): Buffer {
}
}
// 3. Generate new dev key
log.warn(
`GENERATING DEV SERVER KEY at ${keyPath} — production should use systemd-creds`,
// 3. No key found — generate one and persist.
log.info(
`encryption key not found, generating new key at ${keyPath}`,
);
try {
mkdirSync(dirname(keyPath), { recursive: true });