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)

technogeekery 12-11-2010 08:39 PM

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


 
Thank you for this very informative thread. I have a PRS700 with many hundreds of epubs bought from Sony USA store. I want to upgrade to the new PRS650 available here in Japan, but unfortunately they run natively on XMDF and only support non-DRM epubs - so I need to liberate my library to read them on the new reader.

I have installed Python 2.7.1 but am having difficulty installing PCCrypto (pycrypto-2.1.0.win32-py2.7.exe). The windows installer detects Python 2.7 correctly, but then the install aborts - error message is "pycrypto-2.1.0.win32-py2.7.exe has stopped working. A problem has caused this program to stop working. Windows will close this program" and that's it.

Can anyone suggest why? I'm running Win7 32bit. Thanks for your help

Stream Recorder 12-12-2010 02:19 AM

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


 
Try to install Python 2.6 and PyCrypto for Python 2.6 (or Python 2.7 and PyCrypto for Python 2.7).

technogeekery 12-12-2010 03:36 AM

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


 
Never mind, I just downloaded Python 2.6 x32 and PyCrypto for Python 2.6. That all work together seamlessly. All fixed, and the script runs on a whole directory of files, so I have successfully liberated all my Sony store epubs - hooray! Thanks anyway for all the very useful background and understanding of the process.

rjfriedman 01-08-2011 11:13 AM

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


 
New to ebooks. Bought an ebook from iTunes and went to put it through Calibre to read on my Kindle. Has DRM and wouldn't convert. Its crazy that I paid for this and cannot read it on the viewer of my choice. How do I remove the DRM from a epub on a Mac so I can convert it in Calibre to a mobi? Thanks. Richard rjfriedman@mybones.com

Stream Recorder 01-09-2011 01:49 AM

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


 
Quote:

Originally Posted by rjfriedman (Post 24352)
How do I remove the DRM from a epub on a Mac so I can convert it in Calibre to a mobi?

Read the thread from the beginning.

rjfriedman 01-09-2011 03:16 PM

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


 
I did. I am on a Mac. I got the latest version of DeDRM 1.7 but it won't remove the DRM from the epub book I bought on iTunes. Don't know where to go from here.

Stream Recorder 01-09-2011 03:33 PM

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


 
Quote:

Originally Posted by rjfriedman (Post 24385)
I did. I am on a Mac. I got the latest version of DeDRM 1.7 but it won't remove the DRM from the epub book I bought on iTunes. Don't know where to go from here.

Please provide more details (exact errors, ...) in the following thread:
DeDRM AppleScript for Mac OS X 10.5, 10.6 for removing DRM from Mobipocket,Kindle,B&N

shazzrah123 02-22-2011 02:52 PM

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


 
Quote:

Then go to the following page
Code:

http://wiki.xkyle.com/Epub_Decrypter
and select text from
Code:

#! /usr/bin/python

Hello

New to this and rather useless with computers... got to the point above, but this page no longer exists? is there anywhere else i can get the decrypter from??? trying to convert my old Sony Reader files for my new Kindle, but DRM tripping me up! >:(

Stream Recorder 02-23-2011 02:43 AM

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


 
Quote:

Originally Posted by shazzrah123 (Post 25570)
got to the point above, but this page no longer exists? is there anywhere else i can get the decrypter from???

Download DRM Tools Archive from:
ebook DRM removal tools archive

And try to use a Calibre plug-in first.

weymouthba 03-08-2011 05:50 PM

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


 
I have a few files that are 'BBeB Secure Books' with file names of cbuscehch02c3t0j and so forth which come up in Sony Reader when I open them. I have successfully used the method above to remove DRM from my ePUB books but how do remove the protection from my BBeBs? Thanks in advance.

EDIT

Figured it out, how to re-download my old files from the eReader Library in the new ePUB format. Once that was done, easily converted. Thanks for the super easy directions!

ryanjul 03-12-2011 02:26 PM

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:

Just to say thank you . It works perfectly. Hooray for Python and you.

ebooketkindle 03-30-2011 06:30 PM

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


 
Hello,

I am not sure if it is the right place here but following this forum I was able to remove the DRM from my epub books. I wrote a tutorial for the French users here http://ebooketkindle.wordpress.com/

Thanks a lot

SnarkHunter 04-13-2011 03:33 PM

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


 
Hi,

Can someone offer some assistance?
System is Windows XP
Python 2.5 and PyCrypto installed.
Ineptkey.pyw (v5 and 5.2) and Ineptepub.pyw downloaded and saved into the Python directory (C:\python32).

Double click Ineptkey.pyw - nothing happens, apart from brief hourglass cursor

Running from the command prompt elicits the following:

Code:

C:\Python32>python ineptkey.pyw
  File "ineptkey.pyw", line 362
    except ADEPTError, e:
                    ^
SyntaxError: invalid syntax

:confused: Any help gratefully received,

Thanks

Stream Recorder 04-14-2011 12:11 AM

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


 
Quote:

Originally Posted by SnarkHunter (Post 27525)
Hi,

Can someone offer some assistance?
System is Windows XP
Python 2.5 and PyCrypto installed.
Ineptkey.pyw (v5 and 5.2) and Ineptepub.pyw downloaded and saved into the Python directory (C:\python32).

Double click Ineptkey.pyw - nothing happens, apart from brief hourglass cursor

Running from the command prompt elicits the following:

Code:

C:\Python32>python ineptkey.pyw
  File "ineptkey.pyw", line 362
    except ADEPTError, e:
                    ^
SyntaxError: invalid syntax

:confused: Any help gratefully received,

Download ebook DRM removal tools archive. And try to use a Calibre plug-in first. If it doesn't work, then try newer versions of ineptepub.pyw and ineptkey.pyw scripts.

maximsandarrows 04-29-2011 12:16 AM

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


 
I am running Windows 7 64 bit and attempted this fix and the result was that I can generate the key and open the window, but I cannot find the EPUB file to select as an input path. It is simply not there, I tried moving the file around, to the desktop, etc, but no luck.

Any suggestions?

Stream Recorder 04-29-2011 03:01 AM

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


 
Quote:

Originally Posted by maximsandarrows (Post 28197)
I am running Windows 7 64 bit and attempted this fix and the result was that I can generate the key and open the window, but I cannot find the EPUB file to select as an input path. It is simply not there, I tried moving the file around, to the desktop, etc, but no luck.

Use a Calibre plugin first.

maximsandarrows 04-29-2011 01:33 PM

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


 
That worked perfectly, many thanks.

gamblerek 06-01-2011 10:10 AM

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


 
hi
i have a problem wen i start ineptkey
i have message "Failed to decrypt user key key (sic)" , how to fix it ??

Stream Recorder 06-01-2011 12:30 PM

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


 
Quote:

Originally Posted by gamblerek (Post 29637)
hi
i have a problem wen i start ineptkey
i have message "Failed to decrypt user key key (sic)" , how to fix it ??

Have you tried to use a Calibre plug-in instead?

jimpeel 06-09-2011 09:49 PM

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


 
I just wanted to say thank you for this information.

I bought my wife a Lookbook by Kobo, which was a nice unit, but it was slow and lacked features.

After a couple of weeks, I then bought her a Kindle to replace the Lookbook.

Unfortunately, she bought a book from Kobobooks (EPUB) and she wanted to place it on her Kindle (MOBI). I found that to be impossible so I started looking for a site to instruct me as to how to get the title installed on the new Kindle. I ended up here.

Once I figured out that the "download" of the two .pyw files was a tiny little word at the top right of the script page it went like a hot knife through butter. I downloaded them, renamed them to the appropriate file name, and ran the scripts. The rest was very intuitive.

I only need to do this for a single title so I will not likely be back here again. I have learned my lesson on where to buy and what not to buy.

Thank you again.

Sincerely,

j
Win XP sp3

renork 06-10-2011 08:29 PM

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


 
Quote:

Originally Posted by Stream Recorder (Post 28201)
Use a Calibre plugin first.

OK not new to computers but new to doing this. I have an epub I bought from the sony store for my Sony Reader PRS500 that I want to be able to read on my iPhone and Kindle. I installed the latest version of Calibre (0.8.5) on a fresh computer. I downloaded the latest tool archive (tools_v3.8a.zip) and added the plugins to calibre. I added the book to my calibre library and attempted to convert it to PDF (just to check if the conversion worked and got the error:

Cannot Convert
This book is locked by DRM. To learn more......

When I look in the log details I find:

Quote:

Convert book 1 of 1 (Triple Jeopardy: A Nero Wolfe Threesome)
Resolved conversion options
calibre version: 0.8.5
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0.0,
'book_producer': None,
'change_justification': u'original',
'chapter': u"//*[((name()='h1' or name()='h2') and re:test(., 'chapter|book|section|part|prologue|epilogue\\s+', 'i')) or @class = 'chapter']",
'chapter_mark': u'pagebreak',
'comments': None,
'cover': None,
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'dont_compress': False,
'enable_heuristics': False,
'extra_css': None,
'fix_indents': True,
'font_size_mapping': None,
'format_scene_breaks': True,
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x05AEE4B0>,
'insert_blank_line': False,
'insert_metadata': False,
'isbn': None,
'italicize_common_cases': True,
'keep_ligatures': False,
'language': None,
'level1_toc': None,
'level2_toc': None,
'level3_toc': None,
'line_height': 0.0,
'linearize_tables': False,
'margin_bottom': 5.0,
'margin_left': 5.0,
'margin_right': 5.0,
'margin_top': 5.0,
'markup_chapter_headings': True,
'max_toc_links': 50,
'minimum_line_height': 120.0,
'mobi_ignore_margins': False,
'no_chapters_in_toc': False,
'no_inline_navbars': False,
'no_inline_toc': False,
'output_profile': <calibre.customize.profiles.SonyReaderOutput object at 0x05AEE8F0>,
'page_breaks_before': u'/',
'personal_doc': u'[PDOC]',
'prefer_author_sort': False,
'prefer_metadata_cover': False,
'pretty_print': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': u'c:\\users\\erikkr~1\\appdata\\local\\temp\\calib re_0.8.5_tmp_4cndzn\\calibre_0.8.5_rjk7zl.opf',
'remove_fake_margins': True,
'remove_first_image': False,
'remove_paragraph_spacing': False,
'remove_paragraph_spacing_indent_size': 1.5,
'renumber_headings': True,
'replace_scene_breaks': u'',
'rescale_images': False,
'series': None,
'series_index': None,
'smarten_punctuation': False,
'sr1_replace': None,
'sr1_search': None,
'sr2_replace': None,
'sr2_search': None,
'sr3_replace': None,
'sr3_search': None,
'tags': None,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'toc_title': None,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: EPUB Input running
on C:\Users\XXXXXX\My Books\Calibre Library\Rex Stout\Triple Jeopardy_ A Nero Wolfe Threesome (3)\Triple Jeopardy_ A Nero Wolfe Threesome - Rex Stout.epub
Python function terminated unexpectedly
Triple Jeopardy_ A Nero Wolfe Threesome - Rex Stout.epub (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 132, in main
File "site.py", line 109, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 181, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 31, in gui_convert_override
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 25, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 920, in run
File "site-packages\calibre\customize\conversion.py", line 204, in __call__
File "site-packages\calibre\ebooks\epub\input.py", line 160, in convert
calibre.ebooks.DRMError: Triple Jeopardy_ A Nero Wolfe Threesome - Rex Stout.epub
WTF am I doing wrong? Without any feedback I'd try installing Python and PyCrypto and doing that route but wondering if there's a simpler fix (especially since I tried that on a non-fresh PC before this route since I didn't know about the calibre plugins at the time). Do I need to do something other than convert the file in calibre in order for the plugin to work? Do I need to install something else first? Does the plugin not de-DRM sony store epubs (since they always talk about adobe digital editions in the comments about it and never sony store)?

Drisanna 06-11-2011 03:26 AM

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


 
Renork,

Check and make sure that you configured your plug-ins correctly. Several of them need additional information to properly unlock the book so it can be converted. I expect that your problem is along those lines, since you didn't mention in your post that you had configured the plugins after installing them.

Drisanna

P.S. You also need to make sure that the computer you're using to convert the files is authorized to read them in the first place. Many books can only be read on the computer that's been properly "registered" so that the DRM information matches correctly.

Stream Recorder 06-11-2011 07:57 AM

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


 
Quote:

Originally Posted by renork (Post 29981)
I have an epub I bought from the sony store for my Sony Reader PRS500 that I want to be able to read on my iPhone and Kindle. I installed the latest version of Calibre (0.8.5) on a fresh computer. I downloaded the latest tool archive (tools_v3.8a.zip) and added the plugins to calibre. I added the book to my calibre library and attempted to convert it to PDF (just to check if the conversion worked and got the error

@Drisanna
+1

@renork
PDF is not the best format for ebooks. Convert your epub to Mobi for Kindle. And use DRM-free epub on your iPhone.

renork 06-11-2011 01:26 PM

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


 
Quote:

Originally Posted by Drisanna (Post 29982)
Renork,

Check and make sure that you configured your plug-ins correctly. Several of them need additional information to properly unlock the book so it can be converted. I expect that your problem is along those lines, since you didn't mention in your post that you had configured the plugins after installing them.

Drisanna

P.S. You also need to make sure that the computer you're using to convert the files is authorized to read them in the first place. Many books can only be read on the computer that's been properly "registered" so that the DRM information matches correctly.

I'm fairly certain the epub dedrm module doesn't require or even allow any customization:

"calibre, version 0.8.5 Plugin not customizable: Plugin: Inept Epub DeDRM does not need customization"

The computer is definitely authorized for the sony reader store. I can download the epub to the computer and view it in the sony reader store software. I can also open the epub directly in adobe digital editions.



Quote:

Originally Posted by Stream Recorder (Post 29991)
@Drisanna
+1

@renork
PDF is not the best format for ebooks. Convert your epub to Mobi for Kindle. And use DRM-free epub on your iPhone.

I only chose PDF to test the de-drm part since I knew I could easily read it on my computer that way. I get the same error if I select Mobi or even epub->epub. I can't even view the file in the Calibre viewer without getting the DRM error. It's like the de-DRM plugin isn't doing anything for a sony store DRMed ePub.

Stream Recorder 06-12-2011 03:46 AM

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


 
Calibre DRM removal plug-ins don't show enough information when they fail. Try to use standalone programs and see their errors.

Also most problems with Calibre plug-ings usually occur when using the latest versions of Adobe Digital Editions, Kindle for PC,....

Drisanna 06-12-2011 05:56 AM

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


 
Renork,

Did you install Python? I THINK that is still a requirement, even though the Calibre plugins automate the rest of the process.

Drisanna

Stream Recorder 06-12-2011 02:28 PM

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


 
Quote:

Originally Posted by Drisanna (Post 30021)
Did you install Python? I THINK that is still a requirement, even though the Calibre plugins automate the rest of the process.

I don't have Python installed and the K4PC DeDRM plugin for Calibre works fine.

Drisanna 06-13-2011 05:54 AM

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


 
Well, that's cool then. As I said, I didn't know. I already had Python installed because I was doing all this stuff manually previously. I was just rather brain-storming in "out loud" as it were. :)

memento 08-21-2011 01:51 PM

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


 
Hi guys,
i downloaded ebook DRM removal tools archive 4.6 and installed python 2.6 and pycrypto-2.3.win32-py2.6.msi and ADE. But when I try to remove DRM with Adobe_ePub_Tools or DeDRM_for_Mac_and_Win I just got error!

Here is it's link: http://www.**************/file/17202...n_Machine-.rar
(the stars are: filesonic dot com)

Btw, the licence of this is file isn't for me. Is it feasible to strip drm out of it?

I appreciate any help.

any ANONYMOUS forum user 08-24-2011 01:22 PM

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


 
Quote:

Originally Posted by memento (Post 31864)
Hi guys,
i downloaded ebook DRM removal tools archive 4.6 and installed python 2.6 and pycrypto-2.3.win32-py2.6.msi and ADE. But when I try to remove DRM with Adobe_ePub_Tools or DeDRM_for_Mac_and_Win I just got error!

Here is it's link: http://www.**************/file/17202...n_Machine-.rar
(the stars are: filesonic dot com)

Btw, the licence of this is file isn't for me. Is it feasible to strip drm out of it?

Before removing DRM protection, make sure to open your ePub file with ADE. If the file is not licensed to you, you won't be able to remove DRM from it.


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