lifen-labs / covid

Covid-19 patients' self-monitoring at home via forms sent by SMS
https://www.youtube.com/watch?v=wwDJNR6SKmI
GNU Affero General Public License v3.0
66 stars 19 forks source link

Implement attr_encrypted on sensitive data #23

Open fakenine opened 4 years ago

fakenine commented 4 years ago

Hello,

I was wondering, as medical data is sensitive data, would it be possible to implement attribute encryption to anonymize the fields that could be used to identify a person in case of a leak/security vulnerability or malicious access? Like the name, date of birth, address, email and phone of a patient.

This articles explains how such a thing could be implemented without having to install a gem: https://pawelurbanek.com/rails-secure-encrypt-decrypt