Repository navigation
Failed To Decrypt While Fileopen works correclty. #1
Description
Activity
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?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 😄
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: Choose995as the build number, and that's all!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: Choose995as 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
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: Choose995as 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
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 line2285: Choose995as 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?
Hi @hasaom,
I'm not sure if the fix I found will be still working.
The only change I did was at line2285:
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
ineptpdfsince Jun-2020), or you guessed incorrectly the build number. There is high chance that FileOpen's servers have been "fixed" so thatineptpdfcan 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.
@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,
For anyone finding this, as of June 2021 build number is
996is working for me.995didn't.Reacted by hasaomReacted by Brett Downing and hasaomChanging the build number of the script to 995 worked for me as well - thanks so much for this!
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 usercompared to OP, the response is way much shorter. Any thoughts?
- 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>.
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,- 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>.
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?
thanks19 remaining items
Yes you should see content, its technical norm locked with fileopen:
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.
Reacted by BondovicThanks, I'll give it a look :)
Reacted by Jackdaw, GFA and chrsharvick29Anyone 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.
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)
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?try the updated script @asi2233 @chrsharvick29
@WeAreLegion999 Can you tell me where I can get the updated script? Thanks
@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
@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'

@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'@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.
- Thank you for your help. It works after making changes to the script to comply with BSI standards. However, when I tried running the script with ANSI and BISCI standards, it produced errors. For ANSI, it showed 'Not a fileopen-encrypted file,' and for BISCI, it displayed an error 'Unexpected EOF.' Although the script still managed to generate an output file for BISCI, but the PDF file is corrupted.…On Tue, Mar 19, 2024 at 5:56 PM AnonymousPanda ***@***.***> wrote: @asi2233 <https://github.com/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. — Reply to this email directly, view it on GitHub <#1 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AZPN4TTWT4MFWC36UEKA6WLYZAYZFAVCNFSM4HWHLJFKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBQG4YTANZTGEZA> . You are receiving this because you were mentioned.Message ID: ***@***.***>
@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.
@WeAreLegion999 Both files are protected by FileOpen DRM, as they require the FileOpen plugin to open
Hi, @WeAreLegion999 is there any solution for this error: 'Error: 'utf8' codec can't decode byte 0x85 in position 1: invalid start byte'?

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=8651bc5a104447d48ebf11eeebb972dais any help is possible?
thanks in advance
best regards