Bug 94903 - Digital Signatures are not working with 64-Bit LibreOffice 5.0.2.2 and 32-Bit LibreOffice 5.2.x in Windows
Summary: Digital Signatures are not working with 64-Bit LibreOffice 5.0.2.2 and 32-Bit...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
5.0.2.2 release
Hardware: All Windows (All)
: high normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisectRequest
: 102276 (view as bug list)
Depends on:
Blocks: Digital-Signatures
  Show dependency treegraph
 
Reported: 2015-10-09 09:35 UTC by Oliver Ostertag
Modified: 2019-02-05 12:25 UTC (History)
7 users (show)

See Also:
Crash report or crash signature:


Attachments
Step-1.jpg, dialog for [Step #1], see description (37.09 KB, image/jpeg)
2015-10-09 09:42 UTC, Oliver Ostertag
Details
Step-2.jpg, dialog for [Step #2], see description (47.10 KB, image/jpeg)
2015-10-09 09:42 UTC, Oliver Ostertag
Details
Step-3.jpg, dialog for [Step #3], see description (33.67 KB, image/jpeg)
2015-10-09 09:42 UTC, Oliver Ostertag
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Ostertag 2015-10-09 09:35:17 UTC
With the 64-Bit Version of LibreOffice (reproduced with 64-Bit LO 5.0.2.2) it is not possitble to digitally sign documents.

Workflow (see attached Screenshots Step-[n]):

1. trying to sign the document, the "Digital Signatures" dialog comes up (see Step-1.jpg)

2. pressing "sign document" button (see Step-1.jpg)

3. the "choose certificate" dialog comes up with (correct) all availible certificates (see Step-2.jpg)

4. choosing a certificate (e.g. the first one, see Step-2.jpg) and pressing ok.

5. the Windows CryptoAPI Dialog comes up (correct), see Step-3.jpg

6. After confirming access to the certificate storage (with ok button) just nothing happens

--- this is the bug ---

7. There is still the open "Digital Signatures" dialog (see Step-1.jpg) with no signature inside.

In the 32-Bit Version of Libre Office this works fine, the document is signed and in "7." you can see an entry with the choosen certificate Signature in Step-1.jpg
Comment 1 Oliver Ostertag 2015-10-09 09:42:03 UTC
Created attachment 119447 [details]
Step-1.jpg, dialog for [Step #1], see description
Comment 2 Oliver Ostertag 2015-10-09 09:42:30 UTC
Created attachment 119448 [details]
Step-2.jpg, dialog for [Step #2], see description
Comment 3 Oliver Ostertag 2015-10-09 09:42:46 UTC
Created attachment 119449 [details]
Step-3.jpg, dialog for [Step #3], see description
Comment 4 Buovjaga 2015-10-09 15:39:01 UTC
It is enough to mention the bitness in the description or summary like you now have.
Comment 5 Buovjaga 2015-12-12 15:13:42 UTC
Reverting version change. It is earliest affected.
Comment 6 yanjingtao 2016-07-20 07:53:38 UTC
Reproduce in LibreOffice 5.1.4.2.

Version: 5.1.4.2 (x64)
Build ID: f99d75f39f1c57ebdd7ffc5f42867c12031db97a
CPU Threads: 8; OS Version: Windows 6.1; UI Render: default; 
Locale: zh-CN (zh_CN)

And when using 64bit LibreOffice open a file has Signatured it shows:

The digitally signed document content and/or macros do not match the current document signature.

This could be the result of document manipulation or of structural document damage due to data transmission.

We recommend that you do not trust the content of the current document.
Execution of macros is disabled for this document.
Comment 7 yanjingtao 2016-09-20 02:00:04 UTC
Version: 5.2.2.1
Build ID: 3c2231d4aa4c68281f28ad35a100c092cff84f5d
CPU Threads: 8; OS Version: Windows 6.2; UI Render: default; 
Locale: zh-CN (zh_CN); Calc: single

Now, LibreOffice 5.2.0 and 5.2.2 32bit cannot sign documnet either.
Comment 8 Samuel Mehrbrodt (CIB) 2017-07-05 20:29:40 UTC
LibreOffice 5.2 is EOL now.

Does the bug still exist in 5.3 or 5.4?
Comment 9 Buovjaga 2017-07-06 14:26:29 UTC
*** Bug 102276 has been marked as a duplicate of this bug. ***
Comment 10 Cor Nouws 2017-08-11 14:26:56 UTC
(In reply to Samuel Mehrbrodt (CIB) from comment #8)
> LibreOffice 5.2 is EOL now.
> 
> Does the bug still exist in 5.3 or 5.4?

I can use digital signatures on Windows 10 64 bits with LibreOffice 5.4.0.3
So resolve as WorksForMe.
Oliver, if you still have problems in the new versions, feel free to reopen with  details as much as possible :)
Comment 11 Cor Nouws 2017-08-11 14:27:11 UTC
.
Comment 12 Jesus Jimenez 2018-09-13 13:34:44 UTC
Digital signing doesn't work in 64 bit LibreOffice 6.0.6.2. Behaviour is as described by Oliver.
Comment 13 Klibre 2019-02-05 12:23:32 UTC
Digital signing doesn't work in 64 bit LibreOffice 6.0.7.3 in Windows 10. Behaviour is as described by Oliver.