Skip to content

Commit e81a5b7

Browse files
committed
Properly share CryptoAlgorithms and CryptoAlgorithmNames`
1 parent eaa0404 commit e81a5b7

File tree

13 files changed

+212
-11
lines changed

13 files changed

+212
-11
lines changed

javascript/ql/lib/semmle/javascript/frameworks/CryptoLibraries.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
import javascript
66
import semmle.javascript.Concepts::Cryptography
7-
private import semmle.javascript.security.internal.CryptoAlgorithmNames
7+
private import codeql.concepts.internal.CryptoAlgorithmNames
88

99
/**
1010
* A key used in a cryptographic algorithm.

javascript/ql/lib/semmle/javascript/internal/ConceptsImports.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
*/
55

66
import semmle.javascript.dataflow.DataFlow::DataFlow as DataFlow
7-
import semmle.javascript.security.CryptoAlgorithms as CryptoAlgorithms
7+
import codeql.concepts.CryptoAlgorithms as CryptoAlgorithms

javascript/ql/lib/semmle/javascript/security/CryptoAlgorithms.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* The classification into strong and weak are based on Wikipedia, OWASP and Google (2021).
55
*/
66

7-
private import internal.CryptoAlgorithmNames
7+
private import codeql.concepts.internal.CryptoAlgorithmNames
88

99
/**
1010
* A cryptographic algorithm.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
/** DEPRECATED: Use `semmle.python.concepts.CryptoAlgorithms` instead. */
22

3-
import semmle.python.concepts.CryptoAlgorithms
3+
import codeql.concepts.CryptoAlgorithms

python/ql/lib/semmle/python/concepts/CryptoAlgorithms.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* The classification into strong and weak are based on Wikipedia, OWASP and Google (2021).
55
*/
66

7-
private import internal.CryptoAlgorithmNames
7+
private import codeql.concepts.internal.CryptoAlgorithmNames
88

99
/**
1010
* A cryptographic algorithm.

python/ql/lib/semmle/python/internal/ConceptsImports.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
*/
55

66
import semmle.python.dataflow.new.DataFlow
7-
import semmle.python.concepts.CryptoAlgorithms as CryptoAlgorithms
7+
import codeql.concepts.CryptoAlgorithms as CryptoAlgorithms

ruby/ql/lib/codeql/ruby/internal/ConceptsImports.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
*/
55

66
import codeql.ruby.DataFlow
7-
import codeql.ruby.security.CryptoAlgorithms as CryptoAlgorithms
7+
import codeql.concepts.CryptoAlgorithms as CryptoAlgorithms

ruby/ql/lib/codeql/ruby/security/CryptoAlgorithms.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* The classification into strong and weak are based on Wikipedia, OWASP and Google (2021).
55
*/
66

7-
private import internal.CryptoAlgorithmNames
7+
private import codeql.concepts.internal.CryptoAlgorithmNames
88

99
/**
1010
* A cryptographic algorithm.

ruby/ql/lib/codeql/ruby/security/OpenSSL.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* an underlying OpenSSL or LibreSSL C library.
44
*/
55

6-
private import internal.CryptoAlgorithmNames
6+
private import codeql.concepts.internal.CryptoAlgorithmNames
77
private import codeql.ruby.Concepts
88
private import codeql.ruby.DataFlow
99
private import codeql.ruby.ApiGraphs

ruby/ql/test/library-tests/security/CryptoAlgorithms.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import codeql.ruby.AST
2-
import codeql.ruby.security.CryptoAlgorithms
2+
import codeql.concepts.CryptoAlgorithms
33

44
query predicate weakHashingAlgorithms(HashingAlgorithm ha) { ha.isWeak() }
55

0 commit comments

Comments
 (0)