housedevinci Start a project
sheet 04 · work · gdpr shredding · part B
part B · keyed wheel

GDPR Shredding

privacydata erasureaudit trail

Pseudonymisation with key destruction (each person's data encrypted under a key that is destroyed on request), for Spring Boot and JPA.

Who it is for. Teams with a customer table GDPR reaches, and another law that requires the same rows to stay.

The problem

GDPR says delete when a person asks. Audit, accounting and anti-money-laundering rules say keep. Teams were choosing one law over the other.

gdpr-shredding · erasure session, clean clonereplay
com.housedevinci:gdpr-shredding-spring-boot-starter:0.2.1

Repository · Maven Central

What we built

  • Each person's fields encrypted under that person's own key, on every JPA read path.
  • An erasure request destroys the key; the row, the foreign keys and the audit trail survive.
  • Blind indexes for lookups (a searchable fingerprint that reveals nothing), blank after erasure.
  • Plaintext leak paths fail at startup, not silently.
  • A hash-chained, keyed erasure log.

This is pseudonymisation, not anonymisation and not deletion: WP216 section 4 lists encryption with a secret key among the pseudonymisation techniques, and says pseudonymisation is a security measure rather than a method of anonymisation. It is a technical measure of the kind GDPR Article 32(1)(a) names, and it lets an Article 17(1) erasure request be answered without dropping rows Article 17(3)(b) lets you keep because another law requires them. Whether it satisfies a given request is your DPO's judgment on the facts; a library cannot certify that, and this one does not try to.

pricing
free core€0fair source

Per-person keys on every JPA read path, key destruction, blind indexes, erasure log.

available now
pro, per application€490per year

Per company, per year: €2,490.

from the first release
support and integration€1,200per year

Integration day: €900.

available now

Pro is in development. It will add key providers (Vault, AWS KMS, Azure Key Vault, GCP KMS), per-tenant master keys, an erasure workflow with an erasure record for the DPO, an admin console and a resumable batch migrator.

The repository carries the full residual-risk list; read it before you rely on this.

Read the technical details