Encrypted network communication?


I’m looking for a way to SSL encrypt all or parts of my network communication.
In an earlier post, drwr said that the ConnectionRepository is capable of doing this, but I found no documentation on it.

I’m looking for a way to send / receive PyDatagrams over an encrypted network connection. Has someone done this before? Is there some sample code or a brief overview on how to get encryption within panda to work?



The client code will establish an SSL connection automatically if set your connect-method to “http” and you then put a prefix like “s://” in front of your game-server string. You can see (much of) the logic for this in direct/src/distributed/ConnectionRepository.py; the actual SSL connection is handled by the low-level http code.

There’s no server-side SSL code provided with the public distribution of Panda, though.