]> git.corax.cc Git - toolbox/commit
include/ipc: Add module for messaging-based IPC
authorMatthias Kruk <m@m10k.eu>
Sun, 13 Jun 2021 23:57:28 +0000 (08:57 +0900)
committerMatthias Kruk <m@m10k.eu>
Mon, 14 Jun 2021 00:08:17 +0000 (09:08 +0900)
commit4eb9539b76f501bcdb6b4622d7e6696a27f24587
treef7fd175e223d7b69522488b8df9a286d9444c58f
parentf946a8bdffcbca6ee5a4bf657603a0e6334e4e33
include/ipc: Add module for messaging-based IPC

This commit adds the ipc module, which implements a messaging-based
approach to IPC using JSON objects that are transmitted via queues.
The current implementation authenticates messages using GPG, which
allows simple GPG-based authorization schemes to be implemented on
top of this mechanism.
This commit includes a JSON Schema for toolbox IPC messages and a
Python script for validation, both of which will be integrated into
the test suite.
include/ipc.sh [new file with mode: 0644]
spec/ipc_msg.schema.json [new file with mode: 0644]
spec/validate.py [new file with mode: 0755]