Hi Ashod,

Ashod Nakashian wrote:
> commit 57446e0b60b9edbe1d72b13d664857f8d09c5048
> Author: Ashod Nakashian <ashod.nakash...@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

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to