Skip to content

Failed To Decrypt While Fileopen works correclty. #1

Description

@SalmaBegumJSR

Greetings sir,
i am trying to decrypt a file open protected pdf file. but how much and whenever i try.. i get following response:

RetVal=Error&Error=Document%20Access%20Denied.A%20component%20required%20for%20viewing%20this%20document%20needs%20to%20be%20updated%2C%20please%20re-install%20the%20FileOpen%20plug-in.&LogUrl=https%3A%2F%2Fplugin.fileopen.com%2F&ServerSessionData=408c95cd19ce4bcc8d23f3da24442a00&DocumentSessionData=8651bc5a104447d48ebf11eeebb972da
is any help is possible?

thanks in advance
best regards

Activity

  1. m3us commented on Oct 23, 2019

    @m3us

    I had luck decrypting a fileopen PDF but I had access to the PDF before I did it.
    Can you open the PDF on your PC?

  2. skutter-x86 commented on Jun 9, 2020

    @skutter-x86

    I currently have the same problem. The error says that plugin version needs to be updated, but I installed that recently.
    Of course, I can successfully open the PDF, but this script seems to fail decrypting it.

    Next step would be using "PrintScreen" for each page, but this would be a cumbersome task 😄

  3. skutter-x86 commented on Jun 9, 2020

    @skutter-x86

    I tried to figure out this issue myself, with success! 😃
    You only need to modify which version of FileOpen the script is reporting to FileOpen's servers.

    Edit line 2285: Choose 995 as the build number, and that's all!

  4. viTRifY13 commented on Feb 23, 2021

    @viTRifY13

    I tried to figure out this issue myself, with success! 😃
    You only need to modify which version of FileOpen the script is reporting to FileOpen's servers.

    Edit line 2285: Choose 995 as the build number, and that's all!

    I just spent a couple of hours searching for a solution. Thanks a million skutter-x86!!!! Your modification worked perfectly

  5. hasaom commented on Apr 25, 2021

    @hasaom

    I tried to figure out this issue myself, with success! 😃
    You only need to modify which version of FileOpen the script is reporting to FileOpen's servers.

    Edit line 2285: Choose 995 as the build number, and that's all!

    Could you please let me know which code do you use and is it possible to share with me? Thanks

  6. hasaom commented on Apr 25, 2021

    @hasaom

    I tried to figure out this issue myself, with success! 😃
    You only need to modify which version of FileOpen the script is reporting to FileOpen's servers.
    Edit line 2285: Choose 995 as the build number, and that's all!

    I just spent a couple of hours searching for a solution. Thanks a million skutter-x86!!!! Your modification worked perfectly

    Could you please share with me your corrected code that I should use?

  7. skutter-x86 commented on Apr 26, 2021

    @skutter-x86

    Hi @hasaom,

    I'm not sure if the fix I found will be still working.
    The only change I did was at line 2285:
    Replace this:
    self.fileopen['Build']='879'
    With that:
    self.fileopen['Build']='995'

    If FileOpen version or build number has changed since Jun-2020, you probably need to have these numbers updated also in the Python script. When installing FileOpen you can guess the build number and use it at line 2285.

    If your problem persists, maybe this solution is no longer applicable (I have not used ineptpdf since Jun-2020), or you guessed incorrectly the build number. There is high chance that FileOpen's servers have been "fixed" so that ineptpdf can no longer be used.

    Just try, keep trying, and let's see what happens! 👍

    EDIT: And, there is another hurdle in your path: you have to use Windows if you want to use this "fix", I think.

  8. hasaom commented on Apr 26, 2021

    @hasaom

    @skutter-x86, Thanks for replying to my comment. Could you please let me know where I should download the files for python code and other related materials? Thanks,

  9. tbishop9 commented on Jun 4, 2021

    @tbishop9

    For anyone finding this, as of June 2021 build number is 996 is working for me. 995 didn't.

  10. BlackDog6469 commented on Aug 26, 2021

    @BlackDog6469

    Changing the build number of the script to 995 worked for me as well - thanks so much for this!

  11. aquac commented on Sep 28, 2021

    @aquac

    Neither 995 nor 996 seems to do the trick for me.
    I can open the PDF in Adobe but the script tells me:

    1st preresult
    RetVal=0&Error=You are not permitted to open this document.  It may be assigned to another user
    

    compared to OP, the response is way much shorter. Any thoughts?

  12. hasaom commented on Sep 30, 2021

    @hasaom
  13. cri9991 commented on Oct 4, 2021

    @cri9991

    Read the build number from your program list and then use that build number. My build number is 994 and it did work for me.
    …
    On Tue, Sep 28, 2021 at 9:31 AM aquac @.***> wrote: Neither 995 nor 996 seems to do the trick for me. I can open the PDF in Adobe but the script tells me: 1st preresult RetVal=0&Error=You are not permitted to open this document. It may be assigned to another user compared to OP, the response is way much shorter. Any thoughts? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#1 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AT2M4GXNPYO4L4EG2FUEZGTUEGDQHANCNFSM4HWHLJFA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

    hello,
    Could you please let me know where I should download the files for python code and other related materials? Thanks,

  14. hasaom commented on Oct 5, 2021

    @hasaom
  15. cri9991 commented on Oct 6, 2021

    @cri9991

    Click here ineptpdf.py https://github.com/alaingilbert/ineptpdf/blob/master/ineptpdf.py and then follow the information there.
    …
    On Mon, Oct 4, 2021 at 11:50 AM cri9991 @.> wrote: Read the build number from your program list and then use that build number. My build number is 994 and it did work for me. … <#m_-1773230539037021269_> On Tue, Sep 28, 2021 at 9:31 AM aquac @.> wrote: Neither 995 nor 996 seems to do the trick for me. I can open the PDF in Adobe but the script tells me: 1st preresult RetVal=0&Error=You are not permitted to open this document. It may be assigned to another user compared to OP, the response is way much shorter. Any thoughts? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#1 (comment) <#1 (comment)>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AT2M4GXNPYO4L4EG2FUEZGTUEGDQHANCNFSM4HWHLJFA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub . hello, Could you please let me know where I should download the files for python code and other related materials? Thanks, — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#1 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AT2M4GT56LIOUTJK2H2TCN3UFGIJDANCNFSM4HWHLJFA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

    i don't found this programm

    "PyCrypto from http://www.voidspace.org.uk/python/modules.shtml#pycrypto".

    because voidspace is not available
    where can I find it?
    thanks

  16. 19 remaining items

  17. Oriann commented on Mar 28, 2023

    @Oriann

    Yes you should see content, its technical norm locked with fileopen:

    Preview of first page:
    Snímek obrazovky 2023-03-28 204508

    EDIT: Also you should know that its does not use password protection but it uses third-party app authorization via remote server. I am able to unlock this file with my credentials as registered user and with installed fileopen. I unlocked this before with asp net session cookie. But it stopped working suddenly.

  18. alaingilbert commented on Mar 28, 2023

    @alaingilbert
    Owner

    Thanks, I'll give it a look :)

  19. chrsharvick29 commented on Sep 21, 2023

    @chrsharvick29

    Anyone have any luck getting past the DRM on build 998? I'm receiving "Cannot find decryption key." error. I found a workaround by using the Adobe Acrobat Pro to export the pdf to Microsoft Word but unfortunately this doesn't provide a good translation on mathematical expressions. Another workaround is to export as images. You can use Acrobat to combine the exported images into a PDF, then optimize to make the file size smaller. I'm using this option as the other would be to print and scan the doc.

  20. viTRifY13 commented on Nov 5, 2023

    @viTRifY13

    Hi! I've used the script ineptpdf_8.4.51.pyw for two years with success. Now ineptpdf_8.4.51.pyw doesn't work anymore. The error is on line nr. 1779: raise ADEPTError('No internet connection or a blocking firewall!')

    I've tried the script on many different PCs that I'm sure it worked correctly, and now none of them work anymore. I've tried in my office, at home, by cell using tethering, and the script doesn't work. So internet works correctly, and is not a firewall issue.

    I modified line nr. 2285 with my FileOpen build: the 998. nothing changes...

    the answer of remote server is: RetVal=0&Error=SettingReq Unsupported Request.

    Can you help me?

    Thank you for your help.

    Upgrade your Python 2.7.x to 2.7.18 (https://www.python.org/downloads/release/python-2718/). Just use the x86 msi file (not the x64)

  21. asi2233 commented on Nov 26, 2023

    @asi2233

    I want to remove FileOpen DRM from a PDF with the INEPTPDF 8.4.51 tool.
    But I always get this error message:
    "Error: Cannot find decryption key."
    Is there any known solution?

  22. WeAreLegion999 commented on Mar 12, 2024

    @WeAreLegion999

    try the updated script @asi2233 @chrsharvick29

  23. asi2233 commented on Mar 12, 2024

    @asi2233

    @WeAreLegion999 Can you tell me where I can get the updated script? Thanks

  24. WeAreLegion999 commented on Mar 12, 2024

    @WeAreLegion999

    @asi2233 https://github.com/noDRM/DeDRM_tools/tree/master/Other_Tools/Tetrachroma_FileOpen_ineptpdf

    add this somewhere in the very beginning of the script if youre getting an error about binascii:

    import binascii

  25. asi2233 commented on Mar 17, 2024

    @asi2233

    @WeAreLegion999 Thanks for the link. The updated script isn't working for the BSI standard. I tried it with two different standards, but encountered the same error: 'Decryption was not successful'
    image (3)

  26. WeAreLegion999 commented on Mar 19, 2024

    @WeAreLegion999

    @asi2233 did you change the fileopen version in the script to the latest version 998 everywhere in the code (in line 2117 and 2171)?
    change line 2117
    self.fileopen['Build']='878'
    to
    self.fileopen['Build']='998'

    and line 2171 from
    self.fileopen['Build']='879'
    to
    self.fileopen['Build']='998'

  27. WeAreLegion999 commented on Mar 19, 2024

    @WeAreLegion999

    @asi2233 i just tried with a fresh BSI standard download protected with FileOpen, and the error that you were getting was resolved by updating the 2 lines in the script to the current version as I have outlined above, so it definitely works with the BSI Standards.

  28. asi2233 commented on Mar 19, 2024

    @asi2233
  29. WeAreLegion999 commented on Mar 20, 2024

    @WeAreLegion999

    @asi2233 it is possible they may be protected with other forms of DRM as stated in the error message, and not FileOpen DRM. An unexpected EOF is generally caused by an incompletely compiled input PDF.

  30. asi2233 commented on Mar 28, 2024

    @asi2233

    @WeAreLegion999 Both files are protected by FileOpen DRM, as they require the FileOpen plugin to open

  31. asi2233 commented on Jul 10, 2024

    @asi2233

    Hi, @WeAreLegion999 is there any solution for this error: 'Error: 'utf8' codec can't decode byte 0x85 in position 1: invalid start byte'?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions