Bug 131622

Summary: Android Viewer: Cannot open password-protected file
Product: LibreOffice Reporter: Michael Weghorn <m.weghorn>
Component: Android ViewerAssignee: Michael Weghorn <m.weghorn>
Status: RESOLVED FIXED    
Severity: normal CC: m.weghorn
Priority: medium    
Version: 7.0.0.0.alpha0+   
Hardware: All   
OS: All   
Whiteboard: target:7.0.0
Crash report or crash signature: Regression By:
Attachments: Sample file, password-protected with password "test123"

Description Michael Weghorn 2020-03-27 11:54:30 UTC
Created attachment 159063 [details]
Sample file, password-protected with password "test123"

Android Viewer can't open password protected files.

Steps to reproduce:

1) in Android Viewer, select to open the attached file "encrypted_with_passwort_test123.odt"


Result: The progress indicator keeps spinning, but nothing else happens.

Expected result: A password prompt to enter the password for decryption should open, it should be possible to type the password (which is "test123") and the file should be displayed after the proper password has been entered.

Tested with daily build of 2020-03-23:

Version 7.0.0.0.alpha0+
Build-ID: b3dfe5d6dc25
Comment 1 Michael Weghorn 2020-03-27 11:54:54 UTC
I'm currently looking into this myself.
Comment 2 Commit Notification 2020-03-27 18:54:18 UTC
Michael Weghorn committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/325bca9e74075d6de31a70c0c1749c56610010d0

tdf#131622 android: Handle password callback for non-editing case, too

It will be available in 7.0.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 3 Commit Notification 2020-03-27 18:55:37 UTC
Michael Weghorn committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/45fbfbfeae1de12e87d0a3748e22553b69adbc4a

tdf#131622 android: Extract native libs again

It will be available in 7.0.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.