Urgent.News

What's breaking now, across thousands of outlets.

Tech

Encrypting personal data at rest in Symfony: a 60-line Doctrine type, and the four things it breaks

A review form asked me a yes/no question I could not answer with yes: do you encrypt personal data at rest and in transit? In transit, sure, TLS everywhere, that part is free in 2026. At rest, no. The app runs on a plain VPS with no full-disk encryption, and the database held customer names, addresses and email addresses in a json column, in clear, exactly as PostgreSQL received them. There are…

Abstract editorial illustration

A Symfony application encrypting personal data at rest faces four issues when column-level encryption is implemented. Although the encryption process itself is simple, requiring just 60 lines of Doctrine type code, the implications extend beyond the encrypted column. The four problems arise due to the encrypted JSON column becoming an opaque blob, disrupting functionality that was previously taken for granted.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

More from Wednesday 5 August →