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)

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:10 PM.