Skip to content
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

Assert that users have no passwords in anonymize command #2179

Merged
merged 1 commit into from
May 17, 2024

Conversation

richardebeling
Copy link
Member

No description provided.

Copy link
Member

@niklasmohrin niklasmohrin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay with me, but can you elaborate on the motivation for this change? Is it just to avoid leaking a password hash accidentally, or to avoid having a user identifiable by them having a password?

@richardebeling
Copy link
Member Author

Okay with me, but can you elaborate on the motivation for this change? Is it just to avoid leaking a password hash accidentally, or to avoid having a user identifiable by them having a password?

Anonymized data (possibly intended for publishing) should not contain any real password hashes. If we expected users to have passwords stored in our database, we would have to replace them. Since we don't expect users to have any password set, it felt more natural to me to just assert that this expectation holds (and we thus don't leak any critical data).

@richardebeling richardebeling merged commit f7cc341 into e-valuation:main May 17, 2024
12 checks passed
@richardebeling richardebeling deleted the anonymize-passwords branch May 17, 2024 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants