diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2024-10-01 11:16:04 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2024-10-01 12:31:48 +0200 |
commit | 298c2d5c8a6791aa6e5846b698d521079aaa445d (patch) | |
tree | f362e204cc0e9b52e10ce2674a8d0ddb244928b6 /desktop/source | |
parent | 0a3e1df7af87d5917e13c82b747cff27f20cb29a (diff) |
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>
Diffstat (limited to 'desktop/source')
0 files changed, 0 insertions, 0 deletions