forked from LBRYCommunity/lbry-sdk
Merge pull request #1213 from lbryio/twisted-ssl
added certifi package for Twisted SSL verification on Windows
This commit is contained in:
commit
bd1460e608
3 changed files with 11 additions and 0 deletions
|
@ -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`
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
certifi==2018.4.16
|
||||
Twisted==16.6.0
|
||||
cryptography==2.2.2
|
||||
appdirs==1.4.3
|
||||
|
|
Loading…
Add table
Reference in a new issue