office-gobmx/desktop/source
Miklos Vajna 90beea9a9a cool#9992 lok doc sign: handle .uno:SignatureCert/Key/Ca view options
The desktop way to sign documents is to manually import a .p12 file into
your Firefox user profile, and then the signing key is available in all
views. The LOK case wants per-view signing certificates, set in a way
similar to the name of the user.

Start implementing this by:

1) Extending initializeForRendering() to have JSON entries for the
   signing cert/key/ca chain.

2) Importing the CA chain as trusted certificates, using a new
   SfxLokHelper::extractCertificates() + test for this.

3) Marking a certificate as trusted is tricky, extract
   SfxLokHelper::addCertificate() from the existing doc_addCertificate()
   to do this.

4) Parsing the signing certificate, but just warn if that fails, still
   need to connect that to the SfxViewShell later.

Change-Id: I00e40b3cdd68dbe8994f28861dc7b0f578189643
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173806
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2024-09-23 17:49:28 +02:00
..
app drop unused eventtesting cmd line option 2024-09-06 12:25:32 +02:00
deployment cid#1556583 COPY_INSTEAD_OF_MOVE 2024-08-04 15:38:31 +02:00
inc Extended loplugin:ostr: Rewrite some O[U]StringLiteral -> O[U]String 2023-10-23 11:04:42 +02:00
lib cool#9992 lok doc sign: handle .uno:SignatureCert/Key/Ca view options 2024-09-23 17:49:28 +02:00
migration cid#1556086 COPY_INSTEAD_OF_MOVE 2024-08-02 10:05:45 +02:00
minidump Revert "tdf#109347: don't verify SSL certificate for crashreport upload" 2024-05-17 13:27:54 +02:00
offacc loplugin:ostr in desktop 2024-05-07 14:41:40 +02:00
pkgchk/unopkg workaround compiler crash on macos-intel 2024-05-07 22:38:50 +02:00
splash loplugin:ostr in desktop 2024-05-07 14:41:40 +02:00