tatey / trace_privately

A robust and fully featured key server for the TracePrivately iOS app
https://trace-privately-demo.herokuapp.com
MIT License
1 stars 0 forks source link

Thoughts on purging submissions/keys submitted after N days #2

Closed tatey closed 4 years ago

tatey commented 4 years ago

Working on the assumption that when someone submits their keys they are only submitting keys up to 72 hours before symptoms appeared. The keys are only useful for the infectious period so to reduce the surface area of storing this data should we have a cron job to purge submissions after 30 days? 30 days is also aligned with GDPR.

See https://github.com/CrunchyBagel/TracePrivately/issues/15

tatey commented 4 years ago

Since 54c61e43bf40538b73f1ed872a73b37cba2110fe the maximum date you can retrieve infected keys is from 30 days ago.

tatey commented 4 years ago

Fixed by 4ec864e2f563859aa4b480208586632fc5f6eb2f. This is now running on the demo server every day at midnight UTC.