Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/test_signature.doctest
Commit message (Collapse)AuthorAgeFilesLines
* Remove test for PSKC file without certificateArthur de Jong2020-01-051-45/+0
| | | | | | | Remove this test for now because signxml cannor currently validate this certificate in a backwards compatible way. See https://github.com/XML-Security/signxml/issues/143
* Implement signature checkingArthur de Jong2017-12-271-0/+219
This adds support for creating and verifying embedded XML signatures in PSKC files. This uses the third-party signxml library for actual signing and verification. The signxml library has a dependency on lxml and defusedxml (and a few others) but all parts of python-pskc still work correctly with our without lxml and/or defusedxml and signxml is only required when working with embedded signatures. This modifies the tox configuration to skip the signature checks if singxml is not installed and to only require 100% code coverage if the signature tests are done.