How to remove DRM protection from B&N (Barnes & Noble) EPUB ebooksBarnes & Noble uses its own DRM scheme for some EPUB books. It's a variant of the Adobe ADEPT scheme, and all the Adobe SDK users will get access to it eventually. The problem is that many consumers can’t read B&N books on their ebook readers.
Circumventing Barnes & Noble DRM for EPUB Quote:
A Windows-only key-retrieval script: ignoblekey (version 2) Code:
http://pastie.org/751573 Code:
http://pastie.org/753985 Code:
http://pastie.org/751366 How to remove DRM protection from your B&N ADEPT EPUB files
See also: ebook DRM removal tools archive |
Re: How to remove DRM protection from B&N (Barnes & Noble) EPUB ebooksIf you get the following error after running ignoblekey.pyw
"Error: Problem decoding key; unexpected DB format?" you can either find and delete your 'ClientAPI_v012.db' file then re-authorize BDReader with your account information, or just use the key-derivation script (ignoblekeygen). Both ignoblekey and ignoblekeygen will produce the same output when they work correctly. |
Re: How to remove DRM protection from B&N (Barnes & Noble) EPUB ebooksWow, thanks!
I will try this as soon as I figure out how to download and work with the python stuff! |
Re: How to remove DRM protection from B&N (Barnes & Noble) EPUB ebooksOk so I have bought a book off of b&n.com, and not being able to use it with my ebook reader, I need to remove the DRM. I have downloaded the decryption script, key generation scrypt, Python and Pycripto.
I am a newbie at this and am not sure how to go from there. Which script do I do first and what do I put in for the Key file, Input file, and Output file?? And for the key generation, do I actually put in my cc #? Sorry but please help.. |
Re: How to remove DRM protection from B&N (Barnes & Noble) EPUB ebooksLewshu, try to read the following:
How to remove DRM from sony ebooks (BBeB and EPUB) |
Re: How to remove DRM protection from B&N (Barnes & Noble) EPUB ebooksHello, I have used the above technique and all is well except the file I received from B&N is in the .PDB file extensions, not EPUB. When I tried the ignoblepub I get "this is not a zip file". Can someone steer me in the right direction? Thanks.
|
Re: How to remove DRM protection from B&N (Barnes & Noble) EPUB ebooksOkay, after doing some reading I realize this method is for EPUB format files. I've tried the PDB to PDF as mentioned about but the file is still encrypted and the PDF output is all gibberish. I also tried the eread2html method but get an error while finishing.
What's the best method and what file format is the best to end up with? I hear HTML format isn't exactly ideal anyway. Preferably I would like to just strip the encryption and just leave the PDF file intact. What's my best option? Thanks. |
Re: How to remove DRM protection from B&N (Barnes & Noble) EPUB ebooksQuote:
|
Re: How to remove DRM protection from B&N (Barnes & Noble) EPUB ebookshi i am new and im trying to remove DRM from my B&N PDB books i don't have a device to get the pid from just my pc every thing works in-till i get the error "the filename,directory name,or volume, lable syntay is incorrect" i cant find the files\downloads for xpml2xhml.py or ereader2html.py:( the only one i could find was erdr2pml.py is there any one who can help me:)
|
Re: How to remove DRM protection from B&N (Barnes & Noble) EPUB ebooksThe program is not working for me, am I doing anything wrong
First I got error "Could not locate B&N Reader installation" I edited the file and changed a variable and that fixed the error #BN_APPDATA_DIR = r'Barnes & Noble\DesktopReader' BN_APPDATA_DIR = r'Barnes & Noble\BNDesktopReader' Then I got the error "Problem locating B&N Reader DB". Looking at the program it was looking for ClientAPI_*.db. Such file did not exists on my PC but there was a file "C:\Users\XXXXXXX\AppData\Roaming\Barnes & Noble\BNDesktopReaderClientAPI.db". I edited the program again and changed one more line # dbpath = glob.glob(os.path.join(bndir, 'ClientAPI_*.db')) dbpath = glob.glob(os.path.join(bndir, 'ClientAPI*.db')) Now I am getting following error "B&N User Key not found. Unexpected DB format?" I have Barnes and Noble reader on my Windows 7 desktop. ANy help? |
Re: How to remove DRM protection from B&N (Barnes & Noble) EPUB ebooks@cnewsgrp
what software are you using? are you trying to remove DRM from ePub or PDB ebooks? |
Re: How to remove DRM protection from B&N (Barnes & Noble) EPUB ebooksQuote:
|
Re: How to remove DRM protection from B&N (Barnes & Noble) EPUB ebooksQuote:
If you get the "B&N User Key not found. Unexpected DB format?" error, you can try to remove the "ClientAPI_v012.db" file, then re-authorize BNReader with your account information. Alternatively you can use the key-derivation script (ignoblekeygen). Both ignoblekey and ignoblekeygen will produce the same output when they work correctly. Also make sure you use the name from the Credit Card, not your B&N username. If you need to remove DRM from PDB files, read the following thread: Remove DRM from PDB ebook from B&N (Barnes & Noble),... |
Re: How to remove DRM protection from B&N (Barnes & Noble) EPUB ebooksQuote:
The books are ePub books. I have tried this several times now and still not working. From your comment (Also make sure you use the name from the Credit Card, not your B&N username.) it seems that I am doing something wrong. How am I supposed to run this? I have done following things 1) Downloaded BN eReader for PC, logged in and downloaded my ebooks. I see them under "C:\Users\MyName\Documents\My Barnes & Noble eBooks\MyEmailAddress" 2) Downloaded and installed Python 2.6. 3) Downloaded "ignoblekey.py" 4) I double click and see the error "B&N User Key not found. Unexpected DB format" What am I doing wrong? I have Windows 7 PC. Also want to add that I have tried deleting ClientAPI.db file multiple times and that the file is always called ClientAPI.db - not ClientAPI_vXXX.db. File location is C:\Users\MyName\AppData\Roaming\Barnes & Noble\BNDesktopReader |
Re: How to remove DRM protection from B&N (Barnes & Noble) EPUB ebooksQuote:
For the confused people like me. Here are instructions in plain english. 1) Go to http://i-u2665-cabbages.blogspot.com...-for-epub.html 2) Download ignoblekeygen.pyw and ignobleepub.pyw 3) Download and install Python 2.6 and pycrypto-2.1.0 in that order 4) Login into bn.com and write down your user name (not the email address) and credit card # on file. 4) Double click ignoblekeygen.pyw. Enter your user name (not the email address) and credit card # on file. It should generate bnepubkey.b64 file if all is well. 5) Double click ignobleepub.pyw. Enter input file (epub file with DRM downloaded from BN). Output file (any file name) |
Re: How to remove DRM protection from B&N (Barnes & Noble) EPUB ebooksOk, i am COMPLETELY lost. I've downloaded the python 2.6, and went to bout the websites (ignoblekeygen and ignobleepub), but they both tell you to go to the same voidspace page (http://www.voidspace.org.uk/python/m...shtml#pycrypto)
and download the same thing (PyCrypto 2.1 for python 2.6)and name it 2 different names. I installed python 2.6 and the pycrypto file, ran both and was never asked to enter the name and cc# for my key. I really have no idea what I'm doing (hence the username lol), and would appreciate any help on figuring this out. Thank You |
Re: How to remove DRM protection from B&N (Barnes & Noble) EPUB ebooksQuote:
|
Re: How to remove DRM protection from B&N (Barnes & Noble) EPUB ebookshi,
i got through all the steps including getting the keyfile generator. but when i run ignobleepub, i get the following error: "-3 while decompressing: invalid distance too far back" any help is appreciated. |
Re: How to remove DRM protection from B&N (Barnes & Noble) EPUB ebooksQuote:
|
Re: How to remove DRM protection from B&N (Barnes & Noble) EPUB ebooksQuote:
i am on windows xp. and the version im using is: python 2.6 (because the keygen couldnt find 2.6 - so i downloaded 2.6 instead of using the most updated version) |
Re: How to remove DRM protection from B&N (Barnes & Noble) EPUB ebooksQuote:
|
Re: How to remove DRM protection from B&N (Barnes & Noble) EPUB ebooksDoes anyone have any updated information for the new B&N 2.5 reader format?
|
Re: How to remove DRM protection from B&N (Barnes & Noble) EPUB ebooksOkay, I'm having a problem. When I try to run ignoblekey.pyw it says "Error: Could not locate B&N Reader installation." I have the B&N Reader installed in the default location. So why is it giving me this error?
EDIT: Ok, I listened to cnewsgrp as I was having the exact same problem as him. Only when I went to run ignoblekeygen.pyw, it gave me an error: This script requires PyCrypto, which must be installed separately. Read the top-of-script comment for details. I have PyCrypto 2.1 installed, for Python 2.6, which is the version I have. So now what? |
Re: How to remove DRM protection from B&N (Barnes & Noble) EPUB ebooksQuote:
Quote:
|
Re: How to remove DRM protection from B&N (Barnes & Noble) EPUB ebooksNeither is going to work if you've upgraded to the latest version of the B&N reader, as it is apparently using a different DRM format.
Anyone have an update on when a new version of the DRM remover is going to be available? |
Re: How to remove DRM protection from B&N (Barnes & Noble) EPUB ebooksSo the book I just downloaded today - none of the pasties, Python, etc. will work at this point?
|
Re: How to remove DRM protection from B&N (Barnes & Noble) EPUB ebooksQuote:
Looks like there is no difference between the latest version of the reader and earlier versions, it was just the setup. You have to be very specific that you have 32-bit versions of php, the crypt libraries, etc. I finally got it to work! |
Re: How to remove DRM protection from B&N (Barnes & Noble) EPUB ebooksI followed all the steps, installed the programs in order. The key generator says it's successful. When I run the ignobleepub script, it says "Error: Key cannot be the null string" when I click on Decrypt. Is that an install error - or what? The key file appears to be a zip file. Is that correct? File name is bnepubkey.b64.
|
Re: How to remove DRM protection from B&N (Barnes & Noble) EPUB ebooksI had the same issue and what it means is that something is incorrect about your credit card information.
The key puller doesn't work with the new version of the reader, but you can still use the keygen script. You have to use the exact name as it appears on your credit card (especially if that may be different from what you used for your B&N account). You can also confirm the credit card on file via your B&N profile. They display the last four digits for you there. Once I used the exact name on the credit card it removed the DRM correctly. |
Re: How to remove DRM protection from B&N (Barnes & Noble) EPUB ebooksIt did finally work! Thanks.
|
Re: How to remove DRM protection from B&N (Barnes & Noble) EPUB ebooksWhen I run the ignobleepub script, I get the message 2940000719480.epub: not an B&N adept EPUB. Most of my B&N books have numbers not a title. Any ideas what I need to do?
|
Re: How to remove DRM protection from B&N (Barnes & Noble) EPUB ebooksQuote:
|
Re: How to remove DRM protection from B&N (Barnes & Noble) EPUB ebooksQuote:
There is an opensource ePub editor called Sigil [windows and mac]. I highly advise getting it, because you can use that to test if an epub has DRM or not, as it won't open DRM works. If there is no DRM it will open the file, and then you'll know. |
Re: How to remove DRM protection from B&N (Barnes & Noble) EPUB ebooks |
Re: How to remove DRM protection from B&N (Barnes & Noble) EPUB ebooksNOOK App is just an updated version of BN eReader (BN Desktop Reader).
Quote:
"Could not locate B&N Reader installation". |
Re: How to remove DRM protection from B&N (Barnes & Noble) EPUB ebooksPlease someone help me. I just want to read my book. :( When i run the Decrypter It comes up with this " Error: error 3 while decompressing invalid code lengths set" Also i can't get the 'ignoblekey.pyw' to work. I keep getting the error 'error could not locate b&n reader installation.' I have the newest one so i think that's the problem there.
This sucks, i don't know what i'm doing. |
Re: How to remove DRM protection from B&N (Barnes & Noble) EPUB ebooksThis is confusing... trying to find up to date instructions across several threads and multiple posts.
First question: Do I need pycrypto to use ignoblekey or is that just for ignoblekeygen.py? Second question: With nook desktop reader 2.5.1.xxx, will ignoblekey work at all? It is not clear from the seemingly conflicting posts on the threads. I was getting the "Error: Could not locate B&N Reader installation" I made the following modification to ignoblekey.pyw BN_APPDATA_DIR = r'Barnes & Noble\BNDesktopReader' and got the "Error: Problem locating B&N Reader DB". I made the following modification: dbpath = glob.glob(os.path.join(bndir, 'ClientAPI*.db')) and got the "B&N User Key not found. Unexpected DB format?" I deleted ClientAPI.db from by Application settings, but all the Nook reader asks for is my B&N account email and password. Which does not seem to fix the error. Am I supposed to do something with my account setting on the B&N Website? Update: ignoblekeygen worked, so the question still stands has the current versions of the nook desktop reader broken ignoblekey even after updating the directory/file names? |
Re: How to remove DRM protection from B&N (Barnes & Noble) EPUB ebooks |
Re: How to remove DRM protection from B&N (Barnes & Noble) EPUB ebooksAll right, my fine folks, I've searched around and have been unable to find any solutions for this particular snag: when I run ignoblekeygen I get an error message that reads "Error: [Errno 13] Permission denied: 'bnepubkeyb64'". I saw one other post with someone reporting this error on the I<3 Cabbages blog, but there were no answers given, and the author hasn't commented on it in a GOOD long while.
Particulars: running Windows 7 x64, python 2.7.1 (32-bit, as per instructions), OpenSSL 1.0.0 (also 32-bit). Also installed pycrypto to see if that would make the difference, but no dice. Any help is appreciated! Thanks, everybody! |
Re: How to remove DRM protection from B&N (Barnes & Noble) EPUB ebooksQuote:
— Alf. |
All times are GMT -6. The time now is 01:59 AM. |