Watch out for 'space' and '-' in passwords. I've seen problems with leading spaces, and between Mac and Windows (that only with Acrobat-X passwords)

Marc

On 7/18/2023 12:57 AM, Steven Davies wrote:
Hi,

I am using PDFbox to test whether a password is correct for a protected PDF before handling it with a different process. This is working for the vast majority of files I receive but from one particular source PDFbox reports an invalid password when the files can be opened without complaint in GUI applications (Adobe Reader et. al.).

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org

Reply via email to