Hi,

I have a query related to decrypting the packets when Diffie-Hellman is used for key exchange.

Summary of DH working (as everyone knows):
---------------------
Host-A, Host-B will share Generator G, and Prime root P.
Also the random secret values are generated independently - Xa, Xb.

Now ,
Ya = G^Xa % P.
Yb = G^Xb % P.
And they will exchange Ya, Yb.

So,
Key at Host-A = Yb^Xa % P.
Key at Host-B = Ya^Xb % P.

Query:
------
I know wireshark cannot decode these packets, as it will not know the random secret generated locally - Xa and Xb. But is there any chance for us to know these values (or atleast one of these values Xa or Xb)? If I host the apache server (for https) on my machine, is there a specific location where these values are stored or logged (at least till
the time it completes the key calculation)?

Appreciate any advice.

--
Thanks,
Nilesh


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to