Skip to content

Conversation

@jeroenh
Copy link
Contributor

@jeroenh jeroenh commented Dec 12, 2025

I've updated the last part of DH to be more aligned with current practice.
Static/fixed DH is actively discouraged in practice, so might as well not discuss it.

Simpler solution to fix MitM for DH is to just add signatures.

Corrected the explanation of "ephemeral" and (P)FS, since this does not rely on fixed DH parameters.

Briefly mentioned Elliptic Curve in the context of DH, since ECDHE is the most widely used variant in practice.

I've updated the last part of DH to be more aligned with current practice.
Static/fixed DH is actively discouraged in practice, so might as well not discuss it.

Simpler solution to fix MitM for DH is to just add signatures.

Corrected the explanation of "ephemeral" and (P)FS, since this does not rely on fixed DH parameters.

Briefly mentioned Elliptic Curve in the context of DH, since ECDHE is the most widely used variant in practice.
@jeroenh
Copy link
Contributor Author

jeroenh commented Dec 12, 2025

One other improvement that I considered is to add the "paint" diagram as shown in https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange

That may help readers see more easily that the secret values are not transmitted.

@drbruced12
Copy link
Contributor

We appreciate the input and while we agree that there is room to improve the text, leaving out the details of fixed DH leaves the reader with less understanding of why ephemeral DH is needed (and why it is called "ephemeral"). We're going to close this PR but take your input to say more about current practice.

@drbruced12 drbruced12 closed this Dec 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants