]> git.corax.cc Git - toolbox/commit
include/ipc: Ensure complete IPC message is signed
authorMatthias Kruk <m@m10k.eu>
Thu, 17 Jun 2021 00:09:42 +0000 (09:09 +0900)
committerMatthias Kruk <m@m10k.eu>
Thu, 17 Jun 2021 00:09:42 +0000 (09:09 +0900)
commitdb94eeb09b3ea783634f93b227a35b2c3aadf03f
tree9159819f5c028931d954b1b5eae2f550eded72aa
parentfbe07ff1240eab39880b88f5ca14ba934f321d59
include/ipc: Ensure complete IPC message is signed

The current implementation does not sign fields other than the user
data in IPC messages. This makes it impossible to recognize if the
other fields have been tampered with.
This commit addresses the issue by wrapping the IPC message in an
envelope and putting the signature of the IPC message in the envelope.
This makes sure there is no unsigned data in the communication.
include/ipc.sh