undeflife / libreoffice-rs

Rust binding to LibreOfficeKit
Apache License 2.0
15 stars 7 forks source link

Fix #2 #3

Closed yveszoundi closed 2 years ago

yveszoundi commented 2 years ago

initial support for password-protected files

undeflife commented 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.

yveszoundi commented 2 years ago

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.

yveszoundi commented 2 years ago

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):

undeflife commented 2 years ago

Great, it worked.