pyXMLSecurity is a Python implementation of XML-Security - XML-DSIG only right now. There are no dependencies except lxml currently.
This code was inspired by https://github.com/andrewdyates/xmldsig (this implementation is a refactor and extension of that implementation) and includes a pure-python RSA implementation https://github.com/andrewdyates/rsa_x509_pem by and with permission from Andrew Yates.
In order to sign with a PKCS#11-module you need to install pykcs11 (http://www.bit4id.org/pykcs11/)
This package is available under the NORDUnet BSD license (cf LICENSE.txt).
· only support for enveloped signatures
· only support for RSA-SHA1 signatures
· no encryption support
What's New in This Release: [ read full changelog ]
· Multiple bugfixes
· More SAML and P11 testcases