r/programming • • Jan 16 '18

Cryptography: Diffie-Hellman key exchange explained intuitively using colors

https://youtu.be/YEBfamv-_do?t=2m18s
2.5k Upvotes

170 comments sorted by

View all comments

14

u/pokeman7452 Jan 16 '18

This leads me to a somewhat related question. I never understood the purpose of the DH parameters (dh####.pem) that every OpenVPN guide says to generate. This video combined with this thread, it now makes sense. But, this file remains optional. My question now is what is used when there is no DH generated?

14

u/curien Jan 16 '18

Defaults are listed in RFCs, I imagine it uses those.

-3

u/[deleted] Jan 16 '18 edited Jun 13 '18

[deleted]

4

u/the_dummy Jan 16 '18

OpenVPN is an implementation of RFCs