Hi,

At Mon, 12 May 2014 10:44:45 +0200,
Cyril Soler wrote:
> 
> The methods that perform the encryption/decryption are:
> 
> void p3ChatService::receiveTurtleData()
> void p3ChatService::sendTurtleData()
> 
> ... in libretroshare/src/services/p3chatservice.cc
> 
> The key is generated just below, in
> 
> bool p3ChatService::createDistantChatInvite()
> 
> As you can see, it is signed and then encrypted. Only the destination knows 
> who issued the invite.
> When using a tunnel to talk, intermediate peers have no information about who 
> is the source and destination of the tunnel (by design).
> 
> There's a few  places for improving that code. In particular the fixed buffer 
> sizes that might cause problems, and the lack of padding
> before AES encryption.
> 
> Distant chat invites are decrypted in
> 
>  bool p3ChatService::initiateDistantChatConnexion()

Great!  This is exactly what I was looking for.

:) Neal


------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Retroshare-devel mailing list
Retroshare-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/retroshare-devel

Reply via email to