-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support password protected/encrypted files #351
Comments
@TomTasche do you know if this runs the core backend or the online one? |
This is online, we don't parse XLSX locally yet: https://github.com/opendocument-app/OpenDocument.droid/blob/main/app/src/main/java/at/tomtasche/reader/background/OoxmlLoader.java#L31 |
Apologies I assumed the app would support various types of OpenDocument formats |
I think this should work @marcel263 - does this only show up for a single file or all of the encrypted XLSX? In case this only happens for a specific file would you be able to share it with us? |
encrypted.xlsx Could not reproduce the problem in core but the file does not load correctly in the app. I guess that is a workflow problem in the android code @TomTasche |
Dear, the attached file was created with Calc 7.6.6.3 on Linux x86_64. It was password-protected with "password". It reproduces the app's issue of not opening. |
@TomTasche do you know why this might happen? |
I couldn't remember how we handle XLSX so I had to dig it up myself: we upload them to our own server, which uses the LibreOffice CLI to convert the file to PDF and then return that PDF to the client for rendering: https://github.com/opendocument-app/OpenDocument.server/blob/master/index.js Looks like I simply never thought of password-protected files while implementing the server... We would need to add a server response accordingly and handle that on the client to ask for the password. |
Alternatively we could use core for encrypted files? Although this requires some logic to handle in which case to use what |
The app v 3.26 refused to open password-protected xlsx file. It gave a warning "unsupported file". LibreOffice desktop would open it, prompting for password.
The text was updated successfully, but these errors were encountered: