Seach for encrypted socket wrapper

bobicanprogram icanbob at gmail.com
Tue Jun 2 17:23:49 CEST 2009


On Jun 2, 5:28 am, Hans Müller <HeinT... at web.de> wrote:
> Hello experts,
>
> I'm looking for secure way to pass messages from a python program to a c-library in both ways.
>
> This scenario is given:
>
> display client                                          Calculation module in COBOL (yes, big, old but it works well)
> (python, wxpython)      <- Network connection ->  C-Lib beeing called from COBOL to communicaty with
>                                                         display client
>
> The network connection should be encrypted. And fail save.
> Has someone an idea what to use ?
>
> I have had a short look on xml rpc which can run over a https server but this seems quite fat.
> Better ideas ?!
> Importand is also that the C-Lib on the cobol side should be coded as simple as possible.
> Platforms: Windows, *ix
>
> Thanks a lot.
>
> Hans


The SIMPL toolkit is quite lightweight (http://www.icanprogram.com/
simpl).  It can be used to join a Python program to a C program.
However,  SIMPL messages are treated as blocks of bytes from the
prespective of the toolkit.    It should be quite straightforward to
graft an encription layer above this to do what you want.

If you want some "hello world" level Python-SIMPL examples you can
look here:  http://www.icanprogram.com/06py/main.html

bob



More information about the Python-list mailing list