Skip to content

CWE-327 BrokenCryptoAlgorithm recommendation to AES instead of Blowfish#4256

Merged
tausbn merged 3 commits into
github:mainfrom
fatenhealy:Noblowfish
Sep 30, 2020
Merged

CWE-327 BrokenCryptoAlgorithm recommendation to AES instead of Blowfish#4256
tausbn merged 3 commits into
github:mainfrom
fatenhealy:Noblowfish

Conversation

@fatenhealy
Copy link
Copy Markdown
Contributor

Changing the BrokenCryptoAlgorithm second example recommendation to AES instead of Blowfish for Python same as:
JS, Java and C++

felicitymay
felicitymay previously approved these changes Sep 14, 2020
Copy link
Copy Markdown
Contributor

@felicitymay felicitymay left a comment

Choose a reason for hiding this comment

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

The change LGTM - this is a good example where it might be good to move the content of the qhelp file into a resuable fragment so that the set of queries stay in step.

Copy link
Copy Markdown
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.

One minor change needed, otherwise this looks good to me. 👍



cipher = Blowfish.new(SECRET_KEY)
cipher = AES.new(SECRET_KEY)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

For consistency, you should change Blowfish to AES in the import statement in the first line of this file.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks @tausbn 👍🏼 😃

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'm slightly confused. Line one appears unchanged to me? 😕

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

oops, sorry

@fatenhealy fatenhealy requested a review from tausbn September 30, 2020 00:32
Copy link
Copy Markdown
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.

Looks good! Thanks!

@tausbn tausbn merged commit 32bf7d6 into github:main Sep 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants