RSA encrypted Diffie-Hellman handshake

Posted by cmaduro on Stack Overflow See other posts from Stack Overflow or by cmaduro
Published on 2010-04-24T23:11:43Z Indexed on 2010/04/24 23:13 UTC
Read the original article Hit count: 412

Filed under:
|
|

Would a RSA encrypted Diffie-Hellman handshake enable secure communication? I'm encrypting communication from a silverlight client to a php webservice. The silverlight client initiates they key agreement by sending the RSA public key encrypted DH parameters to the webservice. Only the webservice has the private key, so a MITM attack is not possible. The webservice sends plain text answer back to the client, and a key is agreed upon. This key is then used to encrypt communication between the webservice and silverlight client with AES, which is also encrypted with the RSA public key.

Does anyone see a flaw?

© Stack Overflow or respective owner

Related posts about rsa

Related posts about diffiehellman