Skip to content

Provide Socket-Style Interface #19

@DirectXMan12

Description

@DirectXMan12

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions