Skip to content

Commit 6eca036

Browse files
committed
Ruby: Add qldoc for Cryptography module (from python version)
1 parent fc232ce commit 6eca036

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

ruby/ql/lib/codeql/ruby/Concepts.qll

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -763,6 +763,14 @@ module Logging {
763763
}
764764
}
765765

766+
/**
767+
* Provides models for cryptographic things.
768+
*
769+
* Note: The `CryptographicAlgorithm` class currently doesn't take weak keys into
770+
* consideration for the `isWeak` member predicate. So RSA is always considered
771+
* secure, although using a low number of bits will actually make it insecure. We plan
772+
* to improve our libraries in the future to more precisely capture this aspect.
773+
*/
766774
module Cryptography {
767775
import security.CryptoAlgorithms
768776

0 commit comments

Comments
 (0)