[Bug 284339] New: Can't digitally sign OpenOffice documents on x86_64

https://bugzilla.novell.com/show_bug.cgi?id=284339 Summary: Can't digitally sign OpenOffice documents on x86_64 Product: openSUSE 10.3 Version: Alpha 5 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: OpenOffice.org AssignedTo: eward@novell.com ReportedBy: sbrys@novell.com QAContact: qa@suse.de Environment: - openSUSE Alpha5 on x86_64 platform Steps to duplicate: - open Firefox and go to Edit > Preferences > View Certificates - click Import and import the pfx file attached -- the password is "novell". You'll also need to enter an NSS password of your choice. - click Ok and Close - open a terminal window - type the following command: export MOZILLA_CERTIFICATE_FOLDER="/home/sbrys/.mozilla/firefox/1chxc07l.default" (replace with the path to your firefox profile) - still in the terminal window, run oowriter - in oowriter, create a document and save it - click File > Digital Signatures > Add - enter the NSS password you entered previously when you imported the pfx file - view the certificate -- everything should be valid - select the certificate and click Ok - result: nothing is added to the signatures list Notes: - I tested the procedure above on an openSUSE 10.3 Alpha4 on i386 and there it works fine. - The same problem exists when using the Belgian electronic identity card (eID) - I tested mail signing (Evolution and Thunderbird) and web site authentication (Firefox) using eID and that works fine. So it looks like the NSS part is working properly. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.

https://bugzilla.novell.com/show_bug.cgi?id=284339 ------- Comment #1 from sbrys@novell.com 2007-06-14 09:18 MST ------- Created an attachment (id=146326) --> (https://bugzilla.novell.com/attachment.cgi?id=146326&action=view) Certificate to test with -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.

https://bugzilla.novell.com/show_bug.cgi?id=284339 sbrys@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.

https://bugzilla.novell.com/show_bug.cgi?id=284339 sbrys@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Major -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.

https://bugzilla.novell.com/show_bug.cgi?id=284339#c2 --- Comment #2 from Simon Brys <sbrys@novell.com> 2007-08-07 05:40:04 MST --- Problem still exists in Alpha 7. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=284339 JP Rosevear <jpr@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|eward@novell.com |pmladek@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=284339#c3 Petr Mladek <pmladek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jberkman@novell.com AssignedTo|pmladek@novell.com |kendy@novell.com --- Comment #3 from Petr Mladek <pmladek@novell.com> 2007-09-07 10:28:47 MST --- It works on i586. I have reproduced it on 10.3-beta3-x86_64 => 64-bit specific. Kendy, could you please look at it? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=284339 Federico Mena Quintero <federico@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |gnome-function-does-not-work -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=284339 User sbrys@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=284339#c4 --- Comment #4 from Simon Brys <sbrys@novell.com> 2008-04-03 02:14:59 MST --- Problem still exists in openSUSE 11.0 Alpha 3 x86-64. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=284339 User kendy@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=284339#c5 --- Comment #5 from Jan Holesovsky <kendy@novell.com> 2008-08-27 02:35:55 MDT --- My guess is that it might be this bug: http://www.openoffice.org/issues/show_bug.cgi?id=92277 I'll extract the fix for our 3.0 & provide you with URL of the packages, hopefully it will fix this. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=284339 User sbrys@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=284339#c6 --- Comment #6 from Simon Brys <sbrys@novell.com> 2008-12-16 04:56:11 MST --- Problem still exists in SLED11 RC1 x86_64. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=284339 User sbrys@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=284339#c7 --- Comment #7 from Simon Brys <sbrys@novell.com> 2009-01-21 03:17:04 MST --- Verified that the problem is indeed a difference in size of "xmlSecSize" (size_t in OpenOffice_org-components versus unsigned int in OpenOffice_org-libs-extern). This causes the offset of the "status" field in the "xmlSecDSigCtx" struct to be different. The result is that in xmlsecurity/source/xmlsec/nss/xmlsignature_nssimpl.cxx, in generate(), pDsigCtx->status is not found to be equal to xmlSecDSigStatusSucceeded, even though in libxmlsec/download/xmlsec1-1.2.6.tar.gz, in xmlsec1-1.2.6/src/xmldsig.c, in xmlSecDSigCtxSign(), dsigCtx->status is correctly set to xmlSecDSigStatusSucceeded. The end result is that in xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx, in IMPL_LINK( DigitalSignaturesDialog, AddButtonHdl, Button*, EMPTYARG ), nStatus is not equal to OPERATION_SUCCEEDED and so the signatures dailog box is not filled: sal_Int32 nStatus = maSignatureHelper.GetSignatureInformation( nSecurityId ).nStatus; if ( nStatus == ::com::sun::star::xml::crypto::SecurityOperationStatus_OPERATION_SUCCEEDED ) { mbSignaturesChanged = true; // Can't simply remember current information, need parsing for getting full information :( // We need to verify the signatures again, otherwise the status in the signature information // will not contain // SecurityOperationStatus_OPERATION_SUCCEEDED mbVerifySignatures = true; ImplGetSignatureInformations(); ImplFillSignaturesBox(); } I have rebuilt the SLED11-RC1 OpenOffice_org-components RPM with http://www.openoffice.org/nonav/issues/showattachment.cgi/55443/xmlsecurity...., and now it works. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com