Bug 89877 - Password creation field allows setting password that won't open the file
Summary: Password creation field allows setting password that won't open the file
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.3.5.2 release
Hardware: Other All
: high major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-07 15:26 UTC by phil
Modified: 2015-04-25 18:41 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description phil 2015-03-07 15:26:22 UTC
Start with a password protected file, go through Properties to change the password. LO allows you to enter a long password, but silently truncates the password if it exceedes some length.
e.g. enter new password
33zzzzzzz33[333]
You are allowed to do this and save the file.
Next try to open with that same file with that same password and it won't work.
If you try to open with
33zzzzzzz33[333
it will open.

Most people won't think to try a truncated version of the password they set and will never get at the file again.

Note - if you try to paste a long password into the Change Password field it will tell you that it was too long and was truncated. That is an acceptable response.
Comment 1 A (Andy) 2015-03-07 15:38:37 UTC
Not reproducible with LO 4.4.1.2, Win 8.1, but this bug was present in past releases.
Comment 2 phil 2015-03-07 16:42:30 UTC
This is still present
Version: 4.4.1.2
Build ID: 45e2de17089c24a1fa810c8f975a7171ba4cd432
Locale: en_US

Win 7
Comment 3 Buovjaga 2015-03-18 17:00:40 UTC
Change pwd works ok by pasting 33zzzzzzz33[333]
No message about being truncated when pasting.
File opens fine with 33zzzzzzz33[333]

Win 7 Pro 64-bit, LibO Version: 4.4.1.2
Build ID: 45e2de17089c24a1fa810c8f975a7171ba4cd432
Locale: fi_FI
Comment 4 raal 2015-04-25 18:41:58 UTC
I can not confirm with password: "12345678901234567890", 20 characters

I tried to paste password: "Start with a password protected file, go through Properties to change the password.", 83 characters, and no message about truncting appears.
Closing as worksforme.

Version: 5.0.0.0.alpha1+
Build ID: e9fbe1f7cd28de2a9da8089d89e903406165eb56
TinderBox: Linux-rpm_deb-x86_64@46-TDF, Branch:master, Time: 2015-04-25_00:20:28

Version: 5.0.0.0.alpha1+
Build ID: 636c5a63d67b52b0d2f9f21a863c45eca6ac9ff7
TinderBox: Win-x86@42, Branch:master, Time: 2015-04-21_23:00:42