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)
-   -  

ineptepub.pyw error: Problem decrypting session key

(http://stream-recorder.com/forum/showthread.php?t=5823)

Laurentiu 02-09-2010 08:22 AM

ineptepub.pyw error: Problem decrypting session key


 
hello everyone,

I had no problems installing and then removing the DRM from epub and PDF files, however, sometimes this method does not work. I get an error message saying 'Error: problem decrypting session key'. Does anyone know how to get around this?

Many thanks in advance!

L

HamletofWI 02-09-2010 09:39 AM

Re: ineptepub.pyw error: Problem decrypting session key


 
I am getting the same problem as the last post for the two books I have tried to remove DRM from:

Quote:

I also am trying this stuff. I have everything loaded and I created the adeptkey.der ok when I load this stuff into the ineptepub.pyw box it states at the top of the box:
Error: Problem decrypting session key
Am I missing something?
I have all of the files you discussed loaded
Thanks!
I followed all the procedures described originally and every thing works fine until after selecting the files in the dialog box for input and output and clicking decrypt I get the error:
Quote:

Error: Problem decrypting session key
Per an earlier post on the same issue I unzipped one of the EPUB files I was attempting to remove the DRM from and found this code as the first line of the rights.xml file:
HTML Code:

<?xml version="1.0"?><adept:rights xmlns:adept="http://ns.adobe.com/adept"><licenseToken xmlns="http://ns.adobe.com/adept">
I am now at a loss as to what to try.

Stream Recorder 02-09-2010 10:37 AM

Re: ineptepub.pyw error: Problem decrypting session key


 
Quote:

Originally Posted by HamletofWI (Post 16491)
I followed all the procedures described originally and every thing works fine until after selecting the files in the dialog box for input and output and clicking decrypt I get the error:
Quote:

Error: Problem decrypting session key

If you try to remove DRM from B&N ebooks, see the following thread:
How to remove DRM protection from B&N (Barnes & Noble) EPUB ebooks


Another problem is that ADE 1.7.2 changed how the key information is stored. If you have adeptkey.der generated prior to ADE 1.7.2, you can use it to remove DRM protection from ebooks downloaded before updating ADE to version 1.7.2.

Quote:

Originally Posted by ILoveCabbages
Solution #1:
  1. Uninstall your Adobe Digital Editions if you have the latest version 1.7.2
  2. Download the stand-alone installer for version 1.7.1 and install -
    _http://download.macromedia.com/pub/developer/digitalpublishing/digitaleditions1_7_setup.exe
  3. When I ran the old version for the first time, it carped about needing to update in 44 days, I assume that you'll just be able to reinstall later ?
  4. Hold down Shift-Ctrl-D to de-authorize your PC. Digital Editions should close, but if it doesn't then restart.
  5. Re-authorize your PC as per usual
  6. ..now try running the ineptkey and ineptepub scripts again - this worked for me !

Solution #2:
  1. Just uninstall the new version, delete the ADEPT folder in the Registry.
    HKEY_CURRENT_USER>Software>Adobe>ADEPT
  2. Delete the My Digital Editions folder in My Documents.
  3. Reboot computer.
  4. Re-install the old version provided in the link below.
    Code:

    http://drop.io/a1bdxlq
    (check all downloads with VirusTotal or any good antivirus)
  5. Reactivate ADE.
  6. Run the Ineptkey again to obtain the Adeptkey.der.
  7. Then you should be good to go.

Note:
Digital Editions will not download any new eBooks while it knows there is a newer version of itself available.

It is probably possible to work around this by figuring out what the update server is and block it by updating the hosts file or using a firewall etc etc,

..so to cut a long story short, I updated Digital Edition back to 1.7.2 but kept a copy of the key I grabbed from the 1.7.1 version and it still allows decrypting.

You can also re-download EPUB ebooks that were downloaded when using ADE prior to 1.7.2, then generate new adeptkey.der with inteptkey v.4.3 or ineptkeymac v.1. After that you can remove DRM protection using one ineptepub or aineptepub.

It is recommended to use ADE 1.7.2 and re-download ebooks (instead of downgrading ADE to v.1.7.1.)

HamletofWI 02-09-2010 04:19 PM

Re: ineptepub.pyw error: Problem decrypting session key


 
Yeah, I had already found that suggested fix from another source. Unfortunately I went through the suggested procedure of removing the latest version of Digital Editions, installing the older version, and registering that. I then generated the new key file, but still encountered the same error:
Code:

Problem decrypting session key
as before. It was not a Barnes and Noble EPUB book; it is one I just recently purchased from Sony. So unless there is something else I’m doing wrong I guess I am out of luck. Thanks for your attempt to help though.

Slight rant. I actually have no problem with DRM as a means to protect intellectual property rights to prevent others distributing free copies of copyright material. What I object to is that if I buy an ebook from Sony I can view that on a Sony ebook viewer, but not on any other device. So if I replace my Sony with, say a Kindle, I have to buy the same book again. If this keeps up with each ebook viewer manufacturer having a proprietary format for ebooks that can only be viewed on their device it will severely restrict the growth for all.

Stream Recorder 02-09-2010 10:32 PM

Re: ineptepub.pyw error: Problem decrypting session key


 
Please try to do the following again. I haven't seen any problems with the following solution yet:
  1. Uninstall the new version of ADE
  2. Delete the ADEPT folder in the Registry.
    HKEY_CURRENT_USER>Software>Adobe>ADEPT
  3. Delete the "My Digital Editions" folder in "My Documents".
  4. Reboot computer.
  5. Re-install the old version provided in the link below
    Code:

    http://drop.io/a1bdxlq
    (check for viruses)
  6. Reactivate ADE.
  7. Run the Ineptkey again to obtain the Adeptkey.der.
  8. Then you should be good to go.

Some users even tried the update again, and still were able to remove DRM.

HamletofWI 02-16-2010 07:56 PM

Re: ineptepub.pyw error: Problem decrypting session key


 
In frustration I put this whole business aside for a few days. The break inspired me to fresh thinking about the problem. The epub books I was having a problem with I had downloaded some time ago onto my previous computer. When I bought my new computer I just copied the files over. So anyway I deleted these old files and then downloaded them once more from my Sony ebook store account. Problem solved. The procedure worked perfectly to strip the DRM. Thanks so much for your help. Now if I could just remove the DRM from a couple of books I have in PDF format. ;).

Drisanna 03-02-2010 06:21 AM

Re: ineptepub.pyw error: Problem decrypting session key


 
I used Solution #1 without success. However, when I went back and used Solution #2 (involving editing the registry), it worked like a charm. You can even upgrade back to 1.7.2 after retrieving your key in 1.7.1 so you can download new material. As long as you don't try and grab your key again, all is ducky. I made several copies of my key and scattered them around various machines and drives just so that I would always have available in case I did something stupid, like double-clicking the wrong file. :)

shazzy4000 03-04-2010 10:22 AM

Re: ineptepub.pyw error: Problem decrypting session key


 
While this thread has been very helpful in some regards, I am still having one problem.

I am going for Solution 2 in this case.

When I run ineptepub.pyw or ineptpdf.pyw, the input section does not recognize any of my files which I need to break the DRM of!

Am I doing something wrong? Do the files I need 'decrypting' need to be in a specific folder?

Stream Recorder 03-04-2010 10:23 PM

Re: ineptepub.pyw error: Problem decrypting session key


 
Quote:

Originally Posted by shazzy4000 (Post 16961)
While this thread has been very helpful in some regards, I am still having one problem.

I am going for Solution 2 in this case.

When I run ineptepub.pyw or ineptpdf.pyw, the input section does not recognize any of my files which I need to break the DRM of!

Am I doing something wrong? Do the files I need 'decrypting' need to be in a specific folder?

Where did you buy your ebooks and in what format?

shazzy4000 03-11-2010 01:12 AM

Re: ineptepub.pyw error: Problem decrypting session key


 
Quote:

Originally Posted by Stream Recorder (Post 16966)
Where did you buy your ebooks and in what format?

Sorry for the delay on this.

I bought these books from infibeam.com, these are Adobe Digital Editions and epubs.

Hope this is sufficient information.

Thanks, anyway!


All times are GMT -6. The time now is 08:46 AM.