Skip to content

Commit 65af255

Browse files
grakshithatorralba
andcommitted
fix: remove rsa/ecb/* from getASecureAlgorithmName
Co-authored-by: Tony Torralba <[email protected]>
1 parent 97f9a88 commit 65af255

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

java/ql/lib/semmle/code/java/security/Encryption.qll

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,8 +250,7 @@ string getASecureAlgorithmName() {
250250
result =
251251
[
252252
"RSA", "SHA-?256", "SHA-?512", "CCM", "GCM", "AES(?![^a-zA-Z](ECB|CBC/PKCS[57]Padding))",
253-
"Blowfish", "ECIES", "RSA/ECB/OAEPWithSHA-1AndMGF1Padding",
254-
"RSA/ECB/OAEPWithSHA-256AndMGF1Padding"
253+
"Blowfish", "ECIES"
255254
]
256255
}
257256

0 commit comments

Comments
 (0)