How to remove DRM from sony ebooks (BBeB and EPUB) with ineptkey.pyw, inepepub.pywI have lots of sony ebooks in BBeB and EPUB that I would like to remove the drm from. Is this possible?? Can someone explain how to do this please???
|
Re: How to remove DRM from sony ebooksIt is possible to remove DRM protection from EPUB files using free python scripts:
Circumventing Adobe ADEPT (Adobe Digital Experience Protection Technology) DRM for EPUB: Quote:
|
Re: How to remove DRM from sony ebooks
Download Key-retrieval script ineptkey.pyw version 5: Code:
http://pastie.org/1030386 Code:
http://pastebin.com/f6ffa029 Download ineptepub.pyw: ineptepub.pyw version 5.2 Code:
http://pastie.org/1032773 Code:
http://wiki.xkyle.com/Epub_Decrypter Code:
http://pastebin.com/f4a7c338a See also: ebook DRM removal tools archive |
Re: How to remove DRM from sony ebooksI get the following error message when trying to remove DRM from EPUB with python scripts:
Error : Unexpected EOF I downloaded ineptkey.pyw and ineptpdf.pyw. Then
The error message occurs on nextline() function with linepos variable value 970.630. The ebook is 970.691 bytes long. Please help |
Re: How to remove DRM from sony ebooksQuote:
|
Re: How to remove DRM from sony ebooks (BBeB and EPUB)I just went through this how-to for removing drm from epub files. It saved me hours of tearing my hair out.
I had bought a book on booksonboard, but it came in epub format which is supported by stanza (for the iphone). However drm'd epubs are not supported (I found out after I buy my non-refundable ebook). Finally came across your post and it worked first time like a charm. |
Re: How to remove DRM from sony ebooks (BBeB and EPUB)I don't know how to do much on computers except basic so I am lost. I downloaded the Python and PyCryto you said to download but then I am lost. What do I do with these 2 programs? What/where do I download the ineptkey.pyw and ineptepub.pyw and put them into what one directory? Can you put this in computer for idiots language?
|
Re: How to remove DRM from sony ebooks (BBeB and EPUB)Quote:
Quote:
Code:
C:\freePDF\ Code:
http://rs770.rapidshare.com/files/207513969/adobe.adept.original_post.7z Open f26972321.txt with Notepad and save it as ineptkey.pyw. Then go to C:\freePDF\ with Windows Explorer, right-click on the empty space of the Windows and create a new txt file ineptepub.txt . Open the file with Notepad Then go to the following page Code:
http://wiki.xkyle.com/Epub_Decrypter Code:
#! /usr/bin/python Code:
if __name__ == '__main__': Then follow the instructions above. |
Re: How to remove DRM from sony ebooks (BBeB and EPUB)I also am trying this stuff. I have everything loaded and I created the adeptkey.der ok when I load this stuff into the ineptepub.pyw box it states at the top of the box:
Error: Problem decrypting session key Am I missing something? I have all of the files you discussed loaded Thanks! |
Re: How to remove DRM from sony ebooks (BBeB and EPUB)OK, I'm lost too. I downloaded Python and PyCrypto and installed both. I created the two pyw files. I already have ADE authorized to my computer. Now what? I have no idea how to start any of these programs and how to select the book files that I want to remove the DRM from. Can you PLEASE give step-by-step instructions? Thanks.
Update, I double clicked ineptkey.pyw and it does not generate a key. I get the following errors: "Unexpected errors" Traceback (most recent call last): File "C:\Documents and Settings\.......\FreePDF\ineptkey.pyw", line 198, in main retrieve_key(keypath) File "C:\Documents and Settings\.......\FreePDF\ineptkey.pyw", line 140, in retrieve_key vendor = cpuid0() File "C:\Documents and Settings\.......\FreePDF\ineptkey.pyw", line 103, in cpuid0 cpuid0__(buffer) WindowsError: exception: access violation writing 0x00BDD260 Ineptepub.pyw works, but I cannot generate a key to use with it. Can you please tell me what is wrong here? Thanks. UPDATE #2: There must have been some sort of hardware conflict on my PC (I had replaced the hard drive last week so maybe this had something to do with it??). Anyway, I tried downloading this to my laptop and it worked perfectly. Thanks. |
Re: How to remove DRM from sony ebooksQuote:
|
Re: How to remove DRM from sony ebooks (BBeB and EPUB)Quote:
I get this error in both Python (command line) and Command prompt, too. |
Re: How to remove DRM from sony ebooks (BBeB and EPUB)Quote:
How to remove DRM protection from B&N (Barnes & Noble) EPUB ebooks How to tell whether your book is in fact Adobe ADEPT-encrypted (Mac) Copy the original e-book file, putting the new copy on your Desktop, so that you are not working with the original file. (If you option-drag the file to the Desktop, you'll get a new copy of the file on the Desktop.) Then change the filename extension of the copied file on the Desktop from whatever it was originally to .zip. You can do that by doing Get Info on the copied file on the Desktop (shortcut: command-I) and editing the extension in the Name & Extension field. You will then click "Use .zip" in the dialog box that comes up to confirm your intention. Also, still in the Get Info window, set "Open with:" to the Mac's Archive Utility. (Do not click on "Change All ... " unless you want any double-clicked ZIP archive to use this utility.) Now close the Get Info window. Once you have the .zip extension on the copied file and have the file set to open in Archive Utility, double-click the file. You should see the ZIP file expand into a new folder on your Desktop. The new folder's name reflects the name of your book. Open that folder. In it should be a META-INF folder. Open it. In the META-INF folder should be a file called rights.xml. Open it in TextEdit (best way: drag its icon to the TextEdit icon on the dock). The very first line of the rights.xml file should look something like this: HTML Code:
<?xml version="1.0"?> |
Re: How to remove DRM from sony ebooks (BBeB and EPUB)Quote:
This only works with ADE. Powell's has changed its purchasing policy, so I can no longer buy ebooks I cannot legally read. I bought a number of ADE ebooks before this policy change that became unreadable. I cannot test this procedure with Palm ebooks, because all my current Palm books are legally readable, and now I cannot buy new ones. Thanks! |
Re: How to remove DRM from sony ebooks (BBeB and EPUB)If it is an epub file with Adobe Digital editions DRM, then you must use a program to determine your adeptkey.der file (after registering with Adobe Digitial Editions website) and once you have that you can remove the drm.
Download ineptkey.pyw and ineptepub.pyw and use them as mentioned above. Many DRM epubs have faulty zip archives built so you might need to fix that as well. |
Re: How to remove DRM from sony ebooks (BBeB and EPUB)Quote:
ineptepub.pyw error: Problem decrypting session key |
Re: How to remove DRM from sony ebooks (BBeB and EPUB)I have followed these instructions installing python and pycrypto, then saving the INEPTKEY AND INEPTEPUB scripts with the pyw ext. When I run (double click) either of these nothing happens except it opens as a text file ??? Please advise, am I missing something completely, am I supposed to do something else, maybe something with python??????
|
Re: How to remove DRM from sony ebooks (BBeB and EPUB)Quote:
|
Re: How to remove DRM from sony ebooks (BBeB and EPUB)Thanks for the prompt reply. For anyone else who has this problem, the solution is to download the scripts for INEPTKEY and INEPTEPUB, do not copy and paste them in a text file, as the script has to be just right anything not in the right place and it won't work. Follow all the other instructions and you'll be Singing and Dancing!
|
Re: How to remove DRM from sony ebooks (BBeB and EPUB)Quote:
Alternatively you can use software like freeware Unreal Commander. Or if you are an experienced user, you can rename files from a command line. |
Re: How to remove DRM from sony ebooks (BBeB and EPUB)ineptkey.pyw, version 4.3
Code:
http://pastebin.com/f6ffa029 Code:
http://pastebin.com/f5c0ce06b |
Re: How to remove DRM from sony ebooks (BBeB and EPUB)Hi,
When I double click the ineptkey.pyw, I keep getting an error that states: --------------------------- ADEPT Key --------------------------- This script requires PyCrypto, which must be installed separately. Read the top-of-script comment for details. --------------------------- OK --------------------------- Thing is, I have installed PyCrypto (pycrypto-2.1.0.win32-py2.6.zip) - during the installation, it correctly finds my python 2.6 installation. I see the pycrpto files at: C:\Python26\Lib\site-packages\Crypto Not sure if it makes a difference, but I have tried running ineptkey.pyw from the python 26 directory and The Crypto directory, same error. I have tried rebooting as well. I am running win7 64bit - not sure if that is causing any issues. Anyone have any thoughts? |
Re: How to remove DRM from sony ebooks (BBeB and EPUB)Quote:
But I recommend to use pyhton x32 with pycrypto x32. |
Re: How to remove DRM from sony ebooks (BBeB and EPUB)^ Thanks. I looked for a 64bit version, but didn't see it at the bottom there. But now found it and installed it.
So, now I can get one step further, inptkey.pyw runs, but now I get the following error: Code:
Traceback (most recent call last): When you say, "But I recommend to use pyhton x32 with pycrypto x32" Do you mean install the 32 bit versions on a 64bit machine or that I should try find a 32bit machine to do this on? |
Re: How to remove DRM from sony ebooks (BBeB and EPUB)Quote:
|
Re: How to remove DRM from sony ebooks (BBeB and EPUB)Thanks,
Getting closer and closer... So, I installed the 32 bit versions and now I can retrieve my key fine. I have my encrypted epub, which I can view in Adobe Digital Editions. However, when I run ineptepub.pyw, I get the following error: Code:
Error: list assignment index out of range |
Re: How to remove DRM from sony ebooks (BBeB and EPUB)figured it out. I had to use version 2 of ineptepub.pyw.
Version 4 was giving me the error. |
Re: How to remove DRM from sony ebooks (BBeB and EPUB)I had read through the thread and am still having problems.
I have: -Windows 7 -Python 2.65 (read that v 3.01 wasn't working) -pycrypto 2.01 -ineptkey 3 -ineptpub 2 - adobe digital edition 1.72 (couldn't find older version) Thanks for any suggestions you may have |
Re: How to remove DRM from sony ebooks (BBeB and EPUB)Okay I downloaded ineptkey 4.3 and ineptpub 4 but now I get the following error message "error: list assignment index out of range"
|
Re: How to remove DRM from sony ebooks (BBeB and EPUB)Quote:
You should be able to download ADE 1.71 from http://stream-recorder.com/forum/sho...93&postcount=3 Quote:
Try to use aineptepub.pyw, version 4.1 (with ineptkey v.4). It should work with both ADE 1.71 and ADE 1.72 Code:
http://pastebin.com/f4a7c338a Alternatively you can use ineptepub.pyw v.2 with ineptkey v.4. |
Re: How to remove DRM from sony ebooks (BBeB and EPUB)ineptkeymac.py, version 1
Code:
http://pastebin.com/f1182324a This program extracts the private RSA key for your ADE account in a standard binary form (DER format) in a file of your choosing. Its purpose is to make a backup of that key so that your legally bought ADE encoded ebooks can be salvaged in case they would no longer be supported by ADE software. No other usages are intended. It has been tested with the key storage structure of ADE 1.7.1 and 1.7.2 and Sony Reader Library. ineptkeymac v.1 script produces adeptkey.der file. It can be used by that can be used by ineptepub v.2 script or or aineptepub v.4.1 script. |
Re: How to remove DRM from sony ebooks (BBeB and EPUB)Just wanted to say thanks so very much - I had my Sony eReader for a couple years before I got my iPad and I am so happy not to have wasted the money I spent on all those books from the sony store.
You, sir, are awsome! |
Re: How to remove DRM from sony ebooks (BBeB and EPUB)- I was able to generate my .der key using ineptkeymac.py, version 1
- then I use aineptepub.pyw, version 4.1 - it pops up with the window to decrypt the file. - i choose my epub book and hit decrypt and i get this error "Error in: (book name).epub[Errno 2] No such file or directory: '(path to book file)'" What am I doing wrong? |
Re: How to remove DRM from sony ebooks (BBeB and EPUB)Quote:
|
Re: How to remove DRM from sony ebooks (BBeB and EPUB)I have been able to install Python and the other software for the Mac, but when I try and translate get the following error:
File name in directory "OEBPS_9780786744152_oeb_nts_rhttp:/" and "OEBPS_9780786744152_oeb_nts_r1.html" differ Can anyone suggest a fix for this? I am using OS X10.6.3. Thanks. |
Re: How to remove DRM from sony ebooks (BBeB and EPUB)I've downloaded and installed all of the files. I've gotten the adept key. But when I try to decrypt the ebook I get the following:
Error: Problem decrypting session key My ebooks are purchased and downloaded from the Sony store for my Sony reader. Any idea what I'm doing wrong? |
Re: How to remove DRM from sony ebooks (BBeB and EPUB)Quote:
ineptepub.pyw error: Problem decrypting session key |
Re: How to remove DRM from sony ebooks (BBeB and EPUB)Quote:
|
Re: How to remove DRM from sony ebooks (BBeB and EPUB)Thanks. I found that thread last night and I'm trying to work it now.
Quote:
|
Re: How to remove DRM from sony ebooks (BBeB and EPUB)Quote:
The second and third lines are for the Input and Output file names. I use the built in browse function to find the input file, then enter the directory and file name for the output file. I get the error message a few seconds after selecting, "Decrypt". |
All times are GMT -6. The time now is 08:14 PM. |