empira / PDFsharp

PDFsharp and MigraDoc Foundation for .NET 6 and .NET Framework
https://docs.pdfsharp.net/
Other
492 stars 114 forks source link

异常:The encryption revision value must be 6 for encryption version 5. #169

Closed lld1995 closed 3 days ago

martinossendorf commented 3 days ago

We recently added support for loading old files of deprecated revision 5 created with other tools, which use encryption version 5, too. Due to this we changed some conditions. But newly created documents of encryption version 5 should always be of revision 6. Please provide more information, if You think PDFsharp lacks this requirement.