Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow customization of algorithms and elements to sign #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

martingalloar
Copy link

Allow setting different algorithms for DigestMethod and Canonicalization, as well as defining a list of elements to sign. Defaults to only sign Body and Timestamp.

martingalloar and others added 3 commits August 5, 2013 01:29
Allow setting DigestMethod/Canonicalization Algorithms.
Allow defining list of nodes to sign (XPath elements) and IDs to use on each one. Defaults to sign Body and Timestamp with autogenerated IDs.
Changed all hard-coded strings to xmlsec.string constants.
The official PyXMLSec version 0.3.1 now contains the required patch for this to work, so now moved to that version on PyPi. Also using suds-jurko version.
Pass a number of transforms we want to add to the signedinfo element. Allows performing some basic DoS vulns checks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant