Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > PDF

Notices

Reply
 
Thread Tools Search this Thread
Old 08-24-2009, 08:49 PM   #466
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 JohnTheRipper View Post
This is the encrypted key:

<encryptedKey>PDN/JFFoDC6XKdI1SOeOA3uLtgbaRmvGPf9gSwQOVOMvq3YQS/yDnTnx+oQoXR9lZF+V/pbGZ
g6UktG8iGSKG/6HrgyHIfnDo+6G4jqeX/0EEUunPS6O+h3SP56cvThtyaxVv0ayXhserM9cFY89KTTxcK0U bso0H4cqirlWR1c=</encryptedKey>

taken from the base64-decoded rights of the uncompressed ADEPT_LICENSE's xml. Then it applies an rsa decrypt, but it seems not to be correct. The ebx_V and ebx_type seems to be get ok (3 and 6). Actually, ineptpdf v2 decrypts but streams seems to be corrupted (i.e. not correctly decrypted) so I can see pages like in ADE.

Sure ILC has made a extremely good job, but part of the script is based on PDFParser from pdfminer..

I have no time now to reverse-engineer what ADE does when opens a DRM, it uses CRYPT32.DLL and CryptUnprotectData...

----------------

PDFMiner v20090824.
dumppdf said:

raise PDFEncryptionError('Unknown filter: param=%r' % param)
pdfminer.pdfparser.PDFEncryptionError: Unknown filter: param={'EBX_SELLER_URL': '', ...
... , 'Filter': /EBX_HANDLER, 'Length': 128, 'EBX_PUBLISHER_URL': '', 'V': 3}
RSA isn't used to decrypt the whole pdf it's only to decrypt the symmetric key (the former would be too slow). I know it comes from pdf miner but pdf miner has no dump method and almost no cryptological methods.
joblack is offline   Reply With Quote
Old 08-25-2009, 03:15 AM   #467
JohnTheRipper
Enthusiast
JohnTheRipper began at the beginning.
 
Posts: 28
Karma: 42
Join Date: Aug 2009
Device: none
I mean that RSA is applied to the key; the whole pdf is supposed to be rc4 encrypted.

I think the problem is in initialize_ebx, not in dump. I don't understand when :

if ebx_V < 4 or ebx_type < 6:
V = ord(bookkey[0])
bookkey = bookkey[1:]

this produces (shorten bookkey length from 16 to 15) the error because the length doesn't match (not equal to 16)..

Last edited by JohnTheRipper; 08-25-2009 at 05:31 AM.
JohnTheRipper is offline   Reply With Quote
Old 08-27-2009, 12:43 PM   #468
caterpillar
Junior Member
caterpillar began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Aug 2009
Device: none
Hi all! I'm new to this forum. I applied ineptpdf for my McGraw-Hill ebook and I got:

· ineptpdf v2 => said "successfully decrypted" but it contained only blank-pages
· ineptpdf v3 => said "error decrypting book session key"
· ineptpdf v4 => said "error decrypting book session key"

Any help would be appreciated!
caterpillar is offline   Reply With Quote
Old 08-28-2009, 11:19 AM   #469
JohnTheRipper
Enthusiast
JohnTheRipper began at the beginning.
 
Posts: 28
Karma: 42
Join Date: Aug 2009
Device: none
We are discussing right now about the problem. What pdf version and EBX_HANDLER version do you have in your PDF?

I have the same problem and no solution yet

Last edited by JohnTheRipper; 08-28-2009 at 12:43 PM.
JohnTheRipper is offline   Reply With Quote
Old 08-28-2009, 06:26 PM   #470
caterpillar
Junior Member
caterpillar began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Aug 2009
Device: none
Hi Johntheripper, thank you for your response! My pdf file uses 128 bit EBX_HANDLER and PDF-1.3.
caterpillar is offline   Reply With Quote
Old 09-03-2009, 03:24 AM   #471
userman
Junior Member
userman began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Sep 2009
Device: none
Hi,

for decrypt a ebook I need decrypt it from the pc/buy? because when i buy a ebook i can decryp it with inetpdf but when i get a ebook buyed from another computer i can not decrypt.

(sorry for my bad english)
userman is offline   Reply With Quote
Old 09-03-2009, 09:54 AM   #472
wallcraft
reader
wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.
 
wallcraft's Avatar
 
Posts: 6,977
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
Quote:
Originally Posted by userman View Post
for decrypt a ebook I need decrypt it from the pc/buy? because when i buy a ebook i can decryp it with inetpdf but when i get a ebook buyed from another computer i can not decrypt.
The way it is supposed to work is that you can decrypt any PDF bought for the same AdobeID as your PC. A single AdobeID can be associated with 6 devices (Windows PCs or Macs or EInk Readers). If the other computer was registered to another AdobeID, then your key won't work to decrypt it.
wallcraft is offline   Reply With Quote
Old 09-03-2009, 10:56 AM   #473
userman
Junior Member
userman began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Sep 2009
Device: none
wallcraft sure, I know it now.

Thanks.
userman is offline   Reply With Quote
Old 09-04-2009, 03:44 AM   #474
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,624
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
So you can only decrypt your own DRMed files for interoperability purposes.
Sounds fair. And it works nicely.
roger64 is offline   Reply With Quote
Old 09-04-2009, 03:57 AM   #475
JohnTheRipper
Enthusiast
JohnTheRipper began at the beginning.
 
Posts: 28
Karma: 42
Join Date: Aug 2009
Device: none
Quote:
Originally Posted by roger64 View Post
So you can only decrypt your own DRMed files for interoperability purposes.
Sounds fair. And it works nicely.
Not all DRMed PDFs are currently possible to decrypt... the book session key error remains

Some of us are waiting for a new version of the ineptpdf that solves this problem
JohnTheRipper is offline   Reply With Quote
Old 09-04-2009, 09:34 AM   #476
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,624
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
OK. I did not do extensive trials.

On the epubfront, I got an excellent result with the v.2 version of the script and I failed with v.3. I don't know why.

Last edited by roger64; 09-04-2009 at 09:43 AM.
roger64 is offline   Reply With Quote
Old 09-07-2009, 12:28 AM   #477
JohnAppleseed0
Member
JohnAppleseed0 began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Oct 2008
Device: Kindle
I don't think any update is forthcoming. The author has disappeared, and no one here seems really capable of solving the situation
JohnAppleseed0 is offline   Reply With Quote
Old 09-07-2009, 11:14 PM   #478
elfwood
Junior Member
elfwood began at the beginning.
 
Posts: 6
Karma: 44
Join Date: Aug 2009
Device: none
Since I'm a total tech idiot, here's the dumb question of the day.
There are times that I'd like to switch an epub or adobe pdf ebook from one computer to another. Is there any way to do that?

Sometimes I could just return the book to the library, then check it out on the other laptop. But that won't work if there is a waiting list.

Still crabby about the epub font mess. I'd really like to have more control over the font choices--the way it is with adobe pdf--especially since the e-library I use seems only to be buying epub now.

elle
elfwood is offline   Reply With Quote
Old 09-09-2009, 12:57 PM   #479
conant
Junior Member
conant began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Sep 2009
Device: none
As I noticed that the scripts were no longer existed. Anyone can pm me an address? Much appreciation!~
conant is offline   Reply With Quote
Old 09-09-2009, 01:59 PM   #480
krischik
Addict
krischik can extract oil from cheesekrischik can extract oil from cheesekrischik can extract oil from cheesekrischik can extract oil from cheesekrischik can extract oil from cheesekrischik can extract oil from cheesekrischik can extract oil from cheesekrischik can extract oil from cheesekrischik can extract oil from cheese
 
krischik's Avatar
 
Posts: 334
Karma: 1234
Join Date: Jul 2009
Location: Hindelbank, Switzerland
Device: P990i, PRS 505
See Mobipocket.

Quote:
Originally Posted by conant View Post
As I noticed that the scripts were no longer existed. Anyone can pm me an address? Much appreciation!~
Well there is a very interesting thread at Mobipocket which might enlighten you.

Yes, still there, still not censored.

Martin
krischik is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fileopen DRM for PDF circumvented tetrachroma PDF 26 02-09-2012 07:15 AM
Adobe ADEPT DRM for EPUB circumvented i♥cabbages ePub 969 08-28-2011 08:52 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 PDF DRM? valkyriesound Sony Reader 7 02-16-2007 11:25 PM


All times are GMT -4. The time now is 04:33 AM.


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