Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Removing DRM protection from eBooks (http://stream-recorder.com/forum/forumdisplay.php?f=63)
-   -  

MobiDeDRM.py Error: no key found. maybe the PID is incorrect

(http://stream-recorder.com/forum/showthread.php?t=7479)

anonymous1234 04-25-2010 05:58 AM

MobiDeDRM.py Error: no key found. maybe the PID is incorrect


 
The error is "no key found. maybe the PID is incorrect". I found where someone else had the same error and it was suggested that they download to a portable device and use that pid. I tried that too and got the same error.

If I put single quotes around the pid it says invalid checksum. I have tried it on 2 different computers using both pids and downloaded them to my blackberry and used that pid and get the same message every time. On the ebook seller's website all three pids are listed in my account.

These are all free books that I downloaded to test a different ebook website before buying from them. I just went back to a previous purchase from a different retailer and redownloaded and did that one and it works fine.

mchassy 07-31-2010 04:12 AM

Re: MobiDeDRM.py Error: no key found. maybe the PID is incorrect


 
Just hopping on to this thread. I have a Kindle 2, I use Mac, and I am trying to dedrm my kindle books. I've had my Kindle since November. I just installed Calibre on my Mac and then re downloaded all of my books from Manage Your Kindle.
I imported all of them into the Calibre library. No problem.

Now I would like to dedrm them in to normal mobi format and add those versions to my Calibre library as well. I tried to add the mobidedrm_plugin.py (in a zip) file as an addin, but Calibre did not seem to accept it.
I didn't want to spend too much time on this, and I know scripting fairly well, so I copied all my AZW files into a folder along with the mobidedrm.py file.
I wrote a .sh file with a line for each book in the following format:
Code:

python mobidedrm.py "Book.azw" "Book.mobi" 'MYPID'
I used the double quotes around the book names, because they often have spaces.

I got these messages for all of my books:
Code:

Extra Data Flags = 2
Error: no key found. maybe the PID is incorrect

I read through all of this thread:
  • One messages says to use the V.06 of the script - but that version is not published in the thread :-(
  • Then I found this on the last message on the thread.
    Quote:

    Any book downloaded after 2.5.2, even those bought before and downloaded from Manage Your Kindle, will not work with Mobidedrm.
  • What are you referring to as 2.5.2? Is the DRM version? Does that mean that this script is not working on the latest version of DRM that Amazon has put into place?
  • You mention the Skindle tool afterwards, but that is only for PC. Is there an equivalent for Mac?
Thanks for any info.

Mark

Stream Recorder 08-02-2010 12:55 AM

Re: MobiDeDRM.py Error: no key found. maybe the PID is incorrect


 
Quote:

Originally Posted by mchassy (Post 20558)
I got these messages for all of my books:
Code:

Extra Data Flags = 2
Error: no key found. maybe the PID is incorrect



Some secure MOBIs are delivered with no active PIDs. Then MobiPocket Reader tries to get a new version with the PID included. So I suggest you first open the ebook with MobiPocket Reader and then try mobidedrm using the PID on the copy of the ebook.

bee 09-28-2010 06:02 AM

Re: MobiDeDRM.py Error: no key found. maybe the PID is incorrect


 
Hi guys,

Just bought a mobi pocket file as the Kindle Store won't let me purchase the title in Australia. Having issues removing the DRM.

See following:
Code:

python mobidedrm2.py Lind.prc Lindfree2.prc 'XNNXXXN*AH'
MobiDeDrm v0.02. Copyright (c) 2008 The Dark Reverser
Error: no key found. maybe the PID is incorrect

have also tried backslashing the * but this just generates a checksum error.

PID definitely correct, as i had to enter it before downloading the file.

Any suggestions?

Stream Recorder 09-28-2010 09:20 AM

Re: MobiDeDRM.py Error: no key found. maybe the PID is incorrect


 
Quote:

Originally Posted by bee (Post 21823)
Code:

python mobidedrm2.py Lind.prc Lindfree2.prc 'XNNXXXN*AH'
MobiDeDrm v0.02. Copyright (c) 2008 The Dark Reverser
Error: no key found. maybe the PID is incorrect


The first thing to do it to check whether your ebook really has a DRM protection.

Try to put your PID in quotes. If that does not work, put all the arguments into quotes (Most often this problem occurs when filenames use some special characters, so you can just rename your ebook to something simple like 1.prc).

And double check every character that can be confusing: 0 (zero) and O, 1 and I etc. Make sure all letters are in the upper case.

Also try to use v.0.13 of mobidedrm.py

Stream Recorder 09-28-2010 09:40 AM

Re: MobiDeDRM.py Error: no key found. maybe the PID is incorrect


 
Quote:

Originally Posted by bee (Post 21823)
'XNNXXXN*AH'

If you use Windows, that please note the following:
Quote:

The PIDs with an "*" are Kindle PIDs, not Windows Desktop PIDs (these typically have a "$" as an 8th character). Look under "devices" in Windows Desktop MobiPocket Reader, and it should include the PID for your Windows PC. Register this with FictionWise and redownload the ebooks. Confirm that you can open them with Windows Desktop MobiPocket Reader, then use mobidedrm with the newly registered PID.
You can also use kindlepid.py to find PID without an asterisk.
Download kindlepid.py:
Code:

http://skochinsky.googlepages.com/azw-0.2.zip

Stream Recorder 09-28-2010 11:21 AM

Re: MobiDeDRM.py Error: no key found. maybe the PID is incorrect


 
Note that you may get the error if you have updated firmware of your Kindle recently. The updated firmware uses a unique PID for each and every book/user combination instead of device specific PID.

The workarounds is to use Kindle for PC, because there DRM removal tools for it that work.

Apprentice Alf 01-13-2011 02:44 AM

Re: MobiDeDRM.py Error: no key found. maybe the PID is incorrect


 
Quote:

Originally Posted by Stream Recorder (Post 21833)
Note that you may get the error if you have updated firmware of your Kindle recently. The updated firmware uses a unique PID for each and every book/user combination instead of device specific PID.

The workarounds is to use Kindle for PC, because there DRM removal tools for it that work.

Recently the per-book PID generation for the new Kindle firmware has been reverse engineered.

The KindleBooks.pyw set of scripts can now remove DRM from ebooks from Kindles, given the Kindle's serial number. (see my profile for blog link).

— Alf.

drv 02-21-2011 08:05 PM

Re: MobiDeDRM.py Error: no key found. maybe the PID is incorrect


 
Alf,

Not fair! I just found this site (and your blog) and I read that you are retiring. :( I hope you have entrusted it to some good folks. Will you still be hanging around this Forum?

I've been trying to find a way to de-drm Kindle books to read on my Nook. I found what I needed on your blog but I'm sorry to hear you are hanging it up. Best of luck and thanks for all the work you've done.


All times are GMT -6. The time now is 12:59 AM.