-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
drop pseudonym scope, legacy format/hash support #835
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as the one in GCP; probably worth to move it to a template
folder at the module level and invoke it from there?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we dropped? as scope is no longer used as part of pseudonymization
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i left the class to be able to give better error feedback. if someone does try to use it. imho, better to explain that unsupported thing being used, than having some sort of deserialization error which would be harder to identify
* drop scope concept from most places; support for legacy pseudonyms * remove LEGACY pseudonym implementation * fix pseudonym json format everywhere * fix legacy hash test cases * fix format; - in place of . * fix cmd-line case * update changelog * fix test commands for aws-psoxy-rest case * remove identifier_scope_id from terraform modules * use templates for gcp case; remove moves * fix msft bug * add explanatory comment on FieldTransform re leaving PseduonynmizeWithScope in codebase * cleanup changelog
A couple things to note:
scope == null
in the email case; so legacy hashes of emails and v0.4 hashes of emails are byte-wise equivalent, although there is a minor encoding difference. legacy pseudonyms invented a url-safe encoding (replacing+
and/
with_
and.
), instead of using the standard RFC one (_
and-
).Features
h_4
)Change implications