trilemma-dev / SecureXPC

A simple and secure XPC framework for Swift
MIT License
73 stars 15 forks source link

Adds namespacing to `XPCRoute`, adds `serverIdentity` to `XPCClient` #103

Closed jakaplan closed 2 years ago

jakaplan commented 2 years ago

Routes are now namespace allowing for the framework to have its own routes that cannot conflict with routes provided by end users of the API.

This functionality is then used to introduce a noop route which the client calls in order to obtain the identity of the server. This is essentially the client's equivalent of XPCRequestContext.

The intention is to build upon this PR with another one that allows the client to enforce a security requirement on the server.