From 6e93f4c077590fa408628524d7a963c76c495ac0 Mon Sep 17 00:00:00 2001 From: dnzbk Date: Thu, 4 Dec 2025 09:51:33 +0300 Subject: [PATCH 1/2] init --- .DS_Store | Bin 0 -> 6148 bytes README.md | 2 +- main.py | 21 ++++++++++++++++++++- manifest.json | 2 +- 4 files changed, 22 insertions(+), 3 deletions(-) create mode 100644 .DS_Store diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..5008ddfcf53c02e82d7eee2e57c38e5672ef89f6 GIT binary patch literal 6148 zcmeH~Jr2S!425mzP>H1@V-^m;4Wg<&0T*E43hX&L&p$$qDprKhvt+--jT7}7np#A3 zem<@ulZcFPQ@L2!n>{z**++&mCkOWA81W14cNZlEfg7;MkzE(HCqgga^y>{tEnwC%0;vJ&^%eQ zLs35+`xjp>T0")[1].split("<")[0] ok = -1 # = no check / failed; 1,2,.. ok for server num all_msg_ids.append([subject, par, groups, message_id, ok]) - elif "")[0] if ".par2" in low_line: par = 1 # found a par file, next msg_ids of par2s @@ -1130,6 +1133,22 @@ def create_sockets(server, articles_to_check): if encryption: context = ssl.create_default_context() + if CERT_STORE and os.path.exists(CERT_STORE): + if VERBOSE: + print(f"[V] Loading CertStore from: {CERT_STORE}") + try: + if os.path.isfile(CERT_STORE): + context.load_verify_locations(cafile=CERT_STORE) + else: + context.load_verify_locations(capath=CERT_STORE) + except Exception as e: + print(f"[WARNING] Failed to load CertStore: {e}") + context.check_hostname = False + context.verify_mode = ssl.CERT_NONE + else: + context.check_hostname = False + context.verify_mode = ssl.CERT_NONE + for i in range(start_sock, end_sock): s = socket.socket(af, socket.SOCK_STREAM) try: diff --git a/manifest.json b/manifest.json index f0f19ac..3f65eca 100644 --- a/manifest.json +++ b/manifest.json @@ -4,7 +4,7 @@ "homepage": "https://github.com/nzbgetcom/Extension-Completion", "kind": "SCAN/QUEUE/SCHEDULER", "displayName": "Completion", - "version": "3.1", + "version": "3.2", "nzbgetMinVersion": "23.0", "author": "kloaknet", "license": "GPLv3", From 238d466b3cfab5820040b187077a3e34a7298131 Mon Sep 17 00:00:00 2001 From: dnzbk Date: Tue, 9 Dec 2025 17:53:36 +0300 Subject: [PATCH 2/2] Remove DS_store --- .DS_Store | Bin 6148 -> 0 bytes .gitignore | 1 + 2 files changed, 1 insertion(+) delete mode 100644 .DS_Store diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index 5008ddfcf53c02e82d7eee2e57c38e5672ef89f6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6148 zcmeH~Jr2S!425mzP>H1@V-^m;4Wg<&0T*E43hX&L&p$$qDprKhvt+--jT7}7np#A3 zem<@ulZcFPQ@L2!n>{z**++&mCkOWA81W14cNZlEfg7;MkzE(HCqgga^y>{tEnwC%0;vJ&^%eQ zLs35+`xjp>T0