We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f63f0d commit 97f9a88Copy full SHA for 97f9a88
java/ql/lib/semmle/code/java/security/BrokenCryptoAlgorithmQuery.qll
@@ -15,7 +15,8 @@ private class ShortStringLiteral extends StringLiteral {
15
class BrokenAlgoLiteral extends ShortStringLiteral {
16
BrokenAlgoLiteral() {
17
this.getValue().regexpMatch(getInsecureAlgorithmRegex()) and
18
- not this.getValue().regexpMatch(getASecureAlgorithmName()) and
+ // Exclude RSA/ECB/.* ciphers.
19
+ not this.getValue().regexpMatch("RSA/ECB.*") and
20
// Exclude German and French sentences.
21
not this.getValue().regexpMatch(".*\\p{IsLowercase} des \\p{IsLetter}.*")
22
}
0 commit comments