suds-community / suds

Suds is a lightweight SOAP python client for consuming Web Services. A community fork of the jurko fork.
https://suds.readthedocs.io/
GNU Lesser General Public License v3.0
172 stars 54 forks source link

ADD support password digest #13

Closed ovnicraft closed 5 years ago

phillbaker commented 5 years ago

Sorry - had a followup question about the date formatting change: is the goal to change the formatting just in the WSSE header? If so, then adding a parameter to UsernameToken and overriding

https://github.com/suds-community/suds/blob/482d61afda7478d594a2c312b1e27b09c88431fa/suds/wsse.py#L96-L98

might be the easiest approach

phillbaker commented 5 years ago

@ovnicraft I've added tests and limited this PR to just the password digest/nonce encoding change. I'm going aheading and merge that, thanks for the start!

Did you see the followup question about the date formatting change: is the goal to change the formatting just in the WSSE header? If so, then adding a parameter to UsernameToken and overriding the format there might be the best approach.

ovnicraft commented 5 years ago

@phillbaker great ! Yes, format need change, i will check about UsernameToken and overriding format.