-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
Description
From Simo Sorce :
it would probably be very nice to build
also a socket type interface on top of the wrapping primitives.
Something like:
gd = client.open('service@name', socket) # socket is a tcp socket or other where you pass messages. (gd for gss descruptor :-)
gd.send(xyz)
resp = gd.recv()Then gd.send() and gd.recv() would send/receive encrypted message
transparently. It would be great if this allowed someone to build an
interface that can transparently switch between a raw TCP (or whatever)
socket and a GSSAPI protected socket by simply passing on or the other
fd in python so that it becomes completely transparent to the rest of
the app.