Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/pskc/signature.py
Commit message (Collapse)AuthorAgeFilesLines
* Support newer versions of signxmlArthur de Jong2022-12-031-1/+2
| | | | | Version 3.0.0 of signxml dropped the default_c14n_algorithm property from XMLSignatureProcessor.
* Add and cleanup docstringsArthur de Jong2018-02-151-4/+9
| | | | | | | | This adds docstrings to public methods and cleans up a few other docstrings to pass most flake8 docstring related tests. This also adds noqa statements in a few places so we can remove most entries from the global flake8 ignore list.
* Implement signature checkingArthur de Jong2017-12-271-0/+69
| | | | | | | | | | | | | | | 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.
* Implement basic parsing of signature propertiesArthur de Jong2017-12-271-0/+68