office-gobmx/sfx2/source
Miklos Vajna 298c2d5c8a cool#9992 lok doc sign: update sign status after modify the list of trusted CAs
Load a document, sign it, "green" icon on the status bar. Reload the
document, turns into a "yellow" icon saying the CA is not trusted, when
it was already trusted before.

The trouble is that the document signature status is calculated on load,
and the CA to be trusted is only given later, as part of the
initialization of the LOK view.

Fix the problem by invalidating the signature state when a new CA is
trusted.

The test document was produced by signing an empty document using the
keys from xmlsecurity/qa/xmlsec/data/, which gives us a way to create a
signature that is initially not trusted.

Change-Id: I1e1dbf616ce54c4823d62104f838342de6870f52
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174307
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2024-10-01 12:31:48 +02:00
..
accessibility
appl use more concrete UNO types in sfx2 2024-09-16 08:51:21 +02:00
bastyp
commandpopup
config
control sw: add new command to make a response comment root 2024-09-25 15:43:47 +02:00
devtools
dialog sfx2: Synchronously set control state in file picker on all platforms 2024-09-17 09:04:27 +02:00
doc cid#1607100 Overflowed constant 2024-09-28 21:22:16 +02:00
explorer
inc use more concrete UNO types in sfx2 2024-09-16 08:51:21 +02:00
inet
notebookbar
notify
safemode
sidebar
statbar
styles
toolbox
view cool#9992 lok doc sign: update sign status after modify the list of trusted CAs 2024-10-01 12:31:48 +02:00