Skip to content

Commit 3c4c8cf

Browse files
committed
Python: Add qhelp for new query.
1 parent 1065ad0 commit 3c4c8cf

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
<!DOCTYPE qhelp PUBLIC
2+
"-//Semmle//qhelp//EN"
3+
"qhelp.dtd">
4+
<qhelp>
5+
6+
<overview>
7+
<p>
8+
Modern encryption relies on it being computationally infeasible to break the cipher and decode a message without the key.
9+
As computational power increases, the ability to break ciphers grows and keys need to become larger.
10+
</p>
11+
<p>
12+
There are three main asymmetric key algorithms in use:
13+
<ul>
14+
<li>Rivest–Shamir–Adleman (RSA) cryptography</li>
15+
<li>Digital Signature Algorithm (DSA)</li>
16+
<li>Elliptic-curve cryptography (ECC)</li>
17+
</ul>
18+
With current technology, key sizes of 2048 bits for RSA and DSA,
19+
or 224 bits for ECC, are regarded as unbreakable.
20+
</p>
21+
</overview>
22+
23+
<recommendation>
24+
<p>
25+
Increase the key size to the recommended amount or larger. For RSA or DSA this is at least 2048 bits, for ECC this is at least 224 bits.
26+
</p>
27+
</recommendation>
28+
29+
<references>
30+
<li>
31+
Wikipedia:
32+
<a href="https://en.wikipedia.org/wiki/Digital_Signature_Algorithm">Digital Signature Algorithm</a>.
33+
</li>
34+
<li>
35+
Wikipedia:
36+
<a href="https://en.wikipedia.org/wiki/RSA_(cryptosystem)">RSA cryptosystem</a>.
37+
</li>
38+
<li>
39+
Wikipedia:
40+
<a href="https://en.wikipedia.org/wiki/Elliptic-curve_cryptography">Elliptic-curve cryptography</a>.
41+
</li>
42+
<li>
43+
Python cryptography module:
44+
<a href="https://cryptography.io/en/latest/"</a>.
45+
</li>
46+
<li>
47+
NIST:
48+
<a href="https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-131Ar1.pdf">
49+
Recommendation for Transitioning the Use of Cryptographic Algorithms and Key Lengths</a>.
50+
</li>
51+
</references>
52+
</qhelp>
53+

0 commit comments

Comments
 (0)