Bug 131622 - Android Viewer: Cannot open password-protected file
Summary: Android Viewer: Cannot open password-protected file
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Android Viewer (show other bugs)
Version:
(earliest affected)
7.0.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Michael Weghorn
URL:
Whiteboard: target:7.0.0
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-27 11:54 UTC by Michael Weghorn
Modified: 2020-03-27 18:56 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Sample file, password-protected with password "test123" (13.38 KB, application/vnd.oasis.opendocument.text)
2020-03-27 11:54 UTC, Michael Weghorn
Details

Note You need to log in before you can comment on or make changes to this bug.
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.