Closed yveszoundi closed 2 years ago
Have you test your code ? I can't not get expected result of loading a password protected document by your given example in doc . LibreOffice crashed.
Apologies, there were some left overs that I forgot to remove: the code was only tested on Void Linux.
I'll also provide along a minimal repo for reproducible tests.
I also just noticed some differences on Ubuntu (likely similar issues with Debian maybe): I'll review and test more later today.
It is fixed, I had an issue with cargo and its cache on Ubuntu, I just targeted the last git sha for this pull request (in my reproducible test repo per notes below).
Reproducible results (re-tested on Void Linux and Ubuntu):
Great, it worked.
initial support for password-protected files
Office::set_document_password