Securing User Emails in Rails with Lockbox

1 · Andrew Kane · July 10, 2019, 2:17 p.m.
This is an update to Securing User Emails in Rails with a number of improvements: Works with Devise’s email changed notifications Stores encrypted data in a single field You only need to manage a single key Email addresses are a common form of personal data, and they’re often stored unencrypted. If an attacker gains access to the database or backups, emails will be compromised. This post will walk you through a practical approach to protecting emails. It works with Devise, the most popular ...