Seach for encrypted socket wrapper

H

Hans Müller

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
 
G

garabik-news-2005-05

Hans Müller said:
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 ?!

Standard TCP connection, forwarded via stunnel or ssh, Should be no brainer if the
COBOL side is running on a reasonably modern unix.


--
-----------------------------------------------------------
| Radovan Garabík http://kassiopeia.juls.savba.sk/~garabik/ |
| __..--^^^--..__ garabik @ kassiopeia.juls.savba.sk |
-----------------------------------------------------------
Antivirus alert: file .signature infected by signature virus.
Hi! I'm a signature virus! Copy me into your signature file to help me spread!
 
B

bobicanprogram

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
 
L

Lawrence D'Oliveiro

Hans Müller said:
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.

Not sure what you mean by "fail save". But I have used protocols built on
this sort of framework

<http://codecodex.com/wiki/index.php?title=Simple_Chunk_Protocol_Format>
<http://codecodex.com/wiki/index.php?title=Simple_Chunk_Authentication_Protocol>
<http://codecodex.com/wiki/index.php?title=Simple_Chunk_Encryption_Protocol>

in several projects now.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top