Skip to content

Python: Revert changes to sensitive data query alert messages #10314

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

Merged
merged 1 commit into from
Sep 8, 2022

Conversation

RasmusWL
Copy link
Member

@RasmusWL RasmusWL commented Sep 6, 2022

This partly reverts the changes from #10252

Although consistency is nice, the new messages didn't sound as natural.

New alert message would read

Insecure hashing algorithm (md5) depends on sensitive data (password). (...)

I'm not sure what it means that a hashing algorithm depends on data. So
for me, the original text below is much easier to understand.

Sensitive data (password) is used in a hashing algorithm (md5) that is insecure (...)

Same goes for the other sensitive data queries.

This partly reverts the changes from github#10252

Although consistency is nice, the new messages didn't sound as natural.

New alert message would read

> Insecure hashing algorithm (md5) depends on sensitive data (password). (...)

I'm not sure what it means that a hashing algorithm depends on data. So
for me, the original text below is much easier to understand.

> Sensitive data (password) is used in a hashing algorithm (md5) that is insecure (...)

Same goes for the other sensitive data queries.
@RasmusWL RasmusWL requested a review from a team as a code owner September 6, 2022 10:04
@github-actions github-actions bot added the Python label Sep 6, 2022
@RasmusWL RasmusWL requested a review from erik-krogh September 6, 2022 10:05
@RasmusWL RasmusWL added the no-change-note-required This PR does not need a change note label Sep 6, 2022
Copy link
Contributor

@erik-krogh erik-krogh left a comment

Choose a reason for hiding this comment

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

👍

erik-krogh added a commit to erik-krogh/ql that referenced this pull request Sep 6, 2022
Copy link
Contributor

@tausbn tausbn left a comment

Choose a reason for hiding this comment

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

Nice! These all sound better to me! 👍

@tausbn tausbn merged commit 8b8e74c into github:main Sep 8, 2022
@RasmusWL RasmusWL deleted the revert-alert-msgs-change branch September 8, 2022 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-change-note-required This PR does not need a change note Python
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants