trilemma-dev / SecureXPC

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

Complete refactor of shared memory support #119

Closed jakaplan closed 1 year ago

jakaplan commented 1 year ago

Marks all related classes as experimental as the shape of this is likely to continue to evolve and it's rather plausible there are lurking issues.

Overview of how things are now structured:

Note: The ergonomics of using SharedTrivial when there's sandboxing isn't great, will look into further improvements to this as a follow up PR. Loose thoughts are a static property for the default app group to use which can be set on SharedSemaphore.