PhoenixKit 2.22.6: No more encryption key warning on every restart
PhoenixKit 2.22.6 quiets a warning that appeared on every restart.
Sites that still encrypt integration credentials with the key derived from secret_key_base, which includes every site set up before dedicated keys existed, logged a warning each time the app started. There was no way to silence it other than setting a dedicated key. The warning at boot is now off by default. mix phoenix_kit.doctor and the admin system page still report the same thing whenever you look.
Upgrading
To keep the warning at boot, set config :phoenix_kit, integration_encryption_warn_on_boot: true.
Full release notes: PhoenixKit 2.22.6
2.22.6 · 8 September 2026
Changed
- Integrations encryption’s legacy-key warning no longer logs on every
boot by default. Any install still on the
secret_key_base-derived fallback (every install before the dedicated-key feature existed) got aLogger.warningon every single restart with no way to quiet it short of configuring a dedicated key.PhoenixKit.boot/1now only emits it whenconfig :phoenix_kit, integration_encryption_warn_on_boot: trueis set (defaultfalse).mix phoenix_kit.doctorand the admin-only system page still surface the same diagnosis on demand, unconditionally — only the unsolicited boot-time push is now opt-in.
PhoenixKit 2.22.6. Install or update: {:phoenix_kit, "~> 2.22"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.