Get a prompt and clear overview of your security configuration. Right now!
1024
The Diffie-Hellman ephemeral public key parameter[409][410][411] with prime size less or equal than 1024-bit[424] is weakened against logjam attack[7][8][9][10], but can only be exploited by a national states.
Use a well-known Diffie-Hellman ephemeral public key parameter[426][427][428], or generate a custom Diffie-Hellman ephemeral public key parameter[409][410][411] with a size greater or equal than 2048 bits but less or equal than 4096 bits. In the case of custom parameters, validate that the prime is a safe prime[176] to avoid a small subgroup confinement attack[72][73].
False
The Diffie-Hellman[99][100][101][102][103] key exchange provides no protection against a cryptanalytic attack by a quantum computer, and no classical Diffie-Hellman does — just as no classical elliptic curve does — because a quantum computer breaks the hardness assumption they rely on. Only a hybrid key exchange (a classical algorithm combined with a post-quantum cryptography[158][159] one) or a pure post-quantum algorithm is quantum-safe.
Enable a hybrid key exchange or a pure post-quantum algorithm on your server, and prefer it where the configuration allows, so the connection stays secure against a future quantum computer.
-----BEGIN DH PARAMETERS----- MIGLAoGBAM34dKi6BP27gG9DOCuTB6Ue8uLY2t4K8le0w1yIa7a58vAnDq1CR3sl MIcwK4Rz2pv7MyrIg9Haf5l4kUMx4wr0ORxCBesFLqFPVBjbL+wB8mfJmYC9zq81 02rLUgfDwHVI0dW9kwZPTiQJ0QXPI3OiYIyCR8vvebVI/Kjb5IcvAgECAgIA4Q== -----END DH PARAMETERS-----
powermod(x, k, m) = lift(Mod(x, m) ^ k); g = 0x2; p = 0xcdf874a8ba04fdbb806f43382b9307a51ef2e2d8dade0af257b4c35c886bb6b9f2f0270ead42477b253087302b8473da9bfb332ac883d1da7f9978914331e30af4391c4205eb052ea14f5418db2fec01f267c99980bdceaf35d36acb5207c3c07548d1d5bd93064f4e2409d105cf2373a2608c8247cbef79b548fca8dbe4872f; s = 256; a = 2 ^ (s - 1) + random(2 ^ (s - 1)); A = powermod(g, a, p); b = 2 ^ (s - 1) + random(2 ^ (s - 1)); B = powermod(g, b, p); S = powermod(B, a, p);
$\begin{eqnarray}
p \equiv 0xcdf874a8ba04fdbb806f43382b9307a51ef2e2d8dade0af257b4c35c886bb6b9f2f0270ead42477b253087302b8473da9bfb332ac883d1da7f9978914331e30af4391c4205eb052ea14f5418db2fec01f267c99980bdceaf35d36acb5207c3c07548d1d5bd93064f4e2409d105cf2373a2608c8247cbef79b548fca8dbe4872f \\
g \equiv 0x2 \\
\\
a \in \mathbb{Z}_q \\
b \in \mathbb{Z}_q \\
\\
A \equiv g^a \pmod{p} \\
B \equiv g^b \pmod{p} \\
\\
S \equiv {(g^{a})}^{b}={(g^{b})}^{a}=g^{ab} \pmod{p}
\end{eqnarray}$