tsk-5sy4jhnqf1qg Open
registration_block keeps the normalized address in clear as its primary key (hub/src/maity_hub/registration_accounts.py). For the time a block runs, the hub needs to recognise the address, not to know it.
Proposal: store HMAC-SHA256 of the normalized address under an instance key (secretbox's key material or a dedicated key), as hex, as the key; block() and the check compare the hash. A migration hashes the existing rows. Key rotation and what happens to running blocks then must be said.
Needs a migration slot (ask lotse). After the sweep card for expired blocks has merged. Keep the Why entry; docs/privacy text; security leg on the PR.