summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Walters <[email protected]>2019-06-14 14:20:56 -0500
committerDan Walters <[email protected]>2019-06-14 14:20:56 -0500
commit3f591ce66fa1887d2818b133eb19db403f138335 (patch)
treed10a4b52237a2ad29c5f77d7d78f2017b4d1c462
parentb71ed3887ee547c714c8223d1d74bc4e5cdfe809 (diff)
Allow decryption with DSN only.
-rw-r--r--dedrm_src/kfxdedrm.py2
1 files changed, 1 insertions, 1 deletions
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: