From 3f591ce66fa1887d2818b133eb19db403f138335 Mon Sep 17 00:00:00 2001 From: Dan Walters Date: Fri, 14 Jun 2019 14:20:56 -0500 Subject: [PATCH] Allow decryption with DSN only. --- dedrm_src/kfxdedrm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dedrm_src/kfxdedrm.py b/dedrm_src/kfxdedrm.py index 98ae9f2..4648893 100644 --- a/dedrm_src/kfxdedrm.py +++ b/dedrm_src/kfxdedrm.py @@ -68,7 +68,7 @@ class KFXZipBook: print u'Decrypting KFX DRM voucher: {0}'.format(info.filename) for pid in [''] + totalpids: - for dsn_len,secret_len in [(0,0), (16,0), (16,40), (32,40), (40,40)]: + for dsn_len,secret_len in [(0,0), (16,0), (16,40), (32,40), (40,0), (40,40)]: if len(pid) == dsn_len + secret_len: break # split pid into DSN and account secret else: