2016年8月9日火曜日

Apple and ebooks: iBookstore DRM and how to remove it

Requiem — Stripping DRM from Apple's iBookstore Ebooks

Ebooks from Apple's iBookstore are usually encrypted with Apple's own Fairplay DRM scheme.

The only tool that removes Apple's DRM is Requiem by Brahms. Requiem is not included in the main tools archive, and is separately maintained by its author, Brahms.

Version 4.x works with iTunes 10.6 and above, Windows and Mac OS X, but no longer removes DRM from iBooks.

The latest version to remove DRM from iBooks is 3.3.6 and works with iTunes 10.5.x, Windows and Mac OS X.

Requiem has a Tor website: http://tag3ulp55xczs3pn.onion. To reach the site using Tor, you will need to install Tor (http://www.torproject.org). If you're willing to sacrifice your anonymity, you can use the regular web with tor2web. Just go tohttp://tag3ulp55xczs3pn.tor2web.com.

Alternatively, you can download it from these download links:

Requiem 3.3.6 for Windows: http://www.datafilehost.com/download-f7916922.html
MD5: 10ab191f2d86c692d57f6a07b4622cf8

Requiem 3.3.6 for Mac OS X: http://www.datafilehost.com/download-47fce8b7.html
MD5: 6d4167d47e6982ddbb8528212198b520

Requiem 3.3.6 source code: http://www.datafilehost.com/download-172920e9.html
MD5: 1636862796d573c693d56bcc526b60bd

If you have any problems with Requiem, I suggest you contact Brahms directly through their Tor website.

Anti-Piracy Notice

Please only use this application for gaining full access to your own ebooks for archiving/converson/convenience. De-drmed ebooks should not be uploaded to open servers, torrents, or other methods of mass distribution. No help will be given to people doing such things. Authors, retailers and publishers all need to make a living, so that they can continue to produce books for us to read. Don't be a parasite.

 

About calibre

Calibre is a free, open source, ebook management and conversion utility created and maintained by Kovid Goyal. It is available for Windows, Mac OS X and Linux.

Calibre cannot, on its own, remove DRM from ebooks. However, it is possible to added third-party software ('plugins') to enhance calibre.

To be able to use the DeDRM plugin for calibre, it is necessary to install calibre first. The latest version can be downloaded from http://calibre-ebook.com/download.

The DeDRM plugin for calibre

The DRM removal plugin (DeDRM_plugin.zip) can be found in the tools archive linked from the most recent post in this blog. The DeDRM plugin can remove DRM from Kindle eBooks (but not rented Kindle ebooks, books downloaded to a Kindle Fire, Kindle for iOS or the Windows Store Kindle App), Barnes & Noble ePub ebooks (but not books downloaded to the Windows Store Nook App) , any ebooks using Adobe Digital Editions DRM (this includes ePubs from Kobo and Sony that are downloaded for Adobe Digital Editions), and the older Mobipocket and eReader ebooks. For other kinds of ebooks see the other posts in this blog.

Installing the DeDRM plugin for calibre

1.                   Download the latest tools package, and unzip it.
(On Windows, right-click and "Extract All…"; After extracting all, rename the tools_vX.X.X.zip file to tools_zipped_vX.X.X.zip to prevent later confusion)

2.                   Run calibre. From the Preferences menu select "Change calibre behavior".
(Do not click "Get plugins to enhance calibre", that option is reserved for 'official' calibre plugins.)

3.                   Click on Plugins (under "Advanced") — it looks like a jigsaw puzzle piece.

4.                   Click on the large "Load plugin from file" button

5.                   Navigate to the tools folder unzipped in step 2

6.                   Open the "DeDRM_calibre_plugin" folder

7.                   Select the DeDRM_plugin.zip file in that folder

8.                   Click on the "Add" (sometimes "Open") button.

9.                   Click on the "Yes" button in the "Are you sure?" warning dialog that appears. A "Success" dialog will appear, saying that the plug-in has been installed. Click on "OK".

Customising the plugin with encryption keys

On Macintosh and Windows systems no customisation is required for ebooks from Kindle for Mac/PC, Nook Study, or Adobe Digital Editions (ADE), provided that calibre is run on the same computer and user account as the installation of Kindle for Mac/PC, Nook Study, or ADE to which the books were downloaded. The default key is found and stored in the preferences automatically. Anyone using Linux should read the ReadMe file for details of how to obtain the keys manually.

For other sources of ebooks, or on Linux systems, you must configure the plugin. To configure the plugin, you must find it in the list of plugins. Usually calibre will have automatically selected the DeDRM plugin after you add it. If not, the DeDRM plugin can be found under "File Type plugins". It might easier to find if you check the "Show only user installed plugins" checkbox. You might need to click on the triangle next to the "File Type plugins" label to show the list of File Type plugins.

If it's not already selected, click on the DeDRM plugin in the list to select it, and then click on the Customize plugin button. This will open that main "Customise DeDRM" dialog which contains a set of buttons describing different type and sources of ebooks. If you have DRMed ebooks that match the description on any of the buttons, you will need to click on the button and enter the required information in the sub-dialog that will pop up.

All the dialogs have a help link in the top right of the dialog, that gives further information about the required information.

When all the configuration for your DRMed ebooks has been entered, click "OK" in the main dialog to save all the information you've entered. You're now ready to remove the DRM from your ebooks.

Using the DeDRM calibre plugin

The DeDRM calibre plugin removes DRM from ebooks as they are imported into calibre. So to use the plugin, just import your DRMed ebooks into calibre, and the DRM will be removed. If you have already imported your ebooks into calibre, you will need to remove the DRMed ebooks and import them again.

You can check that the DRM has been removed from an imported ebook by trying to view it using calibre's built-in viewer. Note that for .azw3 Kindle ebooks you might need to check a checkbox in calibre's preferences to say that .azw3 ebooks should be viewed using calibre's internal viewer.

If things go wrong

The calibre developers are not involved in the development of the DRM removal plugin, and are not able to help with any DRM removal questions. If you have any difficulties following the instructions in this post, the calibre developers will not be able to help.

You must ask any questions about installing or using the DeDRM calibre plugin in a comment to most recent post on this blog.

Credits

Most of the work on converting the DRM removal scripts to a calibre plugin has been done by DiapDealer and Apprentice Alf.

 

DRM Removal Tools for eBooks

If you want to find out more about ebooks, DRM and why you will probably want to remove the DRM from your ebooks, see this post:  Ebook Formats, DRM and You — A Guide for the Perplexed.

If you already know that you want to strip the DRM from your ebooks, you've found the right place.

The Tools

To get started on removing DRM from your ebooks, just download the tools archive from the link below. Unzip the archive, and start reading.

The latest release can be found at the top of this page:
https://github.com/apprenticeharper/DeDRM_tools/releases

Getting Help with the Tools

If you have any questions about the tools, ebooks and DRM, check my FAQs post: Frequently Asked Questions about the DRM removal tools.

If you have any problems with the current tools, please ask for help in a comment on this post. If you are having a problem with an older version of the tools, please first update to the current version, and see if that solves your problem.

Before commenting here, please check the ReadMe file and the FAQs (see link above).

In any bug report or help request, please include:

·                     which tool was used

·                     which OS you are using

·                     where the ebook file came from (device or folder)

·                     any error messages

·                     a log of the DRM-removal attempt (see the FAQs on how to get a log).

Anti-Piracy Notice

Please only use this application for gaining full access to your own ebooks for archiving/converson/convenience. De-drmed ebooks should not be uploaded to open servers, torrents, or other methods of mass distribution. No help will be given to people doing such things. Authors, retailers and publishers all need to make a living, so that they can continue to produce books for us to read. Don't be a parasite.

Origin of the Tools

The tools for removing DRM from ePubs were originally posted at i♥cabbages' blog. The tools for Kindle/Mobipocket were originally posted at The Dark Reverser's blog.

They have since been improved by many people, but mostly some_updates, DiapDealer, Apprentice Alf, and Apprentice Harper. While there are many sites that redistribute these tools, the most up-to-date versions of the tools are currently released here.

Other Sources

Anyone trying to sell you ebook DRM removal tools for Adobe Adept ePub and PDFs, Barnes & Noble ePubs, Kindle ebooks, Kobo ebooks, or eReader ebooks has probably just repackaged (an earlier) version of the tools available here.