-
Notifications
You must be signed in to change notification settings - Fork 5
Closed
Labels
developmentStandard developmentStandard development
Description
The next problem to figure out is how the client and agent, it looks like there are a couple of ways to achieve this:
- Via gRPC
- Via NodeJS net module which has support for windows and unix
Discovery between the agent and the client also needs to be figured out, here are some ideas:
- Rely on a shared path (this shared path must be user-specific) like
/run/user/1000/polykey/socket(this only exists on Linux, find equivalent on Mac/Windows). - Rely on a unix domain socket which is also on a shared path that is user-specific. This relies on a shared path existing.
Using UDS is really about getting access to the OS security capabilities to securing the comms. The nodejs TLS module can also do UDS as its an abstraction over the net module, you just have to specify the path in tls.connect. I'm just not sure about the server and tls.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
developmentStandard developmentStandard development