diff --git a/SABnzbd.py b/SABnzbd.py index ceb4835..10b3695 100755 --- a/SABnzbd.py +++ b/SABnzbd.py @@ -473,6 +473,11 @@ def print_modules(): else: logging.info("_yenc module... NOT found!") + if sabnzbd.HAVE_CRYPTOGRAPHY: + logging.info('Cryptography module... found!') + else: + logging.info('Cryptography module... NOT found!') + if sabnzbd.newsunpack.PAR2_COMMAND: logging.info("par2 binary... found (%s)", sabnzbd.newsunpack.PAR2_COMMAND) else: diff --git a/interfaces/Config/templates/config.tmpl b/interfaces/Config/templates/config.tmpl index 9c530f0..96fea00 100644 --- a/interfaces/Config/templates/config.tmpl +++ b/interfaces/Config/templates/config.tmpl @@ -50,17 +50,24 @@ + + + Python Cryptography: + + $T('notAvailable') + + + + + yEnc: - - - - $T('notAvailable') - - + $T('notAvailable') + + $T('opt-enable_unzip'): diff --git a/sabnzbd/downloader.py b/sabnzbd/downloader.py index a440365..469e0c1 100644 --- a/sabnzbd/downloader.py +++ b/sabnzbd/downloader.py @@ -395,6 +395,7 @@ class Downloader(Thread): # Seems something is still wrong sabnzbd.set_https_verification(0) sabnzbd.HAVE_SSL_CONTEXT = False + logging.debug('SSL verification test: %s', sabnzbd.HAVE_SSL_CONTEXT) # Start decoder self.decoder.start() diff --git a/sabnzbd/interface.py b/sabnzbd/interface.py index c0ed65c..67a6a87 100644 --- a/sabnzbd/interface.py +++ b/sabnzbd/interface.py @@ -1264,6 +1264,7 @@ class ConfigPage(object): conf['have_unzip'] = bool(sabnzbd.newsunpack.ZIP_COMMAND) conf['have_7zip'] = bool(sabnzbd.newsunpack.SEVEN_COMMAND) + conf['have_cryptography'] = sabnzbd.HAVE_CRYPTOGRAPHY conf['have_yenc'] = HAVE_YENC if sabnzbd.HAVE_SSL: