Merge pull request #1213 from lbryio/twisted-ssl

added certifi package for Twisted SSL verification on Windows
This commit is contained in:
Lex Berezhny 2018-05-29 22:44:23 -04:00 committed by GitHub
commit bd1460e608
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 0 deletions

View file

@ -62,6 +62,7 @@ at anytime.
* configurable `concurrent_announcers` and `s3_headers_depth` settings
* `peer_ping` command
* linux distro and desktop name added to analytics
* certifi module for Twisted SSL verification on Windows
### Removed
* `announce_all` argument from `blob_announce`

View file

@ -1,3 +1,12 @@
import os
import sys
# Set SSL_CERT_FILE env variable for Twisted SSL verification on Windows
# This needs to happen before anything else
if 'win' in sys.platform:
import certifi
os.environ['SSL_CERT_FILE'] = certifi.where()
from lbrynet.core import log_support
import argparse

View file

@ -1,3 +1,4 @@
certifi==2018.4.16
Twisted==16.6.0
cryptography==2.2.2
appdirs==1.4.3