https://github.com/identitypython/pyxmlsecurity
python XML security (xml-dsig)
https://github.com/identitypython/pyxmlsecurity
Last synced: 8 months ago
JSON representation
python XML security (xml-dsig)
- Host: GitHub
- URL: https://github.com/identitypython/pyxmlsecurity
- Owner: IdentityPython
- License: other
- Created: 2012-08-27T07:28:54.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2024-05-22T09:03:59.000Z (over 1 year ago)
- Last Synced: 2025-03-24T04:01:44.732Z (9 months ago)
- Language: Python
- Size: 1.47 MB
- Stars: 15
- Watchers: 8
- Forks: 21
- Open Issues: 14
-
Metadata Files:
- Readme: README.rst
- License: LICENSE.txt
Awesome Lists containing this project
README
python XML Security
===================
.. image:: https://img.shields.io/travis/IdentityPython/pyXMLSecurity.svg
:target: https://travis-ci.org/IdentityPython/pyXMLSecurity
:alt: Travis Build
.. image:: https://img.shields.io/coveralls/IdentityPython/pyXMLSecurity.svg
:target: https://coveralls.io/r/IdentityPython/pyXMLSecurity?branch=master
:alt: Coverage
.. image:: https://api.codeclimate.com/v1/badges/a99a88d28ad37a79dbf6/test_coverage
:target: https://codeclimate.com/github/codeclimate/codeclimate/test_coverage
:alt: Test Coverage
.. image:: https://api.codeclimate.com/v1/badges/a99a88d28ad37a79dbf6/maintainability
:target: https://codeclimate.com/github/codeclimate/codeclimate/maintainability
:alt: Maintainability
.. image:: https://img.shields.io/pypi/l/pyXMLSecurity.svg
:target: https://github.com/IdentityPython/pyXMLSecurity/blob/master/LICENSE.txt
:alt: License
.. image:: https://img.shields.io/pypi/format/pyXMLSecurity.svg
:target: https://pypi.python.org/pypi/pyXMLSecurity
:alt: Format
.. image:: https://img.shields.io/pypi/v/pyXMLSecurity.svg
:target: https://pypi.python.org/pypi/pyXMLSecurity
:alt: PyPI Version
This is a python implementation of XML-Security - XML-DSIG only right now. There are no
dependencies except lxml and pyca/cryptography currently.
This code was inspired by https://github.com/andrewdyates/xmldsig (this implementation is
a refactor and extension of that implementation) and in former versions used to include a
pure-python RSA implementation https://github.com/andrewdyates/rsa_x509_pem by and with
permission from Andrew Yates. Cryptographic primitives are now provided by
pyca/cryptography (https://cryptography.io).
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)
Limitations:
- only support for RSA-SHA1/256/512 signatures with PKCS1.5 padding
- no encryption support
Some of those limitations might be addressed. Patches and pull-requests are most welcome!