GDPR: per-field encryption via struct tags + transparent store wrapper #35
Labels
No labels
bug
documentation
enhancement
investigation
nice-to-have
performance
production-ready
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ash/eskit#35
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Design
Use struct tags to mark PII fields. Reflection-based, zero interfaces to implement.
Tag format:
pii:"<subject>"where subject is either:Store Wrapper
How it works
piitags, encrypt those fields, store encrypted version alongside original event structurepiitags, decrypt fields from encrypted sidecar, populate struct[FORGOTTEN], non-PII intactImplementation
piitags (cache the scan per type)Multi-subject
Different tags = different subjects = independent forget. Forget sender, receiver name still readable.
Tests
Drop