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)

nettak 05-14-2010 12:01 PM

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


 
Quote:

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

I've gone through the process as outlined in the thread above and get the following error when running ineptkey:

Code:

Traceback (most recent call last):
  File "C:\Users\nettak\Documents\Downloads\ineptkey.pyw", line 198, in main
    retrieve_key(keypath)
  File "C:\Users\nettak\Documents\Downloads\ineptkey.pyw", line 171, in retrieve_key
    with open(keypath, 'wb') as f:
IOError: [Errno 13] Permission denied: 'adeptkey.der'

I thought perhaps there was a problem with the ineptkey file, so I deleted it, redownloaded it and tried again. Same problem. I've checked to see if there is anything associated from the previous adeptkey.der to make sure everything was deleted. Any idea what I could try next?

gauthamb 06-01-2010 12:16 PM

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


 
Hello,

I tried all the steps to remove drm from epub file.. But I am not able to bream the drm.. While execting the script am getting Error as

"Error: Problem decrypting session key"

im also tried by deleting the register then also I'm getting same error.

Can any one break the drm of this epub book file.

removed link

Thanks

Stream Recorder 06-02-2010 12:07 AM

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


 
Quote:

Originally Posted by gauthamb (Post 19316)
While execting the script am getting Error as

"Error: Problem decrypting session key"

Follow the steps in the thread below
ineptepub.pyw error: Problem decrypting session key
If it doesn't help, post more details about what you have done

p.s. You can remove DRM from files downloaded on your computer using your computer only, so posting ebooks here won't help.

Stream Recorder 06-02-2010 12:16 AM

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


 
Quote:

Originally Posted by nettak (Post 18946)
I've gone through the process as outlined in the thread above and get the following error when running ineptkey:

Code:

Traceback (most recent call last):
  File "C:\Users\nettak\Documents\Downloads\ineptkey.pyw", line 198, in main
    retrieve_key(keypath)
  File "C:\Users\nettak\Documents\Downloads\ineptkey.pyw", line 171, in retrieve_key
    with open(keypath, 'wb') as f:
IOError: [Errno 13] Permission denied: 'adeptkey.der'

I thought perhaps there was a problem with the ineptkey file, so I deleted it, redownloaded it and tried again. Same problem. I've checked to see if there is anything associated from the previous adeptkey.der to make sure everything was deleted. Any idea what I could try next?

Is adeptkey.der located in the same folder where your EPUB ebooks are?

dwest 06-21-2010 05:29 PM

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


 
Ok, first let me apolgize for being a dumbass.

I got a Kindle for Fathers day. Seems good so far. Problem is I have several B&N gift cards that now I don't need. So, straight to the web to find out if I can convert. Several hours of reading and downloading later, and I am still a dumbass.

So

Downloaded Adobe Digital Editions
Downloaded Python 2.6
Downloaded Pycripto
Double clicked on ineptkey.pyw and recieved an adeptkey

Then it says to run ineptepub.pyw When I do (doubleclick) I just get the script page opening. Nothing else.

I know I am not doing this right, but for whatever reason I am not able to get past this to even get to the error messages that some of you are getting.

Any help would be really appreciated.

luka68 07-05-2010 09:43 AM

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


 
Please look at my first posting. There you can see the error messages (Codes).

bookworm 07-05-2010 06:25 PM

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


 
When I run ineptepub.pyw (v2) I get the error: File is not a zip file.

Now is this referring to the input file or output file? Would it have something to do with the version of the scripts I'm running? I'm running Python 2.7 and the latest Cryptopy and ineptkey.pyw(v3)

Many thanks for the help

Stream Recorder 07-05-2010 10:15 PM

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


 
Quote:

Originally Posted by bookworm (Post 20030)
When I run ineptepub.pyw (v2) I get the error: File is not a zip file.

Now is this referring to the input file or output file? Would it have something to do with the version of the scripts I'm running? I'm running Python 2.7 and the latest Cryptopy and ineptkey.pyw(v3)

Many thanks for the help

ineptepub.py error: zipfile.BadZipfile: File name in directory ....

faithabquina21 07-09-2010 08:08 AM

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


 
hello.. im using mac os.. i just cant make it?can u pls send me a step by step instruction.. i just bought a new iphone and it frustrates me that i cant transfer ny sony ebooks. pls help

StreamBob 07-11-2010 09:16 AM

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


 
I am on a Mac using
• Python 2.7
• PyCrypto for the mac
• ineptkey 5
• ineptepub 5.2

and I get an error message that reads
Error: File name in directory "OEBPS/chap8_newyorkt_978031237659

Any help understanding this is appreciated.

Stream Recorder 07-11-2010 11:10 PM

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


 
Quote:

Originally Posted by StreamBob (Post 20121)
and I get an error message that reads
Error: File name in directory "OEBPS/chap8_newyorkt_978031237659

Have you tried the following advice?
ineptepub.py error: zipfile.BadZipfile: File name in directory ....

bookworm 07-13-2010 07:49 AM

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


 
Quote:

Originally Posted by Stream Recorder (Post 20037)


I actually ended up figuring it out after sleeping on it. Turns out I was trying to open DRM protected .pdf files rather than .ePub.

Ratcatcher 07-15-2010 05:46 PM

Worked!!


 
I bought an ebook from W****stones and wanted to read it using the iBooks app on my iPad.

Followed your instructions (they worked first time ;)) and the decrypted epub file now opens fine on the iPad :D

Completly agree that it's not about piracy but about your right to use your legally purchased digital media on any device you choose.

Thanks again guys!! :)

Ps. I used the following:

Windows 7 x64
ADE 1.72
Python 2.7 (32bit)
Pycrypto 2.1.0 (32bit for Python 2.7)
ineptkey.pyw 4.3
aineptepub.pyw 4.1

ascherjim 07-16-2010 03:41 PM

Re: Worked!!


 
Quote:

Originally Posted by Ratcatcher (Post 20250)
I bought an ebook from W****stones and wanted to read it using the iBooks app on my iPad.

Followed your instructions (they worked first time ;)) and the decrypted epub file now opens fine on the iPad :D

Completly agree that it's not about piracy but about your right to use your legally purchased digital media on any device you choose.

Thanks again guys!! :)

Ps. I used the following:

Windows 7 x64
ADE 1.72
Python 2.7 (32bit)
Pycrypto 2.1.0 (32bit for Python 2.7)
ineptkey.pyw 4.3
aineptepub.pyw 4.1

Ratcatcher: This is my first posting on this forum, although I am a member of other e-book forums through which i have been trying (in vain) to again be able to remove DRM from ePub books I have legitimately purchased, as I was formerly able to do when working with Windows XP. (Long sentence, sorry.) I now have a Windows 7 (64 bit) PC, and even though I've followed all the various online instructions, I've been unable to succeed.

As in your case, I've recently purchased a title from Water-----s, and have all but one of your list of components working properly. The one I can't get to work is aineptepub.pyw 4.1 (ineptepub.pyw). I download and rename the script, copy it into the same directory as the inept.key (which does work), but I get no action from it (no box pops up). I've performed this operation successfully many times on my XP, but not with my Windows 7. If ANYONE has any further ideas to help me, I'd be MOST appreciative. Thanks.

Coohyah 07-16-2010 06:04 PM

Re: Worked!!


 
Newbie to the whole DRM stuff here I have installed everything clicked on the automated INEPT thingy, clicked on decrypy whole directory but i get zip, nada, nothing its just sitting there is it because i have over 130 books in the file?

Zevs 07-25-2010 08:27 AM

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


 
Hi!

Sorry for probably being a bit dense here :) I have seen other people posting something very similar before in this thread, but not really seen any answer. I have installed the needed stuff and put the ineptkey_v43.pyw file in a directory and run it with my python.exe file (v26). The only thing I get is an error message though and no adeptkey.der is written. If anyone can help me understand what is going wrong, that would be very much appreciated :)

----------
Traceback (most recent call last):
File "C:\Python26\Ineptkey\ineptkey_v43.pyw", line 230, in main
retrieve_key(keypath)
File "C:\Python26\Ineptkey\ineptkey_v43.pyw", line 149, in retrieve_key
vendor = cpuid0()
File "C:\Python26\Ineptkey\ineptkey_v43.pyw", line 112, in cpuid0
cpuid0__(buffer)
WindowsError: exception: access violation writing 0x026E21E0
----------------

Stream Recorder 07-25-2010 10:29 PM

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


 
Quote:

Originally Posted by Zevs (Post 20443)
Sorry for probably being a bit dense here :) I have seen other people posting something very similar before in this thread, but not really seen any answer. I have installed the needed stuff and put the ineptkey_v43.pyw file in a directory and run it with my python.exe file (v26). The only thing I get is an error message though and no adeptkey.der is written. If anyone can help me understand what is going wrong, that would be very much appreciated :)

----------
Traceback (most recent call last):
File "C:\Python26\Ineptkey\ineptkey_v43.pyw", line 230, in main
retrieve_key(keypath)
File "C:\Python26\Ineptkey\ineptkey_v43.pyw", line 149, in retrieve_key
vendor = cpuid0()
File "C:\Python26\Ineptkey\ineptkey_v43.pyw", line 112, in cpuid0
cpuid0__(buffer)
WindowsError: exception: access violation writing 0x026E21E0
----------------

ineptkey_v43.pyw problem:WindowsError: exception: access violation writing 0x026E21E0

Luciancain 08-03-2010 09:33 AM

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


 
Thanks for all the help. It works great on a file by file basis, but is there any way to automate it as I have 300+ DRM books? Perhaps the entire contents of an input folder to an output folder, using the same names?

Thank you in advance.

Stream Recorder 08-06-2010 07:34 AM

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


 
Quote:

Originally Posted by Luciancain (Post 20632)
It works great on a file by file basis, but is there any way to automate it as I have 300+ DRM books? Perhaps the entire contents of an input folder to an output folder, using the same names?

I've already mentioned in the thread that aineptepub.pyw removes protection from whole folders of EPUB eBooks.

James Goh 08-08-2010 09:13 PM

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


 
I have finally found a solution to decrypt my DRM files from sony and able to read it in iBooks, however I encounter problems when I tried to remove DRM for 2 titles.

The error message I got was "OEBPS/Sang_9780307451675_o"

Can someone pls help me. I have no problem with other books. I tried uninstall and reinstall my Adobe Digital Editions v1.7, i tried de-authorise , but it does not help.

I tried delete away the books again, and re-download again. it does not help.

Appreciate if someone could highlight to me, what is the problem i am facing.



James

James Goh 08-08-2010 09:18 PM

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


 
faced with problem trying to remove drm for one book
"content/resources/0006

Stream Recorder 08-09-2010 01:03 AM

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


 
Quote:

Originally Posted by James Goh (Post 20755)
The error message I got was "OEBPS/Sang_9780307451675_o"

James, have you tried the trick mentioned in the following thread?
ineptepub.py error: zipfile.BadZipfile: File name in directory OPS/ and header differ

James Goh 08-09-2010 01:27 AM

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


 
Quote:

Originally Posted by Stream Recorder (Post 20760)
James, have you tried the trick mentioned in the following thread?
ineptepub.py error: zipfile.BadZipfile: File name in directory OPS/ and header differ


Hi, I tried, but the problem still persists. why not i send u two ebooks, you help me solve and let me know what is the problems.

my email address is jamesgoh82@singnet.com.sg if u r not convenience to give it to me

Stream Recorder 08-09-2010 05:20 AM

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


 
Quote:

Originally Posted by James Goh (Post 20761)
I tried, but the problem still persists. why not i send u two ebooks, you help me solve and let me know what is the problems.

DRM can be removed on a computer that was used to download an ebook.

What is the exact error that you get? What versions of scripts do you use?

James Goh 08-09-2010 06:54 AM

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


 
Quote:

Originally Posted by Stream Recorder (Post 20762)
DRM can be removed on a computer that was used to download an ebook.

What is the exact error that you get? What versions of scripts do you use?

the message was written on the thread. No. #60 & #61

not sure what version of the script i am using.

could u give me yr email address, so i can send the ebook to u. so you can help me solve

Stream Recorder 08-10-2010 01:04 PM

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


 
Quote:

Originally Posted by James Goh (Post 20766)
the message was written on the thread. No. #60 & #61

This is just a part of the message.

Quote:

Originally Posted by James Goh (Post 20766)
not sure what version of the script i am using.

Open them with a text editor and find out. Also download the latest versions and try again.

Quote:

Originally Posted by James Goh (Post 20766)
could u give me yr email address, so i can send the ebook to u. so you can help me solve

I've already mentioned above, that DRM from your ebooks can be removed on your computer only.

KBB 08-15-2010 08:47 PM

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


 
I'm sorry to bother you, but I am completely lost. I got as far as running "ineptkey.pyw" and it created "adeptkey.der". But when I try to run ineptepub.pyw, I just get a box that says "Key successfully retrieved to adeptkey.der. I don't get anything else. I know I am a complete computer moron, but PLEASE help me. Thanks.

Stream Recorder 08-15-2010 09:10 PM

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


 
Quote:

Originally Posted by KBB (Post 20882)
I'm sorry to bother you, but I am completely lost. I got as far as running "ineptkey.pyw" and it created "adeptkey.der". But when I try to run ineptepub.pyw, I just get a box that says "Key successfully retrieved to adeptkey.der. I don't get anything else.

What versions of scripts do you use? Was the output file created? Do you get any errors?

KBB 08-15-2010 09:26 PM

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


 
I don't know how to find out what version I am using (I told you I am a really sorry computer moron). There was no output file, and I didn't get any errors (I guess that should have been my first clue something was wrong.) All I get is "Key successfully retrieved to adeptkey.der"

KBB 08-15-2010 09:39 PM

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


 
Another quick question. Will this enable me to be able to read my ebooks on the iPad?

Stream Recorder 08-16-2010 12:16 AM

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


 
Quote:

Originally Posted by KBB (Post 20889)
I don't know how to find out what version I am using (I told you I am a really sorry computer moron). There was no output file, and I didn't get any errors (I guess that should have been my first clue something was wrong.) All I get is "Key successfully retrieved to adeptkey.der"

Then download ineptkey.pyw version 5 and ineptepub.pyw version 5.2 (see the first post of the thread) and try again.

Quote:

Originally Posted by KBB (Post 20891)
Another quick question. Will this enable me to be able to read my ebooks on the iPad?

If you remove DRM protection, you will be able to convert your ebook to other formats using software like freeware Calibre

KBB 08-16-2010 06:10 AM

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


 
Hey, it worked!!! I have just one more question. I think I read that I can do a whole folder, and not just one file at a time. I tried it and I got an error:

"Error: [Errno 13] Permission denied: 'C:\\Documents and Settings\\USER\\My Documents\\My Books\\Reader Library'

I had my Input file:
C:\Documents and Settings\USER\My Documents\My Books\Reader Library

Output File:
C:\Documents and Settings\USER\My Documents\My free ebooks

What did I do wrong?

KBB 08-16-2010 01:01 PM

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


 
Sorry, I just reread the whole thread. Before I do it, I want to make sure that aineptepub.pyw will work with ineptkey.pyw version 5. What (if it matters) version of that aineptepub.pyw should I look for? Do you have a good link to it?

Stream Recorder 08-16-2010 08:49 PM

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


 
Quote:

Originally Posted by KBB (Post 20912)
What (if it matters) version of that aineptepub.pyw should I look for?

Try aineptepub.pyw version 4.1. The link is in one of the first posts of this thread:
http://stream-recorder.com/forum/sho...55&postcount=3

KBB 08-16-2010 09:24 PM

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


 
Thank you sooooo much for your help! I would not have been able to do it without you!!!

mr-jt-29 08-17-2010 02:11 PM

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


 
this is all waaay beyond me :-( can i possibly send a few books to someone who can already strip drm for me?
any help greatly appreciated

Stream Recorder 08-17-2010 11:57 PM

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


 
Quote:

Originally Posted by mr-jt-29 (Post 20949)
this is all waaay beyond me :-( can i possibly send a few books to someone who can already strip drm for me?
any help greatly appreciated

AFAIK DRM can only be removed on a computer which was used to download your ebooks.

Some patience and perseverance and you will be able to do it.

KBB 08-18-2010 05:58 AM

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


 
I have one more quick question now that I have freed my Sony books. Is there a different process if I were to start buying Kindle books?

Stream Recorder 08-18-2010 07:33 AM

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


 
Quote:

Originally Posted by KBB (Post 20966)
I have one more quick question now that I have freed my Sony books. Is there a different process if I were to start buying Kindle books?

1. There are Kindle readers, Kindle4PC, Kindle4iphone
2. Different formats
3. Different DRM removal software

KBB 08-18-2010 07:36 AM

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


 
I would be buying the books on my iPad. Since you obviously know way more than me, where would you suggest I buy them? It looks like Amazon and B&N have the biggest selection of books. Would I be able to buy books on my iPad from either of these and then remove make them so that I can read it on any of my readers?


All times are GMT -6. The time now is 03:17 AM.