andreimarcu / aamnews

IRC RSS-feed aggregator
7 stars 0 forks source link

No option for disabling irc server SSL certificate verification #20

Open erincerys opened 8 years ago

erincerys commented 8 years ago

On line 111 of irc.py, the socket's SSL wrapper is specified with CERT_OPTIONAL. This behavior causes SSL certificates offered by the server to be verified. Most IRC servers use self-signed certificates which do not pass verification.

I suggest an option in the config that can switch this to CERT_NONE if it is needed.

andreimarcu commented 8 years ago

That's code from phenny, but since I already modified the core a little, that could be an option.

Do you want to submit a PR?