17
Jun
10

Upgrade to ineptpdf 8.3.1: bug fix for the “specified key file does not exist” error

If you don’t have an adeptkey.der file in your script directory, the ineptpdf 8.3 or earlier is throwing a “specified key file does not exist” exception. Of course you don’t need the key file for FileOpen decryption but because of the hybrid structure of the script (supports ADEPT and Fileopen PDFs) this option is needed.

Grab ineptpdf 8.3.1 (or higher) for a clean solution or create an adeptkey.der file in your script directory even if you only use FileOpen PDFs (for FileOpen the file doesn’t have to have any content).

About these ads

10 Responses to “Upgrade to ineptpdf 8.3.1: bug fix for the “specified key file does not exist” error”


  1. 1 fri.K
    June 18, 2010 at 3:57 pm

    Hello
    I’m using ineptpdf 8.3.1 but I got this error http://img143.imageshack.us/img143/9908/pdferror.png It happens on WinXP SP3 32bit and Win7 x86_64. Pdf is protected by “FileOpen WebPublisher (FOPN_foweb) 128-bit security v.2″. Where is a problem?

    • June 18, 2010 at 5:28 pm

      It’s all right, you get the key but the script isn’t recognizing it. The updated ineptpdf 8.3.2 should be more tolerant about non-standard return values.

  2. 3 Gordon
    June 18, 2010 at 5:03 pm

    Thanks for the quick update! It’s pretty cool of you to put this together, and to respond so quickly. I tried it again and it’s now returning “Error: No module named win32api” but it is possible that my file is of the older fileopen variety. It’s a recently acquired copy of an old publication, so it may use the old method. Thank you anyway.

    • 4 Gordon
      June 18, 2010 at 5:07 pm

      And I’m stupid. I’m on windows 7.

    • June 18, 2010 at 5:39 pm

      Do you have Python 2.6 installed? It should include the Python module win32api. It’s best to use the python version mentioned in the script’s comment section or search for a way to install the win32api Python module on your machine. Without this module there is no way to run the script.

      I’m using Windows 7 as well (the 64 Bit Edition, Python 2.6 + PyCrypto as a 32 bit version).

      For Python related problems (like can’t find module xxx, …) you might study the info section on I love Cabbages site or read about the ADEPT PDF thread on mobileread.com. The script has the same requirements as the original ineptpdf script.

      As far as I can see it’s not a problem of your pdf.

      By the way, if the script isn’t recognizing the fileopen security handler it will give you a hint (something like ‘unknown security handler ;) ).

      • 6 Gordon
        June 18, 2010 at 9:28 pm

        I have python 2.6 32bit installed. Checking it out now. . .

      • 7 Gordon
        June 18, 2010 at 9:39 pm

        Victory! I installed pywin32 by mhammond, ran the 8.3.2 and it worked like a charm. You’re amazing. Thanks again!

  3. July 1, 2013 at 3:21 pm

    Very nice post. I just stumbled upon your weblog and wished to say that I have truly
    enjoyed browsing your blog posts. After all I will be
    subscribing to your feed and I hope you write again soon!

  4. 9 Danny
    April 20, 2014 at 5:54 pm

    Can anyone tell me how to format a text file in order to load it into INEPTPDF 8.4.51 as a key? The key I have (linked from this site) is in this format:

    domain.tld principal key
    obtained 29/03/2012

    [characters go here]=

    I haven’t been able to get it to work by tweaking the script.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 130 other followers

Recent Posts


Follow

Get every new post delivered to your Inbox.

Join 130 other followers

%d bloggers like this: