| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
This also simplifies the GitHub actions file a bit and updates the PyPy
versions to test.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Recent versions of lxml (since 4.4) no longer support Python 3.4 so we
no longer run tests for that version of Python.
|
|
|
|
|
| |
This runs the signxml flavour on all Python versions and only runs all
other flavours on Python 2.6 and 3.6.
|
|
|
|
|
|
| |
This script reads a CSV file and writes out a PSKC file with the key
information from the CSV file. The CSV file is expected to have one row
for each key and key property values in columns.
|
|
|
|
|
| |
This also installs pskc2csv and pskc2pskc console script entry points as
part of the package installation.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
The cryptography library is better supported.
This uses the functions from cryptography for AES and Triple DES
encryption, replaces the (un)padding functions that were previously
implemented in python-pskc with cryptography and uses PBKDF2
implementation from hashlib.
|
|
|
|
|
| |
This uses the defusedxml library if available to defend agains a number
of XML-based attacks.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
This enables support for Python 3 together with Python 2 support with a
single codebase.
On Python 3 key data is passed around as bytestrings which makes the
doctests a little harder to maintain across Python versions.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
When using a recent enough lxml, even Python 2.6 should work now. The
most important requirement is that the findall() function supports the
namespaces argument.
This also now catches all exceptions when parsing the PSKC file fails
and wraps it in ParseError because various implementations raise
different exceptions, even between versions (Python 2.6's ElementTree
raises ExpatError, lxml raises XMLSyntaxError).
|
| |
|
|
|
|
| |
This also ignores downloaded .egg files.
|
|
|