mailchuck / PyBitmessage

This repository has been discontinued, please use the official PyBitmessage repository
https://github.com/Bitmessage/PyBitmessage
MIT License
28 stars 4 forks source link

Remove SSL keys #177

Closed ghost closed 8 years ago

ghost commented 8 years ago

The SSL keys should not be needed for anonymous mode (aECDH).

And they would be worthless anyway as the private key is publicly available.

PeterSurda commented 8 years ago

They are included due to a deficiency in python's SSL implementation. The code won't be able to act as a SSL server if you remove the keys. It took me several days to find this. Cryptographically, the keys are ignored.

See: https://github.com/python-git/python/blob/master/Modules/_ssl.c#L291