Shared on Mage Dispatch · 22 Sep 2026
Encryption Key Rotation Tool
Standalone PHP script to perform complete encryption key rotation: inventories encrypted values across all tables (including JSON/serialized and nested), re-encrypts them to the latest key, verifies, and safely retires old keys. Includes scan/explain/re-encrypt/verify/retire-keys and code-scan commands with dry-run, dump, and rollback support plus a step-by-step runbook.