Commit Graph
10 Commits
Author SHA1 Message Date
Noel Grandin 38e7aef0fa use boost::optional in OutDevState
Change-Id: I83fb85fcba6cd2a5dc4f99fdfd3238d72afb7bc2
Reviewed-on: https://gerrit.libreoffice.org/51770
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-03-26 08:44:58 +02:00
Markus Mohrhard 6f53cf281e apparently the executable does not need pdfium directly anymore
Change-Id: If7ec9a18603005791ff948c7ecfddc5010ac88fe
Reviewed-on: https://gerrit.libreoffice.org/37091
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-04-29 06:43:26 +02:00
Michael Stahl ee9cb85e9a gpgme: change gb_LinkTarget__use_gpgmepp to depend on package
This replaces f764d67da4 with a better
fix, no point in littering the makefiles with manual dependencies when
we can just avoid the problem in one place with a tiny performance cost.

Change-Id: Ic7e91ee4c99deb12a9544cf691c0995de6ae2bad
2017-03-10 17:13:47 +01:00
Stephan Bergmann f764d67da4 Fix Executable_pdfverify dependencies on Linux
Change-Id: Idf5561baaa714834e8e763e379a79d084e21dc80
2017-03-05 11:54:05 +01:00
Miklos Vajna ea92b7cc2e xmlsecurity: use pdfium to generate a preview in pdfverify
This is just test code to check if the bundled pdfium is usable.

Change-Id: I1f1d808796fe77924518cd004d99affe70279e88
Reviewed-on: https://gerrit.libreoffice.org/34081
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2017-02-10 07:06:51 +00:00
Miklos Vajna 6971159bb4 Executable_pdfverify: move pdfverify.cxx to workben/
That's where the implementation of such internal test binaries usually
are.

Change-Id: Ib7d2eb95de96d0d82e90e51f58da3a0c15a2ec71
Reviewed-on: https://gerrit.libreoffice.org/31073
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-11-22 14:00:02 +00:00
Miklos Vajna f29baf7735 Executable_pdfverify: initialize nss / mscrypto
This was broken since commit 9fe910e486
(xmlsecurity: use common NSS init in PDFDocument, 2016-10-13), after
that PDFDocument assumes that the client code does the crypto
initialization.

Change-Id: Iaee005afef6bd602c3a95e9a18f407c4d4223a26
Reviewed-on: https://gerrit.libreoffice.org/29887
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-10-17 06:08:43 +00:00
Miklos Vajna e584bc808b xmlsecurity: extract certificate from PDF signature
So that the UI can show the correct "Signed by" and "Digital ID issued
by" fields.

Change-Id: Ied2fed480f48baf60cffb4f0ce762a726beab006
Reviewed-on: https://gerrit.libreoffice.org/29776
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-10-14 07:05:52 +00:00
Miklos Vajna 0f613adbfa xmlsecurity: add initial PDFSignatureHelper
This splits most of the PDF signature code out of the pdfverify
executable, and puts it into the xmlsecurity library instead.

The PDFSignatureHelper now attempts to verify PDF signatures, and code
in sdext / sfx2 also calls it (even if PDF is not a ZIP-based format).

Change-Id: I7b8b3ac9c976e4ea4f3796b1cda07c8a2c97bd02
Reviewed-on: https://gerrit.libreoffice.org/29751
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-10-13 10:44:23 +00:00
Miklos Vajna 53bba96ac0 xmlsecurity: add initial Executable_pdfverify
We have code to verify ODF and OOXML signatures, this adds initial
support for verifying a PDF signature.

Initially this is a standalone executable, need to turn this into a unit
test + hook it into sfx2 in follow-up commits.

Change-Id: Ideb5ec63f761c74fd4527cf1766b0aa739e275ee
2016-10-12 16:50:31 +02:00