rspec/rules/S2087/comments-and-links.adoc

17 lines
559 B
Plaintext
Raw Normal View History

=== relates to: S4787
=== on 2 Oct 2014, 15:37:17 Ann Campbell wrote:
\[~nicolas.peru] I've mapped this to find-sec-bugs:RSA_KEY_SIZE but the CWE page talks mainly about Base64 encoding. Is a key size check doable?
=== on 8 Oct 2014, 08:34:54 Nicolas Peru wrote:
RSA_KEY_SIZE checks the ``++KeyPairGenerator++`` class and the calls to ``++getInstance++`` and ``++initialize++`` methods.
Those are a little bit different as Base64 is not an encryption mechanism whereas the other is correct but weak.
We can still squash them into one rule though.