Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Other discussions > Removing DRM protection from eBooks
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 04-25-2010, 06:58 AM
anonymous1234 anonymous1234 is offline
Junior Member
 
Join Date: Mar 2010
Posts: 3
anonymous1234 is on a distinguished road
Default

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.
Reply With Quote
  #2  
Old 07-31-2010, 05:12 AM
mchassy mchassy is offline
Junior Member
 
Join Date: Jul 2010
Posts: 4
mchassy is on a distinguished road
Default

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
Reply With Quote
  #3  
Old 08-02-2010, 01:55 AM
Stream Recorder
 
Posts: n/a
Default

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


Quote:
Originally Posted by mchassy View Post
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.
Reply With Quote
  #4  
Old 09-28-2010, 07:02 AM
bee bee is offline
Junior Member
 
Join Date: Sep 2010
Posts: 2
bee is on a distinguished road
Default

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?
Reply With Quote
  #5  
Old 09-28-2010, 10:20 AM
Stream Recorder
 
Posts: n/a
Default

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


Quote:
Originally Posted by bee View Post
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
Reply With Quote
  #6  
Old 09-28-2010, 10:40 AM
Stream Recorder
 
Posts: n/a
Default

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


Quote:
Originally Posted by bee View Post
'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
Reply With Quote
  #7  
Old 09-28-2010, 12:21 PM
Stream Recorder
 
Posts: n/a
Default

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.
Reply With Quote
  #8  
Old 01-13-2011, 03:44 AM
Apprentice Alf Apprentice Alf is offline
Junior Member
 
Join Date: Jan 2011
Posts: 20
Apprentice Alf is on a distinguished road
Default

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


Quote:
Originally Posted by Stream Recorder View Post
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.
Reply With Quote
  #9  
Old 02-21-2011, 09:05 PM
drv drv is offline
Junior Member
 
Join Date: Feb 2011
Posts: 2
drv is on a distinguished road
Default

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.
Reply With Quote
Reply Post New Thread
Tags: , , , , , , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 06:59 PM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons