Date: prev next · Thread: first prev next last
2017 Archives by date, by thread · List index


Hi Ashod,

Ashod Nakashian wrote:
commit 57446e0b60b9edbe1d72b13d664857f8d09c5048
Author: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
Date:   Wed Aug 2 22:19:00 2017 -0400

    sw: store paragraph signature as rdf metadata

Cool feature there! :)

One issue I notice:

@@ -579,17 +580,32 @@ void SwEditShell::SignParagraph(SwPaM* pPaM)
         // 3. Sign it.
         svl::crypto::Signing signing(xCert);
         signing.AddDataRange(text.getStr(), text.getLength());
-        OStringBuffer signature;
-        if (!signing.Sign(signature))
+        OStringBuffer sigBuf;
+        if (!signing.Sign(sigBuf))
             return;

Since that operates on the Writer-internal text representation (string
used being the Writer node's plain text content), that might be very
hard for non-LibreOffice programs to verify?

Cheers,

-- Thorsten

Attachment: signature.asc
Description: Digital signature


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.