# Stuff for Document Signing This code provides dialogs, and infrastructure wrapping `libxmlsec` and `gpgme` that implements document signing. For signing a document, a personal key pair is used, which consists of a private key and a public key, which is added to the document in addition to the digital signature of the document, when signing it. The document signing can be done both for the source ODF/OOXML files and the exported PDF files. It is also possible to sign existing PDF files. To test the signed PDFs, one can use the `pdfverify` in this way: ./bin/run pdfverify $PWD/xmlsecurity/qa/unit/pdfsigning/data/2good.pdf The file parameter should be an absolute path. This is the output of `pdfverify` for `2good.pdf`: ``` verifying signatures found 2 signatures signature #0: digest match? 1 signature #0: partial? 0 signature #1: digest match? 1 signature #1: partial? 0 ``` ## References * [Adobe: Digital Signatures in a PDF](https://www.adobe.com/devnet-docs/etk_deprecated/tools/DigSig/Acrobat\_DigitalSignatures_in_PDF.pdf) * [Adobe: Acrobat DC Digital Signatures - Supported Standards](https://www.adobe.com/devnet-docs/acrobatetk/tools/DigSigDC/standards.html) pgemini/cg-4.1'>distro/capgemini/cg-4.1 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/.git-hooks
AgeCommit message (Expand)Author
2019-06-05git-hooks: show length of first line if it's too longMiklos Vajna
2019-02-13Remove unhelpful "Check for whitespace in front of *'s" from .git-hooksStephan Bergmann
2018-11-22git hooks: Tell what to do in another problematic submodules case.Jan Holesovsky
2018-11-22git hooks: Check that you are not committing to submodules by accident.Jan Holesovsky
2018-10-03Add Python files to pre-commit hook checksThorsten Behrens
2018-05-22Restore .git-hooks/commit-msg accidentally removed earlierTor Lillqvist
2018-05-22tdf#117342 - Add Karasa Jaga to LibreOffice coreRizal Muttaqin
2018-02-09clang-format: improve error message when CI failsMiklos Vajna
2018-01-15git pre-commit hook: catch copy&pasted author identityMiklos Vajna
2017-12-15clang-format: restore lost warning on touching formatted file without checkMiklos Vajna
2017-12-13clang-format: ignore not staged hunksMiklos Vajna
2017-11-21git-hooks: fix pre-commit in submodulesMiklos Vajna
2017-11-20clang-format: enforce coding style via JenkinsMiklos Vajna
2017-11-16git-hooks: mention download link for clang-format when warning about itMiklos Vajna
2017-11-16Warn when commit touches new files, but no suitable clang-format is foundStephan Bergmann
2017-11-13First look for clang-format in CLANG_FORMT env varStephan Bergmann
2017-11-13clang-format: standardize on 5.0.0Miklos Vajna
2017-11-03Enforce coding style with clang-format for new codeMiklos Vajna
2017-10-30git-hooks: don't complain about large .ui filesMichael Stahl
2017-09-20pre-commit-hook: Also check xsl files for whitespace and tabsSamuel Mehrbrodt
2017-09-11insist in a domain in .ui filesCaolán McNamara
2017-09-11disallow .ui translatable entries without context at checkinCaolán McNamara
2017-03-24git pre-commit hook: Also check swift filesSamuel Mehrbrodt
2016-12-08tdf#102784 - Enhance git pre-commit hookMarina Latini
2015-09-08git-hooks: Info how to install them manually.Jan Holesovsky
2015-06-13Catch funny line-ends in pre-commit hook.Thorsten Behrens
2015-02-13git-hooks: post-merge script does not need /bin/bashThomas Klausner
2015-02-13git-hooks: recognize multiple bug idsMiklos Vajna
2015-02-12git hooks: reject suspicious fdo referencesMiklos Vajna
2014-05-16git pre-commit hook: block large filesMiklos Vajna