Page MenuHomePhabricator

[EL sanitization] Store the old salt for 2 extra weeks
Closed, ResolvedPublic8 Estimated Story Points

Description

To allow for salt+hash backfilling during the 90 day period, we need to store the old salt in addition to the current salt.
However, as storing the old salt for a long time defeats the purpose of salting, we'll keep it for 2 weeks which allows some slack time for troubleshooting and backfilling.

Event Timeline

Milimetric triaged this task as Medium priority.Jul 19 2018, 3:35 PM
Milimetric moved this task from Incoming to Operational Excellence on the Analytics board.
mforns added a project: Analytics-Kanban.
mforns set the point value for this task to 8.
mforns moved this task from Next Up to In Progress on the Analytics-Kanban board.

Change 454631 had a related patch set uploaded (by Mforns; owner: Mforns):
[analytics/refinery@master] Allow backup of last rotated salt for a given period in saltrotate

https://gerrit.wikimedia.org/r/454631

Nuria raised the priority of this task from Medium to High.Sep 26 2018, 7:20 PM

Change 454631 merged by Nuria:
[analytics/refinery@master] Allow backup of last rotated salt for a given period in saltrotate

https://gerrit.wikimedia.org/r/454631

Change 464009 had a related patch set uploaded (by Mforns; owner: Mforns):
[operations/puppet@production] Add backup parameter to saltrotate cron job

https://gerrit.wikimedia.org/r/464009

Change 464009 merged by Elukey:
[operations/puppet@production] Add backup parameter to saltrotate cron job

https://gerrit.wikimedia.org/r/464009

@mpopov
This task is done! From now on, the cryptographic salts used to hash EventLogging sensitive ids are going to be kept for an extra 14 days after salt rotation, to prevent data loss in case of incidents right after the salt rotation, as you guys suggested.
Cheers