Skip to content

Commit

Permalink
Update wording of alert (accepting review suggestion)
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Smowton <[email protected]>
  • Loading branch information
owen-mc and smowton authored Dec 4, 2024
1 parent 95116ee commit 5351f5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/ql/lib/semmle/code/java/security/Encryption.qll
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ predicate insecureAlgorithm(string name, string reason) {
or
name = "ECB" and
reason =
"Encryption mode ECB like AES/ECB/NoPadding is vulnerable to replay and other attacks. Consider using a different encryption mode, like CBC or GCM, instead."
"Encryption mode ECB, as in AES/ECB/NoPadding for example, is vulnerable to replay and other attacks. Consider using a different encryption mode, like CBC or GCM, instead."
or
name = "AES/CBC/PKCS[57]Padding" and
reason =
Expand Down

0 comments on commit 5351f5b

Please sign in to comment.