Bug 125147

Summary: Digital Signatures for DOCX files
Product: LibreOffice Reporter: Sheldon <s2maschmeyer>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED NOTABUG    
Severity: enhancement CC: dgp-mail, heiko.tietze, samuel.mehrbrodt, vmiklos
Priority: medium Keywords: filter:docx
Version: 6.2.2.2 release   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=108711
https://bugs.documentfoundation.org/show_bug.cgi?id=116078
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 105605    

Description Sheldon 2019-05-06 22:29:38 UTC
Description:
We can add digital signatures to odt files but are unable to add digital signatures to docx files. Some require files sent in the docx format; not PDF or ODT. Therefore, being able to add a digital signature to these files is important.

Steps to Reproduce:
Click Digital Signatures
Sign Document
No saved PGP keys are in the list. No way to sign the DOCX file. 
If file is in ODT, two saved keys are in the list.

Actual Results:
Cannot sign DOCX documents

Expected Results:
Sign DOCX document.


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
Sign the DOCX document with an existing, or recently created, key
Comment 1 Heiko Tietze 2019-06-01 08:13:56 UTC
Not really a UX topic (removing the flag). 

Miklos, what do you think?
Comment 2 Miklos Vajna 2019-06-03 07:26:36 UTC
Signing with X509 certs works fine for me for DOCX files.

Samuel: is it possible gpg vs docx is not working? No idea if that's just a matter of development work or it's impossible due to what OOXML allows.
Comment 3 Samuel Mehrbrodt (allotropia) 2019-06-04 06:17:41 UTC
This is intentional, OOXML doesn't allow signing with PGP keys (Word would not open them) afaik.