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)
-   -  

How to remove DRM from sony ebooks (BBeB and EPUB) with ineptkey.pyw, inepepub.pyw

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

artemisblossom 10-18-2009 09:44 AM

How to remove DRM from sony ebooks (BBeB and EPUB) with ineptkey.pyw, inepepub.pyw


 
I 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???

Stream Recorder 10-19-2009 03:24 AM

Re: How to remove DRM from sony ebooks


 
It 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:

By way of a concrete reverse-engineering contribution, I have successfully circumvented Adobe's ADEPT DRM scheme for EPUB files. The same circumvention probably also allows decryption of ADEPT-encrypted PDF files, although I haven't looked into it yet.

ADEPT is pretty close to faultless as a crypto system -- a per-user RSA key encrypts a per-book AES key which encrypts the content. It uses AES in CBC mode with a random IV. It uses RSA with PKCS#1 v1.5 padding, which is perfectly adequate for this case. Unfortunately for Adobe, this isn't a crypto system, but a DRM system. DRM systems ultimately depend not on the strength of their cryptography, but the complexity of their obfuscation. There is very little obfuscation in how Adobe Digital Editions hides and encrypts the per-user RSA key, allowing fairly simple duplication of exactly the same process Digital Editions uses to retrieve it.

In practical terms, this breaks ADEPT circumvention into two components: key retrieval and decryption. Key retrieval depends only on the details of Digital Editions and can change seamlessly with an update to the same. Decryption however is a property of the architecture of the system as a whole. Preventing circumventing decryption with previously retrieved keys would require changes to both DE and Adobe Content Server and would take quite some time to propagate to all ACS customers. The upshot being that if you want to decrypt ADEPT books in the future, grab your key now -- no garauntees that you'll be able to do so in the future, but a previously-retrieved key should keep on working.

Here are the scripts:
Key-retrieval script (ineptkey.pyw version 3) and Decryption script (ineptepub.pyw version 2):
Code:

http://pastebin.com/f26972321
http://pastebin.com/f28fdd6b3

To use:
  1. install Python 2.6+ (32bit) and PyCrypto,
  2. run the key-retrieval script ineptkey.pyw,
  3. then run the decryption script ineptepub.pyw using the retrieved key.

And on a preachy note, please don't be a jerk with these. DRM is bad, but piracy is wrong kids, and only validates the opinions of those who think they need DRM in the first place.

Stream Recorder 10-19-2009 03:55 AM

Re: How to remove DRM from sony ebooks


 
  1. Install Adobe Flash Player
    Code:

    http://get.adobe.com/flashplayer/
  2. Install Adobe Digital Editions (ADE)
    Code:

    http://www.adobe.com/products/digitaleditions/
  3. Authorize your copy of Adobe Digital Editions.
  4. Install Python
  5. Install PyCrypto
  6. Download ineptkey.pyw and ineptepub.pyw and put them into one directory.
  7. Run ineptkey.pyw. It will find the key and write it to hard disk as "ADEPTKEY.DER " in the same directory where ineptkey.pyw is.
  8. Run ineptepub.pyw
    A dialog windows with three parameters will pop up :
    • Key file ADEPTKEY.DER (filled automatically if the ADEPTKEY.DER-file and ineptepub.pyw reside in the same directory)
      If not, click on the "…" button and select a file.
    • Input file
      Click on the "…" button to choose your EPUB ebook. You'll find it in "My Documents\My Digital Editions".
      If you just can't find the EPUB ebook, open Adobe Digital Editions and find the path in the properties of the ebook.
    • Output file
      Click on the "…" and enter a filename.
  9. Open your newly created DRM-free EPUB file with your favorite application (on whatever device you like)

Download Key-retrieval script

ineptkey.pyw version 5:
Code:

http://pastie.org/1030386
ineptkey.pyw 4.3:
Code:

http://pastebin.com/f6ffa029

Download ineptepub.pyw:

ineptepub.pyw version 5.2
Code:

http://pastie.org/1032773
ineptepub.pyw version 2
Code:

http://wiki.xkyle.com/Epub_Decrypter
Download aineptepub.pyw version 4.1
Code:

http://pastebin.com/f4a7c338a

See also:
ebook DRM removal tools archive

any ANONYMOUS forum user 10-19-2009 04:13 AM

Re: How to remove DRM from sony ebooks


 
I 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
  • Extracted the key with ineptkey.pyw (v3) and got an adeptkey.der file
  • Tried to remove the DRM from the epub file with ineptpdf.pyw (v2)
    and it failed with the error : "Error : Unexpected EOF"

The error message occurs on nextline() function with linepos variable value 970.630.

The ebook is 970.691 bytes long.

Please help

Stream Recorder 10-19-2009 05:51 AM

Re: How to remove DRM from sony ebooks


 
Quote:

Originally Posted by any ANONYMOUS forum user (Post 13656)
I 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
  • Extracted the key with ineptkey.pyw (v3) and got an adeptkey.der file
  • Tried to remove the DRM from the epub file with ineptpdf.pyw (v2)
    and it failed with the error : "Error : Unexpected EOF"

The error message occurs on nextline() function with linepos variable value 970.630.

The ebook is 970.691 bytes long.

You need to use ineptkey.pyw and ineptepub.pyw to remove DRM from EPUB files, because ineptpdf.pyw is intended to be used with PDF files.

any ANONYMOUS forum user 11-12-2009 05:44 AM

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.

suedavids 11-25-2009 02:32 PM

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?

Stream Recorder 11-26-2009 12:15 AM

Re: How to remove DRM from sony ebooks (BBeB and EPUB)


 
Quote:

Originally Posted by suedavids (Post 14461)
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?

After downloading them you need to install them. Double-click on each file and install.

Quote:

Originally Posted by suedavids (Post 14461)
What/where do I download the ineptkey.pyw and ineptepub.pyw and put them into what one directory?

It could be any directory. For example, create freePDF directory on drice C:
Code:

C:\freePDF\
Then download adobe.adept.original_post.7z from
Code:

http://rs770.rapidshare.com/files/207513969/adobe.adept.original_post.7z
and extract f26972321.txt from it into C:\\freePDF\ (You will need freeware 7zip or any other program that supports 7z archives).
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
and select text from
Code:

#! /usr/bin/python

# ineptepub.pyw, version 2

# To run this program install Python 2.6 from http://www.python.org/download/
# and PyCrypto from http://www.voidspace.org.uk/python/modules.shtml#pycrypto
# (make sure to install the version for Python 2.6).  Save this script file as
# ineptepub.pyw and double-click on it to run it.

till the end, including
Code:

if __name__ == '__main__':
# sys.exit(cli_main())
sys.exit(gui_main())

Copy the selection and paste it into ineptepub.txt . Save the latter file as ineptepub.pyw .

Then follow the instructions above.

jhgeorge1935 12-20-2009 09:17 AM

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!

leday 12-22-2009 04:21 PM

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.

hopscotch 12-29-2009 03:49 AM

Re: How to remove DRM from sony ebooks


 
Quote:

Originally Posted by Stream Recorder (Post 13654)
It is possible to remove DRM protection from EPUB files using free python scripts:

Circumventing Adobe ADEPT (Adobe Digital Experience Protection Technology) DRM for EPUB:

Thank you Stream Recorder, you are a genius. Was given Xmas present that was the wrong ebook for my reader. You have solved my problem. :)

radcontra 12-31-2009 06:29 PM

Re: How to remove DRM from sony ebooks (BBeB and EPUB)


 
Quote:

IDLE 2.6.4
>>> C\freePDF\ineptkey.pyw
SyntaxError: unexpected character after line continuation character
>>>
I'm fairly unskilled about this stuff, but what am I doing wrong?

I get this error in both Python (command line) and Command prompt, too.

Stream Recorder 01-01-2010 01:04 AM

Re: How to remove DRM from sony ebooks (BBeB and EPUB)


 
Quote:

Originally Posted by jhgeorge1935 (Post 14763)
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

Does this happen with ebooks from B&N?

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"?>
<adept:rights xmlns:adept="http://ns.adobe.com/adept">
<licenseToken xmlns="http://ns.adobe.com/adept">

If it looks nothing like that, then almost certainly your book is not ADEPT-encrypted!

radcontra 01-02-2010 06:47 PM

Re: How to remove DRM from sony ebooks (BBeB and EPUB)


 
Quote:

Originally Posted by radcontra (Post 15013)
I'm fairly unskilled about this stuff, but what am I doing wrong?

I get this error in both Python (command line) and Command prompt, too.

I finally ran the two programs, and I'm happy to report I can read in ADE the book I previously bought. The victory is pyrrhic, however, because Powell's stops purchase of new ebooks with the same geographical restrictions at purchase.

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!

any ANONYMOUS forum user 01-18-2010 04:13 AM

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.

Stream Recorder 02-09-2010 11:17 AM

Re: How to remove DRM from sony ebooks (BBeB and EPUB)


 
Quote:

Originally Posted by jhgeorge1935 (Post 14763)
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

adeptkey.der created with ineptkey.pyw prior to ADE version 1.7.2 can't be used with EPUB eBooks downloaded with ADE 1.7.2. If you use it with the latter ebooks, you will get the "problem decrypting session key" error. Read the following thread to learn how to solve the problem:
ineptepub.pyw error: Problem decrypting session key

any ANONYMOUS forum user 02-26-2010 06:08 PM

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??????

Stream Recorder 02-26-2010 11:57 PM

Re: How to remove DRM from sony ebooks (BBeB and EPUB)


 
Quote:

Originally Posted by any ANONYMOUS forum user (Post 16854)
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??????

May be python is installed improperly. Try to right-click the pyw files and run them with python.

any ANONYMOUS forum user 02-27-2010 05:23 PM

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!

Stream Recorder 02-27-2010 11:35 PM

Re: How to remove DRM from sony ebooks (BBeB and EPUB)


 
Quote:

Originally Posted by any ANONYMOUS forum user (Post 16870)
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!

Windows doesn't show file extensions by default, so you can have problems renaming python scripts. You can go to the settings and change them so that Windows Explorer shows all file extensions.

Alternatively you can use software like freeware Unreal Commander. Or if you are an experienced user, you can rename files from a command line.

Stream Recorder 03-11-2010 01:51 AM

Re: How to remove DRM from sony ebooks (BBeB and EPUB)


 
ineptkey.pyw, version 4.3
Code:

http://pastebin.com/f6ffa029
ineptepub.pyw, version 4
Code:

http://pastebin.com/f5c0ce06b
Note that ineptkey.pyw, version 4.3 and ineptepub.pyw, version 4 can't be used together.

foghat 03-20-2010 11:51 AM

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?

Stream Recorder 03-20-2010 12:15 PM

Re: How to remove DRM from sony ebooks (BBeB and EPUB)


 
Quote:

Originally Posted by foghat (Post 17402)
This script requires PyCrypto, which must be installed separately.
....
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 am running win7 64bit - not sure if that is causing any issues. Anyone have any thoughts?

win7 64bit, so you can try to use pycrypto-2.0.1.win-amd64-py2.6.exe instead of pycrypto-2.1.0.win32-py2.6.zip.

But I recommend to use pyhton x32 with pycrypto x32.

foghat 03-20-2010 12:37 PM

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):
  File "D:\Users\username\Documents\Documents\ebooks\epub drm removal\ineptkey.pyw", line 230, in main
    retrieve_key(keypath)
  File "D:\Users\username\Documents\Documents\ebooks\epub drm removal\ineptkey.pyw", line 149, in retrieve_key
    vendor = cpuid0()
  File "D:\Users\username\Documents\Documents\ebooks\epub drm removal\ineptkey.pyw", line 112, in cpuid0
    cpuid0__(buffer)
WindowsError: exception: access violation writing 0x0000000002447740

Thoughts?

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?

Stream Recorder 03-20-2010 12:43 PM

Re: How to remove DRM from sony ebooks (BBeB and EPUB)


 
Quote:

Originally Posted by foghat (Post 17404)
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?

32bit python with 32bit pycrypto was tested on Windows 7 64 bit. This combination should work just fine.

foghat 03-20-2010 01:50 PM

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
Any thoughts?

foghat 03-20-2010 02:04 PM

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.

lovebooks 04-01-2010 05:33 PM

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

lovebooks 04-01-2010 05:48 PM

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"

Stream Recorder 04-01-2010 11:03 PM

Re: How to remove DRM from sony ebooks (BBeB and EPUB)


 
Quote:

Originally Posted by lovebooks (Post 17815)
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)

Make sure to use Python x32, Pycrypto x32.

You should be able to download ADE 1.71 from
http://stream-recorder.com/forum/sho...93&postcount=3

Quote:

Originally Posted by lovebooks (Post 17816)
Okay I downloaded ineptkey 4.3 and ineptpub 4 but now I get the following error message "error: list assignment index out of range"

ineptepub v.4 does not work with ineptkey v.4 (mentioned by foghat above).

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
aineptepub.pyw removes protection from whole folders of EPUB eBooks (rather than a single EPUB file).

Alternatively you can use ineptepub.pyw v.2 with ineptkey v.4.

Stream Recorder 04-01-2010 11:08 PM

Re: How to remove DRM from sony ebooks (BBeB and EPUB)


 
ineptkeymac.py, version 1
Code:

http://pastebin.com/f1182324a
This program runs on Mac OS X, version 10.6.2 and probably several other versions. It uses Python 2.6, but it probably also runs on all versions 2.x with x >= 5.

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.

cassidycaid 04-28-2010 01:43 AM

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!

skerbey 05-05-2010 03:18 AM

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?

Stream Recorder 05-05-2010 05:21 AM

Re: How to remove DRM from sony ebooks (BBeB and EPUB)


 
Quote:

Originally Posted by skerbey (Post 18749)
- 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?

Try to use only letters and numbers in filenames and directory names (Do not use spaces,...)

rojacob 05-13-2010 02:13 PM

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.

nettak 05-13-2010 08:16 PM

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?

Stream Recorder 05-13-2010 11:03 PM

Re: How to remove DRM from sony ebooks (BBeB and EPUB)


 
Quote:

Originally Posted by nettak (Post 18916)
Error: Problem decrypting session key

As mentioned above, see the following thread:
ineptepub.pyw error: Problem decrypting session key

Stream Recorder 05-13-2010 11:07 PM

Re: How to remove DRM from sony ebooks (BBeB and EPUB)


 
Quote:

Originally Posted by rojacob (Post 18913)
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.

What exactly are you running to get the error?

nettak 05-14-2010 08:24 AM

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:

Originally Posted by Stream Recorder (Post 18917)
As mentioned above, see the following thread:
ineptepub.pyw error: Problem decrypting session key


rojacob 05-14-2010 08:44 AM

Re: How to remove DRM from sony ebooks (BBeB and EPUB)


 
Quote:

Originally Posted by Stream Recorder (Post 18918)
What exactly are you running to get the error?

The error appears after I run ineptepub.pyw. The Terminal application starts, then Python; a window appears titled, "INEPT EPUB Decrypter." It has three spaces for data entry. The top line is called "Key File" and the application has entered the value, "adeptkey.der" ( I created this files using ineptkeymac.py.

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.