From: Dan Walters Date: Fri, 14 Jun 2019 19:20:56 +0000 (-0500) Subject: Allow decryption with DSN only. X-Git-Url: http://git.xmof.duckdns.org/?a=commitdiff_plain;h=3f591ce66fa1887d2818b133eb19db403f138335;p=DeDRM.git Allow decryption with DSN only. --- 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: