Skip to content

conn: add Start() for pre-authenticated transports#434

Open
mischief wants to merge 1 commit into
godbus:masterfrom
mischief:authstart
Open

conn: add Start() for pre-authenticated transports#434
mischief wants to merge 1 commit into
godbus:masterfrom
mischief:authstart

Conversation

@mischief

Copy link
Copy Markdown
Contributor

adds a Start() method that begins message dispatch without performing the dbus auth handshake. this enables peer-to-peer dbus communication over trusted transports like unix socketpairs between cooperating processes.

Start() also negotiates unix fd passing if the transport supports it.

includes a test demonstrating bidirectional method calls over a socketpair with no auth and no bus daemon.

in the future it might make sense to have a way to implement the server side of auth, but for now just kicking off inWorker makes a usable socketpair Conn.

adds a Start() method that begins message dispatch without performing
the dbus auth handshake. this enables peer-to-peer dbus communication
over trusted transports like unix socketpairs between cooperating
processes.

Start() also negotiates unix fd passing if the transport supports it.

includes a test demonstrating bidirectional method calls over a
socketpair with no auth and no bus daemon.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant