3 ms·
I think most people are glossing over the first part of the title. Why is the DH p parameter hardcoded? Why not just generate one on each startup?
by cyphar 11y ago
I think most people are glossing over the first part of the title. Why is the DH p parameter hardcoded? Why not just generate one on each startup?
- Ded7xSEoPKYNsDd 11y agoGenerating those parameters is very slow. Just run `time openssl dhparam -text -noout 1024` a few times and see for yourself.
- cyphar 11y agoThen do it on first run and store it in ~/.socat_prime and do a primality check each time it's loaded.