Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 02-14-2010, 09:38 AM   #571
joblack
Wizard
joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.
 
Posts: 1,751
Karma: 4382688
Join Date: Jul 2006
Location: Somewhere on earth
Device: Onyx Boox Tab X C
Quote:
Originally Posted by JSWolf View Post
Code:
#! /usr/bin/python

# ineptkey.pyw, version 4
 
# 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
# ineptkey.pyw and double-click on it to run it.  It will create a file named
# adeptkey.der in the same directory.  This is your ADEPT user key.
 
# Revision history:
#   1 - Initial release, for Adobe Digital Editions 1.7
#   2 - Better algorithm for finding pLK; improved error handling
#   3 - Rename to INEPT
#   4 - quick beta fix for ADE 1.7.2 (anon)
I did say this doesn't work on my system. Well, I made a simple code change and now it works. I cannot say it works on all systems. But it does work on mine which is Windows 7 with ADE 1.7.2 upgraded from 1.7.1.
ADE has three different private keys in the registry. One of it is working - the problem is that they aren't always on the same place - they seem to be placed by the 'shotgun principle'. Perhaps it's some kind of obfuscation.
joblack is offline   Reply With Quote
Old 02-14-2010, 11:01 AM   #572
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,786
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by joblack View Post
ADE has three different private keys in the registry. One of it is working - the problem is that they aren't always on the same place - they seem to be placed by the 'shotgun principle'. Perhaps it's some kind of obfuscation.
What I am thinking is that it is the key for the reg entry that has @="licenseCertificate" as the line in front of the value is the entry you want for the key. If I am correct, That should make it easy to pull out the proper key. However, if I am incorrect, all you'd need do is try the other values based on the different @ lines and then you'll know which is which.
JSWolf is offline   Reply With Quote
Advert
Old 02-14-2010, 11:28 AM   #573
joblack
Wizard
joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.
 
Posts: 1,751
Karma: 4382688
Join Date: Jul 2006
Location: Somewhere on earth
Device: Onyx Boox Tab X C
Quote:
Originally Posted by JSWolf View Post
What I am thinking is that it is the key for the reg entry that has @="licenseCertificate" as the line in front of the value is the entry you want for the key. If I am correct, That should make it easy to pull out the proper key. However, if I am incorrect, all you'd need do is try the other values based on the different @ lines and then you'll know which is which.
The licenseCertificate is not the key and it is in all three registry entries included. The problem is you can't try the key without the book. One solution would be to export all keys and try it in the ineptpdf/epub scripts but then you have to change these scripts too. I thought the key is always the last one but your example showed that it isn't the case.
joblack is offline   Reply With Quote
Old 02-14-2010, 11:41 AM   #574
pietvo
Reader
pietvo can name that song in three notespietvo can name that song in three notespietvo can name that song in three notespietvo can name that song in three notespietvo can name that song in three notespietvo can name that song in three notespietvo can name that song in three notespietvo can name that song in three notespietvo can name that song in three notespietvo can name that song in three notespietvo can name that song in three notes
 
pietvo's Avatar
 
Posts: 520
Karma: 24612
Join Date: Aug 2009
Location: Utrecht, NL
Device: Kobo Aura 2, iPhone, iPad
I also found a solution for Mac OS X but I don't have the newest Applescript in an editable format. However, I could make a python script to do it. Distributing this might be a problem however, due to the Sklyarov syndrome.
pietvo is offline   Reply With Quote
Old 02-14-2010, 12:03 PM   #575
EowynCarter
Wizard
EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.
 
Posts: 4,337
Karma: 4000000
Join Date: Oct 2008
Location: Paris
Device: Cybooks; Sony PRS-T1
Quote:
Originally Posted by joblack View Post
The licenseCertificate is not the key and it is in all three registry entries included. The problem is you can't try the key without the book. One solution would be to export all keys and try it in the ineptpdf/epub scripts but then you have to change these scripts too. I thought the key is always the last one but your example showed that it isn't the case.
In my case, it was the seocnd. i basiclly did trial and error.
EowynCarter is offline   Reply With Quote
Advert
Old 02-14-2010, 12:07 PM   #576
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,786
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Deleted

Last edited by JSWolf; 02-14-2010 at 01:02 PM.
JSWolf is offline   Reply With Quote
Old 02-14-2010, 12:22 PM   #577
bookwyrm
Junior Member
bookwyrm began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Feb 2010
Device: kindle
Long time follower- new poster that needs some help

Hello everyone, I got a kindle about 2 years ago but am only now exploring the possibilities of trying to read electronic library books on my kindle since reading them on my MAC laptop is proving painful and cumbersome.
I've read most of the information on this site regarding removing drm from the library books to read on my kindle but am coming up with what I hope is a fixable error.
I have python 2.6 loaded, believe pycrypto is also loaded (not sure since there was not an install feature but when I click on the ineptpub v2 instead of a box opening up as stated in the instructions instead I get a line of script.
Has anyone run into this issue before? How do I resolve? Thanks

Example below

# To run this program install Python 2.6 from http://www.python.org/download/
# and PyCrypto from http://www.voidspace.org.uk/python/m...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.

# Revision history:
# 1 - Initial release
# 2 - Rename to INEPT, fix exit code

"""
Decrypt Adobe ADEPT-encrypted EPUB books.
"""

from __future__ import with_statement

__license__ = 'GPL v3'

import sys
import os
import zlib
import zipfile
from zipfile import ZipFile, ZIP_STORED, ZIP_DEFLATED
from contextlib import closing
import xml.etree.ElementTree as etree
import Tkinter
import Tkconstants
import tkFileDialog
import tkMessageBox

try:
from Crypto.Cipher import AES
from Crypto.PublicKey import RSA
except ImportError:
AES = None
RSA = None
bookwyrm is offline   Reply With Quote
Old 02-14-2010, 12:56 PM   #578
pietvo
Reader
pietvo can name that song in three notespietvo can name that song in three notespietvo can name that song in three notespietvo can name that song in three notespietvo can name that song in three notespietvo can name that song in three notespietvo can name that song in three notespietvo can name that song in three notespietvo can name that song in three notespietvo can name that song in three notespietvo can name that song in three notes
 
pietvo's Avatar
 
Posts: 520
Karma: 24612
Join Date: Aug 2009
Location: Utrecht, NL
Device: Kobo Aura 2, iPhone, iPad
Select the file in Finder and do CMD-i. This should indicate with what program the file will be opened. It should be Pythonlauncher. For some reason with me Pythonlauncher will also open a Terminal window which is innocent.
pietvo is offline   Reply With Quote
Old 02-14-2010, 01:02 PM   #579
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,786
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
I do think we are getting close to a real solution for 1.7.2.
JSWolf is offline   Reply With Quote
Old 02-14-2010, 02:22 PM   #580
joblack
Wizard
joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.
 
Posts: 1,751
Karma: 4382688
Join Date: Jul 2006
Location: Somewhere on earth
Device: Onyx Boox Tab X C
update

Quote:
Originally Posted by JSWolf View Post
I do think we are getting close to a real solution for 1.7.2.
#
#! /usr/bin/python
#
# ineptkey.pyw, version 4.1
#
# To run this program install Python 2.6 from http://www.python.org/download/
#
# and PyCrypto from http://www.voidspace.org.uk/python/m...shtml#pycrypto
#
# (make sure to install the version for Python 2.6). Save this script file as
# ineptkey.pyw and double-click on it to run it. It will create a file named
# adeptkey.der in the same directory. This is your ADEPT user key.
#
# Revision history:
#
# 1 - Initial release, for Adobe Digital Editions 1.7
# 2 - Better algorithm for finding pLK; improved error handling
# 3 - Rename to INEPT
# 4.1 - quick beta fix for ADE 1.7.2 (doesn't work with ADE 1.7.1) (anon)

Works definitely not with ADE 1.7.1 or smaller but should do the trick.
joblack is offline   Reply With Quote
Old 02-14-2010, 02:40 PM   #581
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,786
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by joblack View Post
#
#! /usr/bin/python
#
# ineptkey.pyw, version 4.1
#
# To run this program install Python 2.6 from http://www.python.org/download/
#
# and PyCrypto from http://www.voidspace.org.uk/python/m...shtml#pycrypto
#
# (make sure to install the version for Python 2.6). Save this script file as
# ineptkey.pyw and double-click on it to run it. It will create a file named
# adeptkey.der in the same directory. This is your ADEPT user key.
#
# Revision history:
#
# 1 - Initial release, for Adobe Digital Editions 1.7
# 2 - Better algorithm for finding pLK; improved error handling
# 3 - Rename to INEPT
# 4.1 - quick beta fix for ADE 1.7.2 (doesn't work with ADE 1.7.1) (anon)

Works definitely not with ADE 1.7.1 or smaller but should do the trick.
It worked on the desktop, but not on the laptop. Neither had any errors. Just on the laptop it did not generate a valid key file.
JSWolf is offline   Reply With Quote
Old 02-14-2010, 03:12 PM   #582
joblack
Wizard
joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.
 
Posts: 1,751
Karma: 4382688
Join Date: Jul 2006
Location: Somewhere on earth
Device: Onyx Boox Tab X C
Quote:
Originally Posted by JSWolf View Post
It worked on the desktop, but not on the laptop. Neither had any errors. Just on the laptop it did not generate a valid key file.
Have you upgraded from 1.7.1 to 1.7.2 on your laptop or have you reinstalled it.
joblack is offline   Reply With Quote
Old 02-14-2010, 03:40 PM   #583
bookwyrm
Junior Member
bookwyrm began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Feb 2010
Device: kindle
I made some progress but still facing issues with removing DRM

Thanks for the earlier assistance I was able to use cmd-i to change IDLE to Python launcher as the application launcher. Unfortunately still having issues, it is now indicating that Pycrypto needs to be installed. I downloaded Pycrypto now multiple times and have clicked on each folder within the application. Is there a specific folder I need to re-install or do something special with to ensure the installation took on a MAC? Apologies for needing the dummies guide to this.
bookwyrm is offline   Reply With Quote
Old 02-14-2010, 03:58 PM   #584
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,786
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by joblack View Post
Have you upgraded from 1.7.1 to 1.7.2 on your laptop or have you reinstalled it.
I've upgraded ADE to 1.7.2 on the laptop.
JSWolf is offline   Reply With Quote
Old 02-14-2010, 04:02 PM   #585
pthwaite
Fanatic
pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.
 
pthwaite's Avatar
 
Posts: 597
Karma: 430
Join Date: Aug 2008
Location: Ellesmere Port, UK
Device: DR1000S Sony PRS505 iPad iPhone
bookwyrm,
Have you got the developer tools installed on your MAC? It will all go belly up unless they are installed.
pthwaite is offline   Reply With Quote
Reply

Tags
adept, adobe epub drm, ainept, drm, drm removal, drm-free epub, inept


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adobe ADEPT DRM for PDF circumvented i♥cabbages PDF 832 01-23-2013 12:23 AM
Fileopen DRM for PDF circumvented tetrachroma PDF 26 02-09-2012 07:15 AM
Barnes & Noble DRM for EPUB circumvented i♥cabbages ePub 83 01-30-2011 02:55 PM
iPhone adept drm for epub on the iphone philippd Apple Devices 24 12-28-2009 02:29 PM
Adobe ePub DRM cracked? Alexander Turcic News 144 02-28-2009 10:54 AM


All times are GMT -4. The time now is 11:04 PM.


MobileRead.com is a privately owned, operated and funded community.