View Single Post
Old 02-27-2009, 11:50 PM   #259
cocoricks
Junior Member
cocoricks began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Feb 2009
Device: kindle
What PID to Use?

Quote:
Originally Posted by igorsk View Post
To decrypt such files, do the following changes in mobidedrm.py:

Code:
-temp_key = PC1(keyvec1, pid, False)
+temp_key = keyvec1
-if verification == ver and cksum == temp_key_sum and (flags & 0x1F) == 1:
+if verification == ver and cksum == temp_key_sum:
It can probably be made nicer but I guess you could keep two copies of the script.
So, in a case like this where it is a content encryption type, what PID do I use? I made the changes to the script, but it still requires that I enter a PID (e.g. python mobilededrm.py original.prc new.prc PID). I'm missing what I should enter for the PID.

Last edited by cocoricks; 02-28-2009 at 12:14 AM.
cocoricks is offline   Reply With Quote