| Summary: | "Change password" button is always disabled | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Takashi Nakamoto <bluedwarf> |
| Component: | UI | Assignee: | Markus Mohrhard <markus.mohrhard> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | cno, ikuya |
| Priority: | medium | ||
| Version: | 3.4.0 RC1 | ||
| Hardware: | x86-64 (AMD64) | ||
| OS: | Windows (All) | ||
| Whiteboard: | target:3.5 target:3.4.3 | ||
| Crash report or crash signature: | Regression By: | ||
|
Description
Takashi Nakamoto
2011-05-26 06:44:29 UTC
Confirmed. I'll take a look at this. Unfortunately this is going to be an easy fix. It appears that encryption and password handling has changed dramatically between 3.3 and 3.4 in the OOo code base to avoid storing the raw password data in memory. To make matters worse each file format encryption type uses a different hash algorithm, so when you change the password, we need to generate hashes for all hash types that we support. In 3.3, all we had to do was update the raw password stored in memory. This is a big difference. This is going to be a long battle, and no guarantee this will make it into 3.4.1. Code pointer for future investigation (when I resume work on this). SfxDocumentPage::ImplCheckPasswordState() determines the state of the button, and the password hashes are stored in the property bag in the item set associated with SID_ENCRYPTIONDATA. The old password was stored with SID_PASSWORD. Is this feature always disabled in LO 3.4.0 in any platform? If so, I think we should strike out this feature from the 3.4 new feature list. http://wiki.documentfoundation.org/ReleaseNotes/3.4. Can you talk to Cor Nouws about this? That page is "frozen" and its editing right is now in the hands of the marketing folks AFAIK. Looks like OOo has added the same functionality between 3.3 and 3.4 anyway. I might just remove my addition (since it's not working anymore). I tried to add Cor in CC, but the email address I have doesn't match the one in bugzilla, apparently. Ah, I found his email address for bugzilla. Adding Cor in CC. Re-assigning to Markus. Ok, I think I got it and with some reorganization it should be possible to include this in 3.4.3 but I need to investigate it a bit further. Button is already enabled correctly only setting the new password is a bit more tricky. possible fix sent to the ML for review dialog has changed its appearance, I use now the password dialog that will be displayed during filesave has been accepted for 3.4.3 |