Problem
Custodial wallets are encrypted with WALLET_ENCRYPTION_KEY. There is no implemented rotation tool/runbook, which is required for incident response and routine security hygiene.
Acceptance criteria
Key rotation / backup: rotate WALLET_ENCRYPTION_KEY by re-encrypting all rows
Priority
P1 / High
Problem
Custodial wallets are encrypted with
WALLET_ENCRYPTION_KEY. There is no implemented rotation tool/runbook, which is required for incident response and routine security hygiene.Acceptance criteria
custodial_walletsrows with a new key (old->new)Key rotation / backup: rotate WALLET_ENCRYPTION_KEY by re-encrypting all rows
Priority
P1 / High