Closed jaredglaser closed 1 year ago
We find that with this fix applied, password-encrypted PDF documents cannot be opened.
We find that with this fix applied, password-encrypted PDF documents cannot be opened.
I expected that. MD5 is needed to open existing documents, even if better methods are used to encrypt new files.
Set Local Security Policies with care. Use this patch only when MD5 is not needed for old documents.
Even documents encrypted with the patch will not open.
It seems the PR is incomplete and not thoroughly tested, so I close it for now.
PDFSharp does not work when the Local Security Policy is set in certain configurations. Specifically when "System cryptography: Use FIPS compliant algorithms for encryption, hashing, and signing" is set to "Enabled".