[Soap-Python] WS-Security with certificates?

Israel Brewster israel at eraalaska.net
Mon Nov 26 18:22:00 CET 2012


-------------- next part --------------
A non-text attachment was scrubbed...
Name: Israel Brewster.vcf
Type: text/directory
Size: 417 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/soap/attachments/20121126/ff39a7ed/attachment.bin>
-------------- next part --------------

On Nov 20, 2012, at 9:46 PM, "Dieter Maurer" <dieter at handshake.de> wrote:

> Israel Brewster wrote at 2012-11-20 09:11 -0900:
>> ...
>> As far as custom headers go, that's not really the problem. I can get the headers into the soap envelope, but I don't have a clue how to generate the proper headers and encrypted body in the first place. According to google, Andr?s Veres-Szentkir?lyi posted a response that looked promising (I never got the message, unless it got lost in my junk mail filter), however I am having problems with that as well. I was able to build the pyxmlsec module with only minimal difficulty, but when I try to import xmlsec I get the following error:
> 
> Dariusz suggested to call the "xmlsec" command line interface
> directly. This may be indeed the most easy solution.
> 
> If you are ready to try another "xmlsec" Python binding, you
> could give "dm.xmlsec.binding" a try. It is based on "libxmlsec"
> (the XML security library -- you should read its documentation to
> get a basic understanding of XML encryption and how it is
> supported by "libxmlsec") and "lxml".
> 
> Reports have shown that the installation of "dm.xmlsec.binding"
> is not always easy: it requires a not too old "libxmlsec1" installation
> and an "lxml" installation which exposes the "cython" interface of "lxml"
> (these parts are often stripped for "lxml" operating system packages;
> in those case, you need a source "lxml" installation and make it
> known via an envvar).

Thanks, I'll look into that.
-----------------------------------------------
Israel Brewster
Computer Support Technician II
Era Alaska
5245 Airport Industrial Rd
Fairbanks, AK 99709
(907) 450-7250 x7293
-----------------------------------------------



More information about the Soap mailing list