Issue 125592 - 4.1.1 RC3 (os/2) can't open encrypted file, NSS modules are missing
Summary: 4.1.1 RC3 (os/2) can't open encrypted file, NSS modules are missing
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: 4.1.1
Hardware: All OS/2
: P3 Critical (vote)
Target Milestone: 4.1.2
Assignee: Yuri Dario
QA Contact:
URL:
Keywords:
Depends on:
Blocks: 118923
  Show dependency tree
 
Reported: 2014-09-05 22:07 UTC by Chen, Biao
Modified: 2016-01-03 19:21 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---
pescetti: 4.1.2_release_blocker+


Attachments
ooo4 can't open encrypted file created by ooo3.2 (46.04 KB, image/jpeg)
2014-09-05 22:07 UTC, Chen, Biao
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Chen, Biao 2014-09-05 22:07:14 UTC
Created attachment 83937 [details]
ooo4 can't open encrypted file created by ooo3.2

When open the encrypted file, it always report "the password is not correct".
Comment 1 Lewis Rosenthal 2014-09-09 22:43:34 UTC
I can confirm this behavior with Calc, at least, even with a simple password ("test").
Comment 2 Yuri Dario 2014-11-20 14:15:25 UTC
Confirmed, OOo 3.2 was able to save pwd protected files, even in 3.4 builds this stopped working.
Comment 3 Yuri Dario 2014-11-28 14:00:36 UTC
Encryption is now handled using mozilla NSS libraries, enabling them and adjusting dll names made it to work again.

xmlsecurity module is referencing NSSCKBI dll directly: since the current RPM build adds a 'K' postfix to dll names, xmlsecurity/source/xmlsec/nss/nssinitializer.cxx must take care of eventual changes.
Comment 4 SVN Robot 2014-11-28 14:02:38 UTC
"ydario" committed SVN revision 1642301 into trunk:
#i125592# enable NSS modules also on OS/2 port.
Comment 5 SVN Robot 2014-11-28 14:05:44 UTC
"ydario" committed SVN revision 1642302 into trunk:
#i125592# enable NSS modules also on OS/2 port.
Comment 6 Chen, Biao 2014-11-29 21:59:27 UTC
I've searched NSSCKBIk.dll and found it at c:\usr\lib. I changed the file name to NSSCKBI.dll and then open the OpenOffice4.1.1 but it still can work with password protected file and can't even save a file with password.
Comment 7 Yuri Dario 2014-11-30 14:41:05 UTC
You need a new binary with above patches to get it to work.
Comment 8 Kay 2015-09-07 21:39:38 UTC
We could use additional confirmation on this one.
Comment 9 SVN Robot 2015-09-14 10:05:41 UTC
"ydario" committed SVN revision 1702894 into trunk:
#i125592# use a short name for xmlsecurity library.
Comment 10 Andrea Pescetti 2015-09-23 21:51:57 UTC
@ydario: This is part of the OS/2 build fixes that will go into 4.1.2, feel free to merge into AOO410 and please comment in the issue when ready.
Comment 11 Andrea Pescetti 2016-01-03 19:21:16 UTC
Closing, 4.1.2 was released and the OS/2 port is now available.