[wp-trac] [WordPress Trac] #44078: Add an email pseudonymization function that preserves first letter and TLD
WordPress Trac
noreply at wordpress.org
Mon May 14 18:17:35 UTC 2018
#44078: Add an email pseudonymization function that preserves first letter and TLD
------------------------------+------------------------------
Reporter: allendav | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: gdpr needs-patch | Focuses:
------------------------------+------------------------------
Description changed by allendav:
Old description:
> In addition to the existing behavior of wp_privacy_anonymize_data(
> 'email', $email_address) which returns deleted at site.invalid, it would be
> useful, e.g. for debug logging to have another type that would return
> pseudonymized email addresses that retain a little bit of the original
> address, e.g.
>
> my-mailbox at mailprovider.com.ca could be come
> m*********@****************.ca
>
> Where the number of * corresponds to the letters removed, and only the
> first letter of the email address and the TLD are retained.
>
> See also https://iapp.org/news/a/top-10-operational-impacts-of-the-gdpr-
> part-8-pseudonymization/
New description:
In addition to the existing behavior of wp_privacy_anonymize_data(
'email', $email_address) which returns deleted at site.invalid, it would be
useful, e.g. for debug logging to have another type that would return
pseudonymized email addresses that retain a little bit of the original
address, e.g.
{{{#!php
my-mailbox at mailprovider.com.ca
}}}
could become something like
{{{#!php
m*********@****************.ca
}}}
Where the number of * corresponds to the letters removed, and only the
first letter of the email address and the TLD are retained.
See also https://iapp.org/news/a/top-10-operational-impacts-of-the-gdpr-
part-8-pseudonymization/
--
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44078#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list