Gary, Create an issue on JIRA[1], attach your patch file (and make sure click the option so it can be included under the Apache License), and we'll check give it a try and see if we can get it included in the next release. Also, if you can upload a PDF file which demonstrates the problem that'll let us confirm it's working as expected and do some debugging / analysis.
[1] https://issues.apache.org/jira/browse/PDFBOX ---- Thanks, Adam From: Gary LosHuertos <[email protected]> To: [email protected] Date: 08/27/2010 15:04 Subject: Re: Can't decrypt with default password, but can open without password The issue, as it turns out, is that Adobe added a section to the standard when crypt filters were added. In my case, the StrF and StmF use the same algorithm as would be used without crypt filters, so that's not an issue. The real issue here is that "EncryptMetadata", which was added with crypt filters, passes 0xFFFFFFFF to the MD5 hash following the first element of the file's identifier array, when EncryptMetadata is false (it defaults to true). I've developed a fix and verified it for my use case. I've never submitted code to a project in my life; I'm guessing I should bring it up on the dev list. Gary On Fri, Aug 27, 2010 at 3:19 PM, Andreas Lehmkuehler <[email protected]>wrote: > Hi, > > Am 27.08.2010 21:10, schrieb Gary LosHuertos: > > The encryption dictionary is as follows (I omitted the user and owner >> strings): >> 132 0 obj<</R 4/Length 128/Filter/Standard/O(...)/P -1324/U(...)/V >> 4/CF<</StdCF<</Length >> 16/CFM/V2/AuthEvent/DocOpen>>>>/StmF/StdCF/StrF/StdCF/EncryptMetadata >> false>> >> endobj >> > Looks like the "new" encryption algorithm which isn't supported yet. > See [1] for further details. > > BR > Andreas Lehmkühler > > [1] https://issues.apache.org/jira/browse/PDFBOX-697 > ? Click here to submit conditions This email and any content within or attached hereto from Sun West Mortgage Company, Inc. is confidential and/or legally privileged. The information is intended only for the use of the individual or entity named on this email. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or the taking of any action in reliance on the contents of this email information is strictly prohibited, and that the documents should be returned to this office immediately by email. Receipt by anyone other than the intended recipient is not a waiver of any privilege. Please do not include your social security number, account number, or any other personal or financial information in the content of the email. Should you have any questions, please call (800) 453 7884.

